subscan
Runtime Modules / ElectionProviderMultiPhase
Spec Version:
Call Functions
Storage Functions
Name
Type
Round{"origin":"PlainType","plain_type":"u32"}
CurrentPhase{"origin":"PlainType","plain_type":"Phase<BlockNumber>"}
QueuedSolution{"origin":"PlainType","plain_type":"ReadySolution<AccountId>"}
Snapshot{"origin":"PlainType","plain_type":"RoundSnapshot<AccountId>"}
DesiredTargets{"origin":"PlainType","plain_type":"u32"}
SnapshotMetadata{"origin":"PlainType","plain_type":"SolutionOrSnapshotSize"}
SignedSubmissionNextIndex{"origin":"PlainType","plain_type":"u32"}
SignedSubmissionIndices{"origin":"PlainType","plain_type":"SubmissionIndicesOf"}
SignedSubmissionsMap{"origin":"MapType","map_type":{"key":"u32","hasher":"Twox64Concat","value":"SignedSubmissionOf","isLinked":false}}
MinimumUntrustedScore{"origin":"PlainType","plain_type":"ElectionScore"}
Constants
Name
Type
Value
UnsignedPhaseBlockNumber0x2c010000
SignedPhaseBlockNumber0x2c010000
SolutionImprovementThresholdPerbill0x20a10700
OffchainRepeatBlockNumber0x05000000
MinerTxPriorityTransactionPriority0x65666666666666e6
MinerMaxIterationsu320x0a000000
MinerMaxWeightWeight0xc0449a2a5c020000
SignedMaxSubmissionsu320x10000000
SignedMaxWeightWeight0xc0449a2a5c020000
SignedRewardBaseBalanceOf0x0010a5d4e80000000000000000000000
SignedDepositBaseBalanceOf0x00b864d9450000000000000000000000
SignedDepositByteBalanceOf0x5cb2ec22000000000000000000000000
SignedDepositWeightBalanceOf0x00000000000000000000000000000000
MinerMaxLengthu320x00003600
Error Types
Name
Docs
PreDispatchEarlySubmission Submission was too early.
PreDispatchWrongWinnerCount Wrong number of winners presented.
PreDispatchWeakSubmission Submission was too weak, score-wise.
SignedQueueFull The queue was full, and the solution was not better than any of the existing ones.
SignedCannotPayDeposit The origin failed to pay the deposit.
SignedInvalidWitness Witness data to dispatchable is invalid.
SignedTooMuchWeight The signed submission consumes too much weight
OcwCallWrongEra OCW submitted solution for wrong round
MissingSnapshotMetadata Snapshot metadata should exist but didn't.
InvalidSubmissionIndex `Self::insert_submission` returned an invalid index.
CallNotAllowed The call is not allowed at this point.