Westend
subscan
Runtime Modules / ElectionProviderMultiPhase
Spec Version:
Events
Name
Lookup
Attributes
SolutionStored1800["ElectionCompute","Option<AccountId>","bool"]
ElectionFinalized1801["ElectionCompute","ElectionScore"]
ElectionFailed1802
Rewarded1803["<T as frame_system::Config>::AccountId","BalanceOf"]
Slashed1804["<T as frame_system::Config>::AccountId","BalanceOf"]
PhaseTransitioned1805["Phase<BlockNumberFor>","Phase<BlockNumberFor>","u32"]
Storage Functions
Name
Type
Round{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
CurrentPhase{"origin":"PlainType","plain_type":"pallet_election_provider_multi_phase:Phase","PlainTypeValue":69}
QueuedSolution{"origin":"PlainType","plain_type":"pallet_election_provider_multi_phase:ReadySolution","PlainTypeValue":656}
Snapshot{"origin":"PlainType","plain_type":"pallet_election_provider_multi_phase:RoundSnapshot","PlainTypeValue":658}
DesiredTargets{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
SnapshotMetadata{"origin":"PlainType","plain_type":"pallet_election_provider_multi_phase:SolutionOrSnapshotSize","PlainTypeValue":270}
SignedSubmissionNextIndex{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
SignedSubmissionIndices{"origin":"PlainType","plain_type":"Vec<Tuple:sp_npos_elections:ElectionScoreU32U32>","PlainTypeValue":661}
SignedSubmissionsMap{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_election_provider_multi_phase:signed:SignedSubmission","keys_id":4,"value_id":664}}
MinimumUntrustedScore{"origin":"PlainType","plain_type":"sp_npos_elections:ElectionScore","PlainTypeValue":68}
Constants
Name
Type
Value
BetterSignedThresholdU3200000000
OffchainRepeatU3225000000
MinerTxPriorityU64ffffffffffffff7f
SignedMaxSubmissionsU3280000000
SignedMaxWeightsp_weights:weight_v2:Weight0b608c9074580113a3703d0ad7a370bd
SignedMaxRefundsU3220000000
SignedRewardBaseU1280010a5d4e80000000000000000000000
SignedDepositByteU12859730700000000000000000000000000
SignedDepositWeightU12800000000000000000000000000000000
MaxWinnersU32e8030000
MinerMaxLengthU3200003600
MinerMaxWeightsp_weights:weight_v2:Weight0b608c9074580113a3703d0ad7a370bd
MinerMaxVotesPerVoterU3210000000
MinerMaxWinnersU32e8030000
Error Types
Name
Docs
PreDispatchEarlySubmissionSubmission was too early.
PreDispatchWrongWinnerCountWrong number of winners presented.
PreDispatchWeakSubmissionSubmission was too weak, score-wise.
SignedQueueFullThe queue was full, and the solution was not better than any of the existing ones.
SignedCannotPayDepositThe origin failed to pay the deposit.
SignedInvalidWitnessWitness data to dispatchable is invalid.
SignedTooMuchWeightThe signed submission consumes too much weight
OcwCallWrongEraOCW submitted solution for wrong round
MissingSnapshotMetadataSnapshot metadata should exist but didn't.
InvalidSubmissionIndex`Self::insert_submission` returned an invalid index.
CallNotAllowedThe call is not allowed at this point.
FallbackFailedThe fallback failed
BoundNotMetSome bound not met
TooManyWinnersSubmitted solution has too many winners
PreDispatchDifferentRoundSubmission was prepared for a different round.