Move CALL cost calculations to VM

Delegating CALL cost calculations to Env is bad idea and has bugs.
This commit is contained in:
Paweł Bylica 2016-09-14 13:50:45 +02:00
parent 1b19ee8c27
commit 344552bbe1
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,8 @@ enum evm_query_key {
EVM_TIMESTAMP = 9, ///< Current block timestamp for TIMESTAMP.
EVM_CODE_BY_ADDRESS = 10, ///< Code by an address for EXTCODE/SIZE.
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
};