Name | Lookup | Parameters | |
|---|---|---|---|
| eth_transact | 5a00 | 1 | |
| call | 5a01 | 5 | |
| instantiate | 5a02 | 6 | |
| instantiate_with_code | 5a03 | 6 | |
| eth_instantiate_with_code | 5a0a | 8 | |
| eth_call | 5a0b | 8 | |
| eth_substrate_call | 5a0c | 2 | |
| upload_code | 5a04 | 2 | |
| remove_code | 5a05 | 1 | |
| set_code | 5a06 | 2 | |
| map_account | 5a07 | - | |
| unmap_account | 5a08 | - | |
| dispatch_as_fallback_account | 5a09 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ContractEmitted | 5a00 | ["H160","Bytes","Vec<H256>"] | |
| Instantiated | 5a01 | ["H160","H160"] | |
| EthExtrinsicRevert | 5a02 | ["DispatchError"] |
Name | Type | |
|---|---|---|
| PristineCode | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":13,"value_id":14}} | |
| CodeInfoOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_revive:vm:CodeInfo","keys_id":13,"value_id":1010}} | |
| AccountInfoOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"pallet_revive:storage:AccountInfo","keys_id":492,"value_id":1012}} | |
| ImmutableDataOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"Vec<U8>","keys_id":492,"value_id":1015}} | |
| DeletionQueue | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":185}} | |
| DeletionQueueCounter | {"origin":"PlainType","plain_type":"pallet_revive:storage:DeletionQueueManager","PlainTypeValue":1016} | |
| OriginalAccount | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"AccountId","keys_id":492,"value_id":0}} | |
| EthereumBlock | {"origin":"PlainType","plain_type":"pallet_revive:evm:api:rpc_types_gen:Block","PlainTypeValue":1017} | |
| BlockHash | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U32"],"value":"H256","keys_id":4,"value_id":13}} | |
| ReceiptInfoData | {"origin":"PlainType","plain_type":"Vec<pallet_revive:evm:block_hash:ReceiptGasInfo>","PlainTypeValue":1044} | |
| EthBlockBuilderIR | {"origin":"PlainType","plain_type":"pallet_revive:evm:block_hash:block_builder:EthereumBlockBuilderIR","PlainTypeValue":1046} | |
| EthBlockBuilderFirstValues | {"origin":"PlainType","plain_type":"option<Tuple:Vec<U8>Vec<U8>>","PlainTypeValue":1048} | |
| DebugSettingsOf | {"origin":"PlainType","plain_type":"pallet_revive:debug:DebugSettings","PlainTypeValue":1049} |
Name | Type | Value | |
|---|---|---|---|
| DepositPerByte | U128 | a0860100000000000000000000000000 | |
| DepositPerItem | U128 | 00943577000000000000000000000000 | |
| DepositPerChildTrieItem | U128 | 00c2eb0b000000000000000000000000 | |
| CodeHashLockupDepositPercent | U32 | 00a3e111 | |
| UnsafeUnstableInterface | Bool | 00 | |
| AllowEVMBytecode | Bool | 01 | |
| ChainId | U64 | 431b0f1900000000 | |
| NativeToEthRatio | U32 | 00e1f505 | |
| MaxEthExtrinsicWeight | U128 | 0000da493b717d0c0000000000000000 | |
| DebugEnabled | Bool | 00 | |
| GasScale | U32 | 80380100 |
Name | Docs |
|---|---|
| InvalidSchedule | Invalid schedule supplied, e.g. with zero weight of a basic operation. |
| InvalidCallFlags | Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`. |
| OutOfGas | The executed contract exhausted its gas limit. |
| TransferFailed | Performing the requested transfer failed. Probably because there isn't enoughfree balance in the sender's account. |
| MaxCallDepthReached | Performing a call was denied because the calling depth reached the limitof what is specified in the schedule. |
| ContractNotFound | No contract was found at the specified address. |
| CodeNotFound | No code could be found at the supplied code hash. |
| CodeInfoNotFound | No code info could be found at the supplied code hash. |
| OutOfBounds | A buffer outside of sandbox memory was passed to a contract API function. |
| DecodingFailed | Input passed to a contract API function failed to decode as expected type. |
| ContractTrapped | Contract trapped during execution. |
| ValueTooLarge | Event body or storage item exceeds [`limits::STORAGE_BYTES`]. |
| TerminatedWhileReentrant | Termination of a contract is not allowed while the contract is alreadyon the call stack. Can be triggered by `seal_terminate`. |
| InputForwarded | `seal_call` forwarded this contracts input. It therefore is no longer available. |
| TooManyTopics | The amount of topics passed to `seal_deposit_events` exceeds the limit. |
| DuplicateContract | A contract with the same AccountId already exists. |
| TerminatedInConstructor | A contract self destructed in its constructor.This can be triggered by a call to `seal_terminate`. |
| ReentranceDenied | A call tried to invoke a contract that is flagged as non-reentrant. |
| ReenteredPallet | A contract called into the runtime which then called back into this pallet. |
| StateChangeDenied | A contract attempted to invoke a state modifying API while being in read-only mode. |
| StorageDepositNotEnoughFunds | Origin doesn't have enough balance to pay the required storage deposits. |
| StorageDepositLimitExhausted | More storage was created than allowed by the storage deposit limit. |
| CodeInUse | Code removal was denied because the code is still in use by at least one contract. |
| ContractReverted | The contract ran to completion but decided to revert its storage changes.Please note that this error is only returned from extrinsics. When called directlyor via RPC an `Ok` will be returned. In this case the caller needs to inspect the flagsto determine whether a reversion has taken place. |
| CodeRejected | The contract failed to compile or is missing the correct entry points.A more detailed error can be found on the node console if debug messages are enabledby supplying `-lruntime::revive=debug`. |
| BlobTooLarge | The code blob supplied is larger than [`limits::code::BLOB_BYTES`]. |
| StaticMemoryTooLarge | The contract declares too much memory (ro + rw + stack). |
| BasicBlockTooLarge | The program contains a basic block that is larger than allowed. |
| InvalidInstruction | The program contains an invalid instruction. |
| MaxDelegateDependenciesReached | The contract has reached its maximum number of delegate dependencies. |
| DelegateDependencyNotFound | The dependency was not found in the contract's delegate dependencies. |
| DelegateDependencyAlreadyExists | The contract already depends on the given delegate dependency. |
| CannotAddSelfAsDelegateDependency | Can not add a delegate dependency to the code hash of the contract itself. |
| OutOfTransientStorage | Can not add more data to transient storage. |
| InvalidSyscall | The contract tried to call a syscall which does not exist (at its current api level). |
| InvalidStorageFlags | Invalid storage flags were passed to one of the storage syscalls. |
| ExecutionFailed | PolkaVM failed during code execution. Probably due to a malformed program. |
| BalanceConversionFailed | Failed to convert a U256 to a Balance. |
| InvalidImmutableAccess | Immutable data can only be set during deploys and only be read during calls.Additionally, it is only valid to set the data once and it must not be empty. |
| AccountUnmapped | An `AccountID32` account tried to interact with the pallet without having a mapping.Call [`Pallet::map_account`] in order to create a mapping for the account. |
| AccountAlreadyMapped | Tried to map an account that is already mapped. |
| InvalidGenericTransaction | The transaction used to dry-run a contract is invalid. |
| RefcountOverOrUnderflow | The refcount of a code either over or underflowed. |
| UnsupportedPrecompileAddress | Unsupported precompile address. |
| CallDataTooLarge | The calldata exceeds [`limits::CALLDATA_BYTES`]. |
| ReturnDataTooLarge | The return data exceeds [`limits::CALLDATA_BYTES`]. |
| InvalidJump | Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode. |
| StackUnderflow | Attempting to pop a value from an empty stack. |
| StackOverflow | Attempting to push a value onto a full stack. |
| TxFeeOverdraw | Too much deposit was drawn from the shared txfee and deposit credit.This happens if the passed `gas` inside the ethereum transaction is too low. |
| EvmConstructorNonEmptyData | When calling an EVM constructor `data` has to be empty.EVM constructors do not accept data. Their input data is part of the code blob itself. |
| EvmConstructedFromHash | Tried to construct an EVM contract via code hash.EVM contracts can only be instantiated via code upload as no initcode isstored on-chain. |
| StorageRefundNotEnoughFunds | The contract does not have enough balance to refund the storage deposit.This is a bug and should never happen. It means the accounting got out of sync. |
| StorageRefundLocked | This means there are locks on the contracts storage deposit that prevents refunding it.This would be the case if the contract used its storage deposits for governanceor other pallets that allow creating locks over held balance. |
| PrecompileDelegateDenied | Called a pre-compile that is not allowed to be delegate called.Some pre-compile functions will trap the caller context if being delegatecalled or if their caller was being delegate called. |