Skip to content
Snippets Groups Projects
  • Hugo Trentesaux's avatar
    6b598084
    refac membership (!215) · 6b598084
    Hugo Trentesaux authored
    * delete notes.txt file
    
    * update notes with links to issues
    
    * update comment according to #159
    
    * doc idtystatus in readme
    
    * update weightinfo and benchmarks accordingly
    
    * add benchmark
    
    * remove remove_identity_consumers
    
    * remove force_remove_identity call
    
    * fix todo in test
    
    * update doc
    
    - remove request_membership
    - remove validate_identity
    
    * fix tests according to new MembershipRemovalReason
    
    * add membership removal reasons
    
    and clean up membership internal functions
    
    * remove check_remove_identity
    
    * build live tests
    
    (but no current network to check them against)
    
    * clippy :man_facepalming:
    
    * add wot tests related to issue #136
    
    * refac certification creation checks
    
    * refac identity creation checks
    
    * test benchmark ok
    
    * more precise error messages
    
    * check benchmarks ok
    
    * cargo cucumber ok
    
    * cargo test workspace ok
    
    * cargo test workspace quasi ok
    
    * cargo check all tests
    
    * cargo check all
    
    * remove IdtyEvent change owner key
    
    * remove removal other reason
    
    * refac revocation and removal reason
    
    * wip
    
    * refac
    
    * refac scheduling (tests ok)
    
    * add *Period
    
    * cargo test identity ok
    
    * remove IdtyEvent::Validated
    
    * cargo test wot ok
    
    * cargo test wot ok
    
    (one fails but fot the good reason)
    
    * cargo test membership ok
    
    * cargo check wot tests
    
    * cargo check identity tests
    
    * cargo check membership tests
    
    * also remove validate trait
    
    * remove validate_identity
    
    * refac identity status to allow more fine-grain control
    
    * remove unused trait
    
    * cargo check ok
    
    * remove indentity confirmation constraints
    
    * remove request from membership primitives
    
    * remove request_membership from lib.rs
    6b598084
    History
    refac membership (!215)
    Hugo Trentesaux authored
    * delete notes.txt file
    
    * update notes with links to issues
    
    * update comment according to #159
    
    * doc idtystatus in readme
    
    * update weightinfo and benchmarks accordingly
    
    * add benchmark
    
    * remove remove_identity_consumers
    
    * remove force_remove_identity call
    
    * fix todo in test
    
    * update doc
    
    - remove request_membership
    - remove validate_identity
    
    * fix tests according to new MembershipRemovalReason
    
    * add membership removal reasons
    
    and clean up membership internal functions
    
    * remove check_remove_identity
    
    * build live tests
    
    (but no current network to check them against)
    
    * clippy :man_facepalming:
    
    * add wot tests related to issue #136
    
    * refac certification creation checks
    
    * refac identity creation checks
    
    * test benchmark ok
    
    * more precise error messages
    
    * check benchmarks ok
    
    * cargo cucumber ok
    
    * cargo test workspace ok
    
    * cargo test workspace quasi ok
    
    * cargo check all tests
    
    * cargo check all
    
    * remove IdtyEvent change owner key
    
    * remove removal other reason
    
    * refac revocation and removal reason
    
    * wip
    
    * refac
    
    * refac scheduling (tests ok)
    
    * add *Period
    
    * cargo test identity ok
    
    * remove IdtyEvent::Validated
    
    * cargo test wot ok
    
    * cargo test wot ok
    
    (one fails but fot the good reason)
    
    * cargo test membership ok
    
    * cargo check wot tests
    
    * cargo check identity tests
    
    * cargo check membership tests
    
    * also remove validate trait
    
    * remove validate_identity
    
    * refac identity status to allow more fine-grain control
    
    * remove unused trait
    
    * cargo check ok
    
    * remove indentity confirmation constraints
    
    * remove request from membership primitives
    
    * remove request_membership from lib.rs
runtime-errors.md 25.21 KiB

Runtime errors

There are 186 errors from 37 pallets.

  • System - 0
    • InvalidSpecName - 0 The name of specification does not match between the current runtime and the new runtime.
    • SpecVersionNeedsToIncrease - 1 The specification version is not allowed to decrease between the current runtime and the new runtime.
    • FailedToExtractRuntimeVersion - 2 Failed to extract the runtime version from the new runtime.

      Either calling Core_version or decoding RuntimeVersion failed.

    • NonDefaultComposite - 3 Suicide called when the account has non-default composite data.
    • NonZeroRefCount - 4 There is a non-zero reference count preventing the account from being purged.
    • CallFiltered - 5 The origin filter prevent the call to be dispatched.
  • Account - 1
  • Scheduler - 2
    • FailedToSchedule - 0 Failed to schedule a call
    • NotFound - 1 Cannot find the scheduled call.
    • TargetBlockNumberInPast - 2 Given target block number is in the past.
    • RescheduleNoChange - 3 Reschedule failed because it does not change scheduled time.
    • Named - 4 Attempt to use a non-named function on a named task.
  • Babe - 3
    • InvalidEquivocationProof - 0 An equivocation proof provided as part of an equivocation report is invalid.
    • InvalidKeyOwnershipProof - 1 A key ownership proof provided as part of an equivocation report is invalid.
    • DuplicateOffenceReport - 2 A given equivocation report is valid but already previously reported.
    • InvalidConfiguration - 3 Submitted configuration is invalid.
  • Timestamp - 4
  • Parameters - 5
  • Balances - 6
    • VestingBalance - 0 Vesting balance too high to send value.
    • LiquidityRestrictions - 1 Account liquidity restrictions prevent withdrawal.
    • InsufficientBalance - 2 Balance too low to send value.
    • ExistentialDeposit - 3 Value too low to create account due to existential deposit.
    • Expendability - 4 Transfer/payment would kill account.
    • ExistingVestingSchedule - 5 A vesting schedule already exists for this account.
    • DeadAccount - 6 Beneficiary account must pre-exist.
    • TooManyReserves - 7 Number of named reserves exceed `MaxReserves`.
    • TooManyHolds - 8 Number of holds exceed `MaxHolds`.
    • TooManyFreezes - 9 Number of freezes exceed `MaxFreezes`.
  • TransactionPayment - 32
  • OneshotAccount - 7
    • BlockHeightInFuture - 0 Block height is in the future.
    • BlockHeightTooOld - 1 Block height is too old.
    • DestAccountNotExist - 2 Destination account does not exist.
    • ExistentialDeposit - 3 Destination account has a balance less than the existential deposit.
    • InsufficientBalance - 4 Source account has insufficient balance.
    • OneshotAccountAlreadyCreated - 5 Destination oneshot account already exists.
    • OneshotAccountNotExist - 6 Source oneshot account does not exist.
  • Quota - 66
  • AuthorityMembers - 10
    • AlreadyIncoming - 0 Member already incoming
    • AlreadyOnline - 1 Member already online
    • AlreadyOutgoing - 2 Member already outgoing
    • MemberIdNotFound - 3 Owner key is invalid as a member.
    • MemberBlacklisted - 4 Member is blacklisted
    • MemberNotBlacklisted - 5 Member is not blacklisted
    • MemberNotFound - 6 Member not found
    • NotOnlineNorIncoming - 7 Neither online nor scheduled
    • NotMember - 8 Not member
    • SessionKeysNotProvided - 9 Session keys not provided
    • TooManyAuthorities - 10 Too many authorities.
  • Authorship - 11
  • Offences - 12
  • Historical - 13
  • Session - 14
    • InvalidProof - 0 Invalid ownership proof.
    • NoAssociatedValidatorId - 1 No associated validator ID for account.
    • DuplicatedKey - 2 Registered duplicate key.
    • NoKeys - 3 No keys are associated with this account.
    • NoAccount - 4 Key setting account is not live, so it's impossible to associate keys.
  • Grandpa - 15
    • PauseFailed - 0 Attempt to signal GRANDPA pause when the authority set isn't live (either paused or already pending pause).
    • ResumeFailed - 1 Attempt to signal GRANDPA resume when the authority set isn't paused (either live or already pending resume).
    • ChangePending - 2 Attempt to signal GRANDPA change with one already pending.
    • TooSoon - 3 Cannot signal forced change so soon after last.
    • InvalidKeyOwnershipProof - 4 A key ownership proof provided as part of an equivocation report is invalid.
    • InvalidEquivocationProof - 5 An equivocation proof provided as part of an equivocation report is invalid.
    • DuplicateOffenceReport - 6 A given equivocation report is valid but already previously reported.
  • ImOnline - 16
    • InvalidKey - 0 Non existent public key.
    • DuplicatedHeartbeat - 1 Duplicated heartbeat.
  • AuthorityDiscovery - 17
  • Sudo - 20
    • RequireSudo - 0 Sender must be the Sudo account
  • UpgradeOrigin - 21
  • Preimage - 22
    • TooBig - 0 Preimage is too large to store on-chain.
    • AlreadyNoted - 1 Preimage has already been noted on-chain.
    • NotAuthorized - 2 The user is not authorized to perform this action.
    • NotNoted - 3 The preimage cannot be removed since it has not yet been noted.
    • Requested - 4 A preimage may not be removed when there are outstanding requests.
    • NotRequested - 5 The preimage request cannot be removed since no outstanding requests exist.
  • TechnicalCommittee - 23
    • NotMember - 0 Account is not a member
    • DuplicateProposal - 1 Duplicate proposals not allowed
    • ProposalMissing - 2 Proposal must exist
    • WrongIndex - 3 Mismatched index
    • DuplicateVote - 4 Duplicate vote ignored
    • AlreadyInitialized - 5 Members are already initialized!
    • TooEarly - 6 The close call was made too early, before the end of the voting.
    • TooManyProposals - 7 There can only be a maximum of `MaxProposals` active proposals.
    • WrongProposalWeight - 8 The given weight bound for the proposal was too low.
    • WrongProposalLength - 9 The given length bound for the proposal was too low.
  • UniversalDividend - 30
    • AccountNotAllowedToClaimUds - 0 This account is not allowed to claim UDs.
  • Wot - 40
    • NotEnoughCertsToClaimMembership - 0 Insufficient certifications received to claim membership.
    • DistanceIsInvalid - 1 Distance is invalid.
    • DistanceNotEvaluated - 2 Distance is not evaluated.
    • DistanceEvaluationPending - 3 Distance evaluation has been requested but is still pending
    • DistanceEvaluationNotRequested - 4 Distance evaluation has not been requested
    • IdtyNotAllowedToRequestMembership - 5 Identity is not allowed to request membership.
    • IdtyNotAllowedToRenewMembership - 6 Identity not allowed to renew membership.
    • IdtyCreationPeriodNotRespected - 7 Identity creation period not respected.
    • NotEnoughReceivedCertsToCreateIdty - 8 Insufficient received certifications to create identity.
    • MaxEmittedCertsReached - 9 Maximum number of emitted certifications reached.
    • NotAllowedToChangeIdtyAddress - 10 Not allowed to change identity address.
    • NotAllowedToRemoveIdty - 11 Not allowed to remove identity.
    • IssuerNotMember - 12 Issuer cannot emit a certification because it is not member.
    • CertToUnconfirmed - 13 Cannot issue a certification to an unconfirmed identity
    • CertToRevoked - 14 Cannot issue a certification to a revoked identity
    • IdtyNotFound - 15 Issuer or receiver not found.
  • Identity - 41
    • IdtyAlreadyConfirmed - 0 Identity already confirmed.
    • IdtyAlreadyCreated - 1 Identity already created.
    • IdtyAlreadyValidated - 2 Identity already validated.
    • IdtyIndexNotFound - 3 Identity index not found.
    • IdtyNameAlreadyExist - 4 Identity name already exists.
    • IdtyNameInvalid - 5 Invalid identity name.
    • IdtyNotConfirmed - 6 Identity not confirmed by its owner.
    • IdtyNotFound - 7 Identity not found.
    • InvalidSignature - 8 Invalid payload signature.
    • InvalidRevocationKey - 9 Invalid revocation key.
    • IssuerNotMember - 10 Issuer is not member and can not perform this action
    • NotRespectIdtyCreationPeriod - 11 Identity creation period is not respected.
    • OwnerKeyAlreadyRecentlyChanged - 12 Owner key already changed recently.
    • OwnerKeyAlreadyUsed - 13 Owner key already used.
    • ProhibitedToRevertToAnOldKey - 14 Reverting to an old key is prohibited.
    • AlreadyRevoked - 15 Already revoked
    • CanNotRevokeUnconfirmed - 16 Can not revoke identity that never was member
    • CanNotRevokeUnvalidated - 17 Can not revoke identity that never was member
  • Membership - 42
    • IdtyIdNotFound - 0 Identity ID not found.
    • MembershipAlreadyAcquired - 1 Membership already acquired.
    • MembershipNotFound - 2 Membership not found.
  • Cert - 43
    • CannotCertifySelf - 0 Identity cannot certify itself
    • IssuedTooManyCert - 1 Identity has already issued the maximum number of certifications
    • IssuerNotFound - 2 Issuer not found
    • NotEnoughCertReceived - 3 Insufficient certifications received.
    • NotRespectCertPeriod - 4 Identity has issued a certification too recently.
  • Distance - 44
    • AlreadyInEvaluation - 0 Distance is already under evaluation.
    • TooManyEvaluationsByAuthor - 1 Too many evaluations requested by author.
    • TooManyEvaluationsInBlock - 2 Too many evaluations for this block.
    • NoAuthor - 3 No author for this block.
    • NoIdentity - 4 Caller has no identity.
    • QueueFull - 5 Evaluation queue is full.
    • TooManyEvaluators - 6 Too many evaluators in the current evaluation pool.
    • WrongResultLength - 7 Evaluation result has a wrong length.
  • SmithSubWot - 50
    • NotEnoughCertsToClaimMembership - 0 Insufficient certifications received to claim membership.
    • DistanceIsInvalid - 1 Distance is invalid.
    • DistanceNotEvaluated - 2 Distance is not evaluated.
    • DistanceEvaluationPending - 3 Distance evaluation has been requested but is still pending
    • DistanceEvaluationNotRequested - 4 Distance evaluation has not been requested
    • IdtyNotAllowedToRequestMembership - 5 Identity is not allowed to request membership.
    • IdtyNotAllowedToRenewMembership - 6 Identity not allowed to renew membership.
    • IdtyCreationPeriodNotRespected - 7 Identity creation period not respected.
    • NotEnoughReceivedCertsToCreateIdty - 8 Insufficient received certifications to create identity.
    • MaxEmittedCertsReached - 9 Maximum number of emitted certifications reached.
    • NotAllowedToChangeIdtyAddress - 10 Not allowed to change identity address.
    • NotAllowedToRemoveIdty - 11 Not allowed to remove identity.
    • IssuerNotMember - 12 Issuer cannot emit a certification because it is not member.
    • CertToUnconfirmed - 13 Cannot issue a certification to an unconfirmed identity
    • CertToRevoked - 14 Cannot issue a certification to a revoked identity
    • IdtyNotFound - 15 Issuer or receiver not found.
  • SmithMembership - 52
    • IdtyIdNotFound - 0 Identity ID not found.
    • MembershipAlreadyAcquired - 1 Membership already acquired.
    • MembershipNotFound - 2 Membership not found.
  • SmithCert - 53
    • CannotCertifySelf - 0 Identity cannot certify itself
    • IssuedTooManyCert - 1 Identity has already issued the maximum number of certifications
    • IssuerNotFound - 2 Issuer not found
    • NotEnoughCertReceived - 3 Insufficient certifications received.
    • NotRespectCertPeriod - 4 Identity has issued a certification too recently.
  • AtomicSwap - 60
    • AlreadyExist - 0 Swap already exists.
    • InvalidProof - 1 Swap proof is invalid.
    • ProofTooLarge - 2 Proof is too large.
    • SourceMismatch - 3 Source does not match.
    • AlreadyClaimed - 4 Swap has already been claimed.
    • NotExist - 5 Swap does not exist.
    • ClaimActionMismatch - 6 Claim action mismatch.
    • DurationNotPassed - 7 Duration has not yet passed for the swap to be cancelled.
  • Multisig - 61
    • MinimumThreshold - 0 Threshold must be 2 or greater.
    • AlreadyApproved - 1 Call is already approved by this signatory.
    • NoApprovalsNeeded - 2 Call doesn't need any (more) approvals.
    • TooFewSignatories - 3 There are too few signatories in the list.
    • TooManySignatories - 4 There are too many signatories in the list.
    • SignatoriesOutOfOrder - 5 The signatories were provided out of order; they should be ordered.
    • SenderInSignatories - 6 The sender was contained in the other signatories; it shouldn't be.
    • NotFound - 7 Multisig operation not found when attempting to cancel.
    • NotOwner - 8 Only the account that originally created the multisig is able to cancel it.
    • NoTimepoint - 9 No timepoint was given, yet the multisig operation is already underway.
    • WrongTimepoint - 10 A different timepoint was given to the multisig operation that is underway.
    • UnexpectedTimepoint - 11 A timepoint was given, yet no multisig operation is underway.
    • MaxWeightTooLow - 12 The maximum weight information provided was too low.
    • AlreadyStored - 13 The data to be stored is already stored.
  • ProvideRandomness - 62
    • QueueFull - 0 Request randomness queue is full.
  • Proxy - 63
    • TooMany - 0 There are too many proxies registered or too many announcements pending.
    • NotFound - 1 Proxy registration not found.
    • NotProxy - 2 Sender is not a proxy of the account to be proxied.
    • Unproxyable - 3 A call which is incompatible with the proxy type's filter was attempted.
    • Duplicate - 4 Account is already a proxy.
    • NoPermission - 5 Call may not be made by proxy because it may escalate its privileges.
    • Unannounced - 6 Announcement, if made at all, was made too recently.
    • NoSelfProxy - 7 Cannot add self as proxy.
  • Utility - 64
    • TooManyCalls - 0 Too many calls batched.
  • Treasury - 65
    • InsufficientProposersBalance - 0 Proposer's balance is too low.
    • InvalidIndex - 1 No proposal or bounty at that index.
    • TooManyApprovals - 2 Too many approvals in the queue.
    • InsufficientPermission - 3 The spend origin is valid but the amount it is allowed to spend is lower than the amount to be spent.
    • ProposalNotApproved - 4 Proposal has not been approved.