aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/vm_env.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-17 00:27:05 +0800
committerobscuren <geffobscura@gmail.com>2014-10-17 00:27:05 +0800
commit93fcabd25189b447cc5c52523134cca2fa1d794e (patch)
tree152b24831fbb2d547bc2189b0b92a2b18c8f64b7 /ethchain/vm_env.go
parentbb5038699ef7e08054ef154107e359dce2e3b106 (diff)
downloadgo-tangerine-93fcabd25189b447cc5c52523134cca2fa1d794e.tar.gz
go-tangerine-93fcabd25189b447cc5c52523134cca2fa1d794e.tar.zst
go-tangerine-93fcabd25189b447cc5c52523134cca2fa1d794e.zip
Fixed most of the tests
Diffstat (limited to 'ethchain/vm_env.go')
-rw-r--r--ethchain/vm_env.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethchain/vm_env.go b/ethchain/vm_env.go
index 30f9497fa..4600878d1 100644
--- a/ethchain/vm_env.go
+++ b/ethchain/vm_env.go
@@ -29,3 +29,4 @@ func (self *VMEnv) Difficulty() *big.Int { return self.block.Difficulty }
func (self *VMEnv) BlockHash() []byte { return self.block.Hash() }
func (self *VMEnv) Value() *big.Int { return self.tx.Value }
func (self *VMEnv) State() *ethstate.State { return self.state }
+func (self *VMEnv) GasLimit() *big.Int { return self.block.GasLimit }