aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/environment.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-06-29 16:44:51 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-06-29 16:44:51 +0800
commit6362a9d6102b26e926b3e73563267fc75cb30f9c (patch)
tree56ce21d1aaf6df3908335601a687f0f3ac4a50be /core/vm/environment.go
parentd55fc35df1ca4996048625421d4c475a437d273e (diff)
downloaddexon-6362a9d6102b26e926b3e73563267fc75cb30f9c.tar
dexon-6362a9d6102b26e926b3e73563267fc75cb30f9c.tar.gz
dexon-6362a9d6102b26e926b3e73563267fc75cb30f9c.tar.bz2
dexon-6362a9d6102b26e926b3e73563267fc75cb30f9c.tar.lz
dexon-6362a9d6102b26e926b3e73563267fc75cb30f9c.tar.xz
dexon-6362a9d6102b26e926b3e73563267fc75cb30f9c.tar.zst
dexon-6362a9d6102b26e926b3e73563267fc75cb30f9c.zip
Revert "test, cmd/evm, core, core/vm: illegal code hash implementation"
This reverts commit 7a5b571c671e70e0e4807cf971c15e2d1e09d33d.
Diffstat (limited to 'core/vm/environment.go')
-rw-r--r--core/vm/environment.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/vm/environment.go b/core/vm/environment.go
index 37817be9e..747627565 100644
--- a/core/vm/environment.go
+++ b/core/vm/environment.go
@@ -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