aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-10-15 00:32:11 +0800
committerGitHub <noreply@github.com>2016-10-15 00:32:11 +0800
commit81b01f1c2bba8340f9cf2bf1da8ef131e3decd50 (patch)
tree0b2269cb3dfa9719cf3bf7a828c49b0c1ffccab8 /internal
parenta4d9e63d12c80a14294c0d085de6bf711ceec779 (diff)
parent64af2aafdaf16d0bab4c2b89573324b076602bab (diff)
downloaddexon-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar
dexon-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.gz
dexon-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.bz2
dexon-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.lz
dexon-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.xz
dexon-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.zst
dexon-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.zip
Merge pull request #3111 from obscuren/gas-price-fork
core, core/vm: added gas price variance table (EIP #150)
Diffstat (limited to 'internal')
-rw-r--r--internal/ethapi/tracer_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/ethapi/tracer_test.go b/internal/ethapi/tracer_test.go
index 127af32a8..577b426f1 100644
--- a/internal/ethapi/tracer_test.go
+++ b/internal/ethapi/tracer_test.go
@@ -26,11 +26,13 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/crypto"
+ "github.com/ethereum/go-ethereum/params"
)
type ruleSet struct{}
-func (self *ruleSet) IsHomestead(*big.Int) bool { return true }
+func (self *ruleSet) IsHomestead(*big.Int) bool { return true }
+func (*ruleSet) GasTable(*big.Int) params.GasTable { return params.GasTableHomesteadGasRepriceFork }
type Env struct {
gasLimit *big.Int