Type Definition t3rn_mini_mock_runtime::FullSideEffects
pub type FullSideEffects<T> = StorageMap<_GeneratedPrefixForStorageFullSideEffects<T>, Identity, <T as Config>::Hash, Vec<Vec<FullSideEffect<<T as Config>::AccountId, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Global>, Global>, OptionQuery, GetDefault, GetDefault>;
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 >, >, >, >
.