diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-10-15 00:32:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-15 00:32:11 +0800 |
commit | 81b01f1c2bba8340f9cf2bf1da8ef131e3decd50 (patch) | |
tree | 0b2269cb3dfa9719cf3bf7a828c49b0c1ffccab8 /internal | |
parent | a4d9e63d12c80a14294c0d085de6bf711ceec779 (diff) | |
parent | 64af2aafdaf16d0bab4c2b89573324b076602bab (diff) | |
download | go-tangerine-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar go-tangerine-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.gz go-tangerine-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.bz2 go-tangerine-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.lz go-tangerine-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.xz go-tangerine-81b01f1c2bba8340f9cf2bf1da8ef131e3decd50.tar.zst go-tangerine-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.go | 4 |
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 |