Skip to content
Snippets Groups Projects
Select Git revision
  • a280bf4ddd16bf1fbc0e629bc035f765de94e150
  • master default protected
  • network/gtest-1000 protected
  • upgradable-multisig
  • runtime/gtest-1000
  • network/gdev-800 protected
  • cgeek/issue-297-cpu
  • gdev-800-tests
  • update-docker-compose-rpc-squid-names
  • fix-252
  • 1000i100-test
  • hugo/tmp-0.9.1
  • network/gdev-803 protected
  • hugo/endpoint-gossip
  • network/gdev-802 protected
  • hugo/distance-precompute
  • network/gdev-900 protected
  • tuxmain/anonymous-tx
  • debug/podman
  • hugo/195-doc
  • hugo/195-graphql-schema
  • gtest-1000-0.11.1 protected
  • gtest-1000-0.11.0 protected
  • gtest-1000 protected
  • gdev-900-0.10.1 protected
  • gdev-900-0.10.0 protected
  • gdev-900-0.9.2 protected
  • gdev-800-0.8.0 protected
  • gdev-900-0.9.1 protected
  • gdev-900-0.9.0 protected
  • gdev-803 protected
  • gdev-802 protected
  • runtime-801 protected
  • gdev-800 protected
  • runtime-800-bis protected
  • runtime-800 protected
  • runtime-800-backup protected
  • runtime-701 protected
  • runtime-700 protected
  • runtime-600 protected
  • runtime-500 protected
41 results

runtime-errors.md

Blame
    • Benjamin Gallois's avatar
      6cf445b5
      Harmonize and document events errors and calls (!200) · 6cf445b5
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix clippy errors
      
      * add Invalid case in distance status
      
      * fix events pallet-membership
      
      * fix events pallet-certification
      
      * update docs
      
      * update metadata and docs
      
      * refactor errors pallet-distance
      
      * fix distance error naming pallet duniter-wot
      
      * add pallet membership documentation
      
      * refactor acquisition and renewal pallet-membership
      
      * refactor expiration and revokation pallet-membership
      
      * refactor calls pallet-identity
      
      * add pallet standard guidelines
      
      * refactor events struct pallet-membership
      
      * add events pallet-distance
      
      * refactor documentation pallet-quota
      
      * fix pallet-quota features
      
      * refactor documentation pallet-provide-randomness
      
      * refactor documentation pallet-oneshot-account
      
      * refactor documentation pallet-offences
      
      * refactor documentation pallet-membership
      
      * refactor documentation pallet-identity
      
      * refactor documentation pallet-duniter-wot
      
      * refactor documentation pallet-duniter-account
      
      * refactor documentation pallet-distance
      
      * refactor documentation pallet-certification
      
      * refactor documentation pallet-authority-members
      
      * refactor error naming pallet-provide-randomness
      
      * remove unused errors pallet-membership
      
      * remove unused errors pallet-identity
      
      * refactor events and errors pallet-distance
      
      * refactor events and errors pallet-authority-members
      6cf445b5
      History
      Harmonize and document events errors and calls (!200)
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix clippy errors
      
      * add Invalid case in distance status
      
      * fix events pallet-membership
      
      * fix events pallet-certification
      
      * update docs
      
      * update metadata and docs
      
      * refactor errors pallet-distance
      
      * fix distance error naming pallet duniter-wot
      
      * add pallet membership documentation
      
      * refactor acquisition and renewal pallet-membership
      
      * refactor expiration and revokation pallet-membership
      
      * refactor calls pallet-identity
      
      * add pallet standard guidelines
      
      * refactor events struct pallet-membership
      
      * add events pallet-distance
      
      * refactor documentation pallet-quota
      
      * fix pallet-quota features
      
      * refactor documentation pallet-provide-randomness
      
      * refactor documentation pallet-oneshot-account
      
      * refactor documentation pallet-offences
      
      * refactor documentation pallet-membership
      
      * refactor documentation pallet-identity
      
      * refactor documentation pallet-duniter-wot
      
      * refactor documentation pallet-duniter-account
      
      * refactor documentation pallet-distance
      
      * refactor documentation pallet-certification
      
      * refactor documentation pallet-authority-members
      
      * refactor error naming pallet-provide-randomness
      
      * remove unused errors pallet-membership
      
      * remove unused errors pallet-identity
      
      * refactor events and errors pallet-distance
      
      * refactor events and errors pallet-authority-members
    runtime-errors.md 24.23 KiB

    Runtime errors

    There are 178 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.
      • DistanceNotOk - 1 Distance has not received a positive evaluation.
      • IdtyNotAllowedToRequestMembership - 2 Identity is not allowed to request membership.
      • IdtyNotAllowedToRenewMembership - 3 Identity not allowed to renew membership.
      • IdtyCreationPeriodNotRespected - 4 Identity creation period not respected.
      • NotEnoughReceivedCertsToCreateIdty - 5 Insufficient received certifications to create identity.
      • MaxEmittedCertsReached - 6 Maximum number of emitted certifications reached.
      • NotAllowedToChangeIdtyAddress - 7 Not allowed to change identity address.
      • NotAllowedToRemoveIdty - 8 Not allowed to remove identity.
      • IssuerCanNotEmitCert - 9 Issuer cannot emit a certification because it is not validated.
      • CertToUndefined - 10 Cannot issue a certification to an identity without membership or pending membership.
      • IdtyNotFound - 11 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.
      • IdtyNotConfirmedByOwner - 6 Identity not confirmed by its owner.
      • IdtyNotFound - 7 Identity not found.
      • InvalidSignature - 8 Invalid payload signature.
      • InvalidRevocationKey - 9 Invalid revocation key.
      • NotRespectIdtyCreationPeriod - 10 Identity creation period is not respected.
      • OwnerKeyAlreadyRecentlyChanged - 11 Owner key already changed recently.
      • OwnerKeyAlreadyUsed - 12 Owner key already used.
      • ProhibitedToRevertToAnOldKey - 13 Reverting to an old key is prohibited.
    • Membership - 42
      • IdtyIdNotFound - 0 Identity ID not found.
      • MembershipAlreadyAcquired - 1 Membership already acquired.
      • MembershipAlreadyRequested - 2 Membership already requested.
      • MembershipNotFound - 3 Membership not found.
      • MembershipRequestNotFound - 4 Membership request 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.
      • DistanceNotOk - 1 Distance has not received a positive evaluation.
      • IdtyNotAllowedToRequestMembership - 2 Identity is not allowed to request membership.
      • IdtyNotAllowedToRenewMembership - 3 Identity not allowed to renew membership.
      • IdtyCreationPeriodNotRespected - 4 Identity creation period not respected.
      • NotEnoughReceivedCertsToCreateIdty - 5 Insufficient received certifications to create identity.
      • MaxEmittedCertsReached - 6 Maximum number of emitted certifications reached.
      • NotAllowedToChangeIdtyAddress - 7 Not allowed to change identity address.
      • NotAllowedToRemoveIdty - 8 Not allowed to remove identity.
      • IssuerCanNotEmitCert - 9 Issuer cannot emit a certification because it is not validated.
      • CertToUndefined - 10 Cannot issue a certification to an identity without membership or pending membership.
      • IdtyNotFound - 11 Issuer or receiver not found.
    • SmithMembership - 52
      • IdtyIdNotFound - 0 Identity ID not found.
      • MembershipAlreadyAcquired - 1 Membership already acquired.
      • MembershipAlreadyRequested - 2 Membership already requested.
      • MembershipNotFound - 3 Membership not found.
      • MembershipRequestNotFound - 4 Membership request 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.