diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-01-12 00:20:31 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-01-12 00:21:39 +0800 |
commit | 752c75fb21ad151204f2aadeee1fff597e013aa2 (patch) | |
tree | f2d3d19ba6c7e112c4764f1167b2ce91e8e45f88 /core/vm/jit_test.go | |
parent | 1b8566a7b137d68c5c7c42d6300378d7ebf21c49 (diff) | |
download | go-tangerine-752c75fb21ad151204f2aadeee1fff597e013aa2.tar.gz go-tangerine-752c75fb21ad151204f2aadeee1fff597e013aa2.tar.zst go-tangerine-752c75fb21ad151204f2aadeee1fff597e013aa2.zip |
core/vm: resolve circular dependency to debug vm storage
Diffstat (limited to 'core/vm/jit_test.go')
-rw-r--r-- | core/vm/jit_test.go | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/core/vm/jit_test.go b/core/vm/jit_test.go index aa97e5184..8c50ed0f5 100644 --- a/core/vm/jit_test.go +++ b/core/vm/jit_test.go @@ -125,14 +125,15 @@ type vmBench struct { type account struct{} -func (account) SubBalance(amount *big.Int) {} -func (account) AddBalance(amount *big.Int) {} -func (account) SetBalance(*big.Int) {} -func (account) SetNonce(uint64) {} -func (account) Balance() *big.Int { return nil } -func (account) Address() common.Address { return common.Address{} } -func (account) ReturnGas(*big.Int, *big.Int) {} -func (account) SetCode([]byte) {} +func (account) SubBalance(amount *big.Int) {} +func (account) AddBalance(amount *big.Int) {} +func (account) SetBalance(*big.Int) {} +func (account) SetNonce(uint64) {} +func (account) Balance() *big.Int { return nil } +func (account) Address() common.Address { return common.Address{} } +func (account) ReturnGas(*big.Int, *big.Int) {} +func (account) SetCode([]byte) {} +func (account) EachStorage(cb func(key, value []byte)) {} func runVmBench(test vmBench, b *testing.B) { var sender account |