Skip to main content
The evm module contains the following parameters:

Params

KeyTypeDefault Value
EVMDenomstring"inj"
EnableCreatebooltrue
EnableCallbooltrue
ExtraEIPs[]intTBD
ChainConfigChainConfigSee ChainConfig

EVM denom

The evm denomination parameter defines the token denomination used on the EVM state transitions and gas consumption for EVM messages. For example, on Ethereum, the evm_denom would be ETH. To maintain parity with Ethereum, Injective uses Atto as its base denomination. In essence, 1 (atto) inj equals 1x10⁻¹⁸ INJ, aligning with Ethereum’s denomination where one wei is equal to 1x10⁻¹⁸ ETH. In terms of precision, the INJ and ETH share the same value, i.e 1 INJ = 10^18 inj and 1 ETH = 10^18 wei.

Enable Create

The enable create parameter toggles state transitions that use the vm.Create function. When the parameter is disabled, it will prevent all contract creation functionality.

Enable Transfer

The enable transfer toggles state transitions that use the vm.Call function. When the parameter is disabled, it will prevent transfers between accounts and executing a smart contract call.

Extra EIPs

The extra EIPs parameter defines the set of activateable Ethereum Improvement Proposals (EIPs) on the Ethereum VM Config that apply custom jump tables. ::: tip NOTE: some of these EIPs are already enabled by the chain configuration, depending on the hard fork number. ::: The supported activateable EIPS are:

Chain Config

The ChainConfig is a protobuf wrapper type that contains the same fields as the go-ethereum ChainConfig parameters, but using *sdk.Int types instead of *big.Int. By default, all block configuration fields but ConstantinopleBlock, are enabled at genesis (height 0).

ChainConfig Defaults

NameDefault Value
HomesteadBlock0
DAOForkBlock0
DAOForkSupporttrue
EIP150Block0
EIP150Hash0x0000000000000000000000000000000000000000000000000000000000000000
EIP155Block0
EIP158Block0
ByzantiumBlock0
ConstantinopleBlock0
PetersburgBlock0
IstanbulBlock0
MuirGlacierBlock0
BerlinBlock0
LondonBlock0
ArrowGlacierBlock0
GrayGlacierBlock0
MergeNetsplitBlock0
ShanghaiTime0
CancunTime0
PragueTime0