[release/1.4.9] Revert "test, cmd/evm, core, core/vm: illegal code hash implementation"

This reverts commit a9c94cbf48.
This commit is contained in:
Péter Szilágyi
2016-06-29 11:53:41 +03:00
parent c793cb3385
commit adb065a328
11 changed files with 29 additions and 95 deletions

View File

@ -73,8 +73,6 @@ type Environment interface {
DelegateCall(me ContractRef, addr common.Address, data []byte, gas, price *big.Int) ([]byte, error)
// Create a new contract
Create(me ContractRef, data []byte, gas, price, value *big.Int) ([]byte, common.Address, error)
// Mark the code hash that was executed
MarkCodeHash(hash common.Hash)
}
// Vm is the basic interface for an implementation of the EVM.
@ -98,7 +96,6 @@ type Database interface {
GetCode(common.Address) []byte
SetCode(common.Address, []byte)
GetCodeHash(common.Address) common.Hash
AddRefund(*big.Int)
GetRefund() *big.Int