core, params: polish net gas metering PR a bit

This commit is contained in:
Péter Szilágyi
2018-09-18 16:24:35 +03:00
parent caa2c23a38
commit 5d921fa3a0
11 changed files with 167 additions and 228 deletions

View File

@ -41,11 +41,6 @@ func (d *dummyContractRef) SetBalance(*big.Int) {}
func (d *dummyContractRef) SetNonce(uint64) {}
func (d *dummyContractRef) Balance() *big.Int { return new(big.Int) }
type dummyStateDB struct {
NoopStateDB
ref *dummyContractRef
}
func TestStoreCapture(t *testing.T) {
var (
env = NewEVM(Context{}, nil, params.TestChainConfig, Config{})