diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-22 21:57:54 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-22 21:57:54 +0800 |
commit | 490ca410c01a1b8076214d00c21d2edf09c24f86 (patch) | |
tree | 9c206ffda9dcfc723ea25b26809a7371b08d328d /ethvm/vm_test.go | |
parent | 1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d (diff) | |
download | go-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.go | 19 |
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))) |