aboutsummaryrefslogtreecommitdiffstats
path: root/ethvm/vm_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-22 21:57:54 +0800
committerobscuren <geffobscura@gmail.com>2014-07-22 21:57:54 +0800
commit490ca410c01a1b8076214d00c21d2edf09c24f86 (patch)
tree9c206ffda9dcfc723ea25b26809a7371b08d328d /ethvm/vm_test.go
parent1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d (diff)
downloadgo-tangerine-490ca410c01a1b8076214d00c21d2edf09c24f86.tar.gz
go-tangerine-490ca410c01a1b8076214d00c21d2edf09c24f86.tar.zst
go-tangerine-490ca410c01a1b8076214d00c21d2edf09c24f86.zip
Minor improvements and fixes to the new vm structure
Diffstat (limited to 'ethvm/vm_test.go')
-rw-r--r--ethvm/vm_test.go19
1 files changed, 8 insertions, 11 deletions
diff --git a/ethvm/vm_test.go b/ethvm/vm_test.go
index f0bdc8e2c..501d0c284 100644
--- a/ethvm/vm_test.go
+++ b/ethvm/vm_test.go
@@ -15,17 +15,14 @@ import (
type TestEnv struct {
}
-func (self TestEnv) GetObject() Object { return nil }
-func (self TestEnv) Origin() []byte { return nil }
-func (self TestEnv) BlockNumber() *big.Int { return nil }
-func (self TestEnv) PrevHash() []byte { return nil }
-func (self TestEnv) Coinbase() []byte { return nil }
-func (self TestEnv) Time() int64 { return 0 }
-func (self TestEnv) Difficulty() *big.Int { return nil }
-func (self TestEnv) Data() []string { return nil }
-func (self TestEnv) Value() *big.Int { return nil }
-func (self TestEnv) GetBalance(addr []byte) *big.Int { return nil }
-func (self TestEnv) State() *ethstate.State { return nil }
+func (self TestEnv) Origin() []byte { return nil }
+func (self TestEnv) BlockNumber() *big.Int { return nil }
+func (self TestEnv) PrevHash() []byte { return nil }
+func (self TestEnv) Coinbase() []byte { return nil }
+func (self TestEnv) Time() int64 { return 0 }
+func (self TestEnv) Difficulty() *big.Int { return nil }
+func (self TestEnv) Value() *big.Int { return nil }
+func (self TestEnv) State() *ethstate.State { return nil }
func TestVm(t *testing.T) {
ethlog.AddLogSystem(ethlog.NewStdLogSystem(os.Stdout, log.LstdFlags, ethlog.LogLevel(4)))