Type Definition pallet_circuit::pallet::FullSideEffects
source · pub type FullSideEffects<T> = StorageMap<_GeneratedPrefixForStorageFullSideEffects<T>, Identity, XExecSignalId<T>, Vec<Vec<FullSideEffect<<T as Config>::AccountId, BlockNumberFor<T>, BalanceOf<T>>>>, OptionQuery>;
Expand description
Current Circuit’s context of active full side effects (requested + confirmation proofs) Lifecycle tips: FSX entries are created at the time of Xtx submission, where still uncertain whether Xtx will be accepted for execution (picked up in the bidding process).
- @Circuit::Requested: create FSX array without confirmations or bids
- @Circuit::Bonded -> Ready: add bids to FSX
- @Circuit::PendingExecution -> add more confirmations at receipt
If no bids have been received @Circuit::PendingBidding, FSX entries will stay - just without the Bid. The details on Xtx status might be played back by looking up with the SFX2XTXLinksMap
Storage type is [StorageMap
] with key type XExecSignalId < T >
and value type Vec < Vec < FullSideEffect < < T as frame_system :: Config > :: AccountId, BlockNumberFor < T >, BalanceOf < T >, >, >, >
.