Merge pull request #3111 from obscuren/gas-price-fork
core, core/vm: added gas price variance table (EIP #150)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user