Expand description
EVM primitives.
Structs§
- EVMFungible
Adapter Wrapper - Wrapper around the
EvmFungibleAdapterfrom thepallet-evm. - EvmRevert
Code Handler - Handler for automatic revert code registration.
- H160
- Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
- H256
- Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- U256
- Little-endian large integer type 256-bit unsigned integer.
Constants§
- EVM_
REVERT_ CODE - Revert opt code. It’s inserted at the precompile addresses, to make them functional in EVM.
- TX_
MAX_ GAS_ LIMIT - Maximum gas allowed per transaction (EIP-7825). Substrate enforces a maximum of 65% of the block gas limit (39 million gas for Astar), so we enforce a cap close to that value.