mirror of https://github.com/status-im/evmc.git
Move CALL cost calculations to VM
Delegating CALL cost calculations to Env is bad idea and has bugs.
This commit is contained in:
parent
1b19ee8c27
commit
344552bbe1
|
@ -100,7 +100,8 @@ enum evm_query_key {
|
||||||
EVM_TIMESTAMP = 9, ///< Current block timestamp for TIMESTAMP.
|
EVM_TIMESTAMP = 9, ///< Current block timestamp for TIMESTAMP.
|
||||||
EVM_CODE_BY_ADDRESS = 10, ///< Code by an address for EXTCODE/SIZE.
|
EVM_CODE_BY_ADDRESS = 10, ///< Code by an address for EXTCODE/SIZE.
|
||||||
EVM_BALANCE = 11, ///< Balance of a given address for BALANCE.
|
EVM_BALANCE = 11, ///< Balance of a given address for BALANCE.
|
||||||
EVM_BLOCKHASH = 12 ///< Block hash of by block number for BLOCKHASH.
|
EVM_BLOCKHASH = 12, ///< Block hash of by block number for BLOCKHASH.
|
||||||
|
EVM_ACCOUNT_EXISTS = 13
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue