Errors
Errors
This page contains error variants returned by the Subtensor runtime. Accessible via api.errors.<Pallet>.<ErrorName>.
Generated from Subtensor runtime spec version 492. Connected to: wss://entrypoint-finney.opentensor.ai:443
- adminUtils
- balances
- commitments
- contracts
- crowdloan
- drand
- ethereum
- evm
- grandpa
- hashedAccounts
- limitOrders
- mevShield
- multisig
- preimage
- proxy
- safeMode
- scheduler
- subtensorModule
- sudo
- swap
- system
- utility
adminUtils
BondsMovingAverageMaxReached
- interface:
api.errors.adminUtils.BondsMovingAverageMaxReached - summary: The maximum value for bonds moving average is reached
CollateralDrainRatioOutOfBounds
- interface:
api.errors.adminUtils.CollateralDrainRatioOutOfBounds - summary: The collateral drain ratio must be positive and at most the settable maximum.
CollateralLockShareTooHigh
- interface:
api.errors.adminUtils.CollateralLockShareTooHigh - summary: The collateral lock share exceeds the settable maximum (95% of the registration price).
Deprecated
- interface:
api.errors.adminUtils.Deprecated - summary: Call is deprecated
GrandpaChangeDelayMustBeZero
- interface:
api.errors.adminUtils.GrandpaChangeDelayMustBeZero - summary: GRANDPA changes must take effect at the end of the current block.
InvalidValue
- interface:
api.errors.adminUtils.InvalidValue - summary: Bad parameter value
MaxAllowedUidsGreaterThanDefaultMaxAllowedUids
- interface:
api.errors.adminUtils.MaxAllowedUidsGreaterThanDefaultMaxAllowedUids - summary: The maximum allowed UIDs must be less than the default maximum allowed UIDs.
MaxAllowedUIdsLessThanCurrentUIds
- interface:
api.errors.adminUtils.MaxAllowedUIdsLessThanCurrentUIds - summary: The maximum number of subnet validators must be more than the current number of UIDs already in the subnet.
MaxAllowedUidsLessThanMinAllowedUids
- interface:
api.errors.adminUtils.MaxAllowedUidsLessThanMinAllowedUids - summary: The maximum allowed UIDs must be greater than the minimum allowed UIDs.
MaxValidatorsLargerThanMaxUIds
- interface:
api.errors.adminUtils.MaxValidatorsLargerThanMaxUIds - summary: The maximum number of subnet validators must be less than the maximum number of allowed UIDs in the subnet.
MinAllowedUidsGreaterThanCurrentUids
- interface:
api.errors.adminUtils.MinAllowedUidsGreaterThanCurrentUids - summary: The minimum allowed UIDs must be less than the current number of UIDs in the subnet.
MinAllowedUidsGreaterThanMaxAllowedUids
- interface:
api.errors.adminUtils.MinAllowedUidsGreaterThanMaxAllowedUids - summary: The minimum allowed UIDs must be less than the maximum allowed UIDs.
NegativeSigmoidSteepness
- interface:
api.errors.adminUtils.NegativeSigmoidSteepness - summary: Only root can set negative sigmoid steepness values
NotPermittedOnRootSubnet
- interface:
api.errors.adminUtils.NotPermittedOnRootSubnet - summary: Operation is not permitted on the root network.
POWRegistrationDisabled
- interface:
api.errors.adminUtils.POWRegistrationDisabled - summary: POW Registration has been deprecated
SubnetDoesNotExist
- interface:
api.errors.adminUtils.SubnetDoesNotExist - summary: The subnet does not exist, check the netuid parameter
ValueNotInBounds
- interface:
api.errors.adminUtils.ValueNotInBounds - summary: Value not in allowed bounds.
balances
DeadAccount
- interface:
api.errors.balances.DeadAccount - summary: Beneficiary account must pre-exist.
DeltaZero
- interface:
api.errors.balances.DeltaZero - summary: The delta cannot be zero.
ExistentialDeposit
- interface:
api.errors.balances.ExistentialDeposit - summary: Value too low to create account due to existential deposit.
ExistingVestingSchedule
- interface:
api.errors.balances.ExistingVestingSchedule - summary: A vesting schedule already exists for this account.
Expendability
- interface:
api.errors.balances.Expendability - summary: Transfer/payment would kill account.
InsufficientBalance
- interface:
api.errors.balances.InsufficientBalance - summary: Balance too low to send value.
IssuanceDeactivated
- interface:
api.errors.balances.IssuanceDeactivated - summary: The issuance cannot be modified since it is already deactivated.
LiquidityRestrictions
- interface:
api.errors.balances.LiquidityRestrictions - summary: Account liquidity restrictions prevent withdrawal.
TooManyFreezes
- interface:
api.errors.balances.TooManyFreezes - summary: Number of freezes exceed
MaxFreezes.
TooManyHolds
- interface:
api.errors.balances.TooManyHolds - summary: Number of holds exceed
VariantCountOf<T::RuntimeHoldReason>.
TooManyReserves
- interface:
api.errors.balances.TooManyReserves - summary: Number of named reserves exceed
MaxReserves.
VestingBalance
- interface:
api.errors.balances.VestingBalance - summary: Vesting balance too high to send value.
commitments
AccountNotAllowedCommit
- interface:
api.errors.commitments.AccountNotAllowedCommit - summary: Account is not allowed to make commitments to the chain
SpaceLimitExceeded
- interface:
api.errors.commitments.SpaceLimitExceeded - summary: Space Limit Exceeded for the current interval
TimelockRevealFailedNotAllowed
- interface:
api.errors.commitments.TimelockRevealFailedNotAllowed - summary:
TimelockRevealFailedfields may only be created by the runtime.
TooManyFieldsInCommitmentInfo
- interface:
api.errors.commitments.TooManyFieldsInCommitmentInfo - summary: Account passed too many additional fields to their commitment
UnexpectedUnreserveLeftover
- interface:
api.errors.commitments.UnexpectedUnreserveLeftover - summary: Indicates that unreserve returned a leftover, which is unexpected.
contracts
CannotAddSelfAsDelegateDependency
- interface:
api.errors.contracts.CannotAddSelfAsDelegateDependency - summary: Can not add a delegate dependency to the code hash of the contract itself.
CodeInfoNotFound
- interface:
api.errors.contracts.CodeInfoNotFound - summary: No code info could be found at the supplied code hash.
CodeInUse
- interface:
api.errors.contracts.CodeInUse - summary: Code removal was denied because the code is still in use by at least one contract.
CodeNotFound
- interface:
api.errors.contracts.CodeNotFound - summary: No code could be found at the supplied code hash.
CodeRejected
-
interface:
api.errors.contracts.CodeRejected -
summary: The contract's code was found to be invalid during validation.
The most likely cause of this is that an API was used which is not supported by the node. This happens if an older node is used with a new version of ink!. Try updating your node to the newest available version.
A more detailed error can be found on the node console if debug messages are enabled by supplying
-lruntime::contracts=debug.
CodeTooLarge
- interface:
api.errors.contracts.CodeTooLarge - summary: The code supplied to
instantiate_with_codeexceeds the limit specified in the current schedule.
ContractNotFound
- interface:
api.errors.contracts.ContractNotFound - summary: No contract was found at the specified address.
ContractReverted
- interface:
api.errors.contracts.ContractReverted - summary: The contract ran to completion but decided to revert its storage changes. Please note that this error is only returned from extrinsics. When called directly or via RPC an
Okwill be returned. In this case the caller needs to inspect the flags to determine whether a reversion has taken place.
ContractTrapped
- interface:
api.errors.contracts.ContractTrapped - summary: Contract trapped during execution.
DecodingFailed
- interface:
api.errors.contracts.DecodingFailed - summary: Input passed to a contract API function failed to decode as expected type.
DelegateDependencyAlreadyExists
- interface:
api.errors.contracts.DelegateDependencyAlreadyExists - summary: The contract already depends on the given delegate dependency.
DelegateDependencyNotFound
- interface:
api.errors.contracts.DelegateDependencyNotFound - summary: The dependency was not found in the contract's delegate dependencies.
DuplicateContract
- interface:
api.errors.contracts.DuplicateContract - summary: A contract with the same AccountId already exists.
Indeterministic
- interface:
api.errors.contracts.Indeterministic - summary: An indeterministic code was used in a context where this is not permitted.
InputForwarded
- interface:
api.errors.contracts.InputForwarded - summary:
seal_callforwarded this contracts input. It therefore is no longer available.
InvalidCallFlags
- interface:
api.errors.contracts.InvalidCallFlags - summary: Invalid combination of flags supplied to
seal_callorseal_delegate_call.
InvalidSchedule
- interface:
api.errors.contracts.InvalidSchedule - summary: Invalid schedule supplied, e.g. with zero weight of a basic operation.
MaxCallDepthReached
- interface:
api.errors.contracts.MaxCallDepthReached - summary: Performing a call was denied because the calling depth reached the limit of what is specified in the schedule.
MaxDelegateDependenciesReached
- interface:
api.errors.contracts.MaxDelegateDependenciesReached - summary: The contract has reached its maximum number of delegate dependencies.
MigrationInProgress
- interface:
api.errors.contracts.MigrationInProgress - summary: A pending migration needs to complete before the extrinsic can be called.
NoChainExtension
- interface:
api.errors.contracts.NoChainExtension - summary: The chain does not provide a chain extension. Calling the chain extension results in this error. Note that this usually shouldn't happen as deploying such contracts is rejected.
NoMigrationPerformed
- interface:
api.errors.contracts.NoMigrationPerformed - summary: Migrate dispatch call was attempted but no migration was performed.
OutOfBounds
- interface:
api.errors.contracts.OutOfBounds - summary: A buffer outside of sandbox memory was passed to a contract API function.
OutOfGas
- interface:
api.errors.contracts.OutOfGas - summary: The executed contract exhausted its gas limit.
OutOfTransientStorage
- interface:
api.errors.contracts.OutOfTransientStorage - summary: Can not add more data to transient storage.
OutputBufferTooSmall
- interface:
api.errors.contracts.OutputBufferTooSmall - summary: The output buffer supplied to a contract API call was too small.
RandomSubjectTooLong
- interface:
api.errors.contracts.RandomSubjectTooLong - summary: The subject passed to
seal_randomexceeds the limit.
ReentranceDenied
- interface:
api.errors.contracts.ReentranceDenied - summary: A call tried to invoke a contract that is flagged as non-reentrant. The only other cause is that a call from a contract into the runtime tried to call back into
pallet-contracts. This would make the whole pallet reentrant with regard to contract code execution which is not supported.
StateChangeDenied
- interface:
api.errors.contracts.StateChangeDenied - summary: A contract attempted to invoke a state modifying API while being in read-only mode.
StorageDepositLimitExhausted
- interface:
api.errors.contracts.StorageDepositLimitExhausted - summary: More storage was created than allowed by the storage deposit limit.
StorageDepositNotEnoughFunds
- interface:
api.errors.contracts.StorageDepositNotEnoughFunds - summary: Origin doesn't have enough balance to pay the required storage deposits.
TerminatedInConstructor
-
interface:
api.errors.contracts.TerminatedInConstructor -
summary: A contract self destructed in its constructor.
This can be triggered by a call to
seal_terminate.
TerminatedWhileReentrant
- interface:
api.errors.contracts.TerminatedWhileReentrant - summary: Termination of a contract is not allowed while the contract is already on the call stack. Can be triggered by
seal_terminate.
TooManyTopics
- interface:
api.errors.contracts.TooManyTopics - summary: The amount of topics passed to
seal_deposit_eventsexceeds the limit.
TransferFailed
- interface:
api.errors.contracts.TransferFailed - summary: Performing the requested transfer failed. Probably because there isn't enough free balance in the sender's account.
ValueTooLarge
- interface:
api.errors.contracts.ValueTooLarge - summary: The size defined in
T::MaxValueSizewas exceeded.
XCMDecodeFailed
- interface:
api.errors.contracts.XCMDecodeFailed - summary: Failed to decode the XCM program.
crowdloan
AlreadyFinalized
- interface:
api.errors.crowdloan.AlreadyFinalized - summary: The crowdloan has already been finalized.
AlreadyFinalizing
- interface:
api.errors.crowdloan.AlreadyFinalizing - summary: A crowdloan finalization is already in progress.
BlockDurationTooLong
- interface:
api.errors.crowdloan.BlockDurationTooLong - summary: The block duration is too long.
BlockDurationTooShort
- interface:
api.errors.crowdloan.BlockDurationTooShort - summary: The crowdloan block duration is too short.
CallUnavailable
- interface:
api.errors.crowdloan.CallUnavailable - summary: Call to dispatch was not found in the preimage storage.
CannotEndInPast
- interface:
api.errors.crowdloan.CannotEndInPast - summary: The crowdloan cannot end in the past.
CapNotRaised
- interface:
api.errors.crowdloan.CapNotRaised - summary: The crowdloan cap has not been raised.
CapRaised
- interface:
api.errors.crowdloan.CapRaised - summary: The crowdloan cap has been fully raised.
CapTooLow
- interface:
api.errors.crowdloan.CapTooLow - summary: The crowdloan cap is too low.
ContributionPeriodEnded
- interface:
api.errors.crowdloan.ContributionPeriodEnded - summary: The contribution period has ended.
ContributionPeriodNotEnded
- interface:
api.errors.crowdloan.ContributionPeriodNotEnded - summary: The crowdloan contribution period has not ended yet.
ContributionTooLow
- interface:
api.errors.crowdloan.ContributionTooLow - summary: The contribution is too low.
DepositCannotBeWithdrawn
- interface:
api.errors.crowdloan.DepositCannotBeWithdrawn - summary: The deposit cannot be withdrawn from the crowdloan.
DepositTooLow
- interface:
api.errors.crowdloan.DepositTooLow - summary: The crowdloan initial deposit is too low.
FundsNotSettled
- interface:
api.errors.crowdloan.FundsNotSettled - summary: The finalization call did not spend the full amount raised.
InsufficientBalance
- interface:
api.errors.crowdloan.InsufficientBalance - summary: The account does not have enough balance to pay for the initial deposit/contribution.
InvalidCrowdloanId
- interface:
api.errors.crowdloan.InvalidCrowdloanId - summary: The crowdloan id is invalid.
InvalidFinalizationConfig
- interface:
api.errors.crowdloan.InvalidFinalizationConfig - summary: Exactly one of call or target address must be provided.
InvalidOrigin
- interface:
api.errors.crowdloan.InvalidOrigin - summary: The origin of this call is invalid.
MaxContributionReached
- interface:
api.errors.crowdloan.MaxContributionReached - summary: The contributor has already reached the maximum contribution.
MaxContributorsReached
- interface:
api.errors.crowdloan.MaxContributorsReached - summary: The maximum number of contributors has been reached.
MaximumContributionTooLow
- interface:
api.errors.crowdloan.MaximumContributionTooLow - summary: The maximum contribution is too low.
MinimumContributionTooHigh
- interface:
api.errors.crowdloan.MinimumContributionTooHigh - summary: The minimum contribution is too high.
MinimumContributionTooLow
- interface:
api.errors.crowdloan.MinimumContributionTooLow - summary: The minimum contribution is too low.
NoContribution
- interface:
api.errors.crowdloan.NoContribution - summary: The contributor has no contribution for this crowdloan.
NotReadyToDissolve
- interface:
api.errors.crowdloan.NotReadyToDissolve - summary: The crowdloan is not ready to be dissolved, it still has contributions.
Overflow
- interface:
api.errors.crowdloan.Overflow - summary: An overflow occurred.
Underflow
- interface:
api.errors.crowdloan.Underflow - summary: An underflow occurred.
drand
DrandConnectionFailure
- interface:
api.errors.drand.DrandConnectionFailure - summary: failed to connect to the
InvalidRoundNumber
- interface:
api.errors.drand.InvalidRoundNumber - summary: the round number did not increment
NoneValue
- interface:
api.errors.drand.NoneValue - summary: The value retrieved was
Noneas no value was previously set.
PulseVerificationError
- interface:
api.errors.drand.PulseVerificationError - summary: the pulse could not be verified
StorageOverflow
- interface:
api.errors.drand.StorageOverflow - summary: There was an attempt to increment the value in storage over
u32::MAX.
UnverifiedPulse
- interface:
api.errors.drand.UnverifiedPulse - summary: the pulse is invalid
ethereum
InvalidSignature
- interface:
api.errors.ethereum.InvalidSignature - summary: Signature is invalid.