diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-01 22:29:57 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-01 22:29:57 +0800 |
commit | d52878c744fd7acce727feb41c2d4296e56826d3 (patch) | |
tree | 6b9f101f57a5ac0902b80f252214caa5ed63eb8c /tests/helper/vm.go | |
parent | 0d97c3ce1322083fb9683a5afec004b2626b620a (diff) | |
download | dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.gz dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.bz2 dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.lz dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.xz dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.zst dexon-d52878c744fd7acce727feb41c2d4296e56826d3.zip |
Removed some VMEnv & Added VmType() to vm.Environment
Diffstat (limited to 'tests/helper/vm.go')
-rw-r--r-- | tests/helper/vm.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/helper/vm.go b/tests/helper/vm.go index 7c33839cf..e9557e871 100644 --- a/tests/helper/vm.go +++ b/tests/helper/vm.go @@ -59,6 +59,7 @@ func (self *Env) Time() int64 { return self.time } func (self *Env) Difficulty() *big.Int { return self.difficulty } func (self *Env) State() *state.StateDB { return self.state } func (self *Env) GasLimit() *big.Int { return self.gasLimit } +func (self *Env) VmType() vm.Type { return vm.StdVmTy } func (self *Env) GetHash(n uint64) []byte { return crypto.Sha3([]byte(big.NewInt(int64(n)).String())) } |