mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
core/vm/runtime: removed leftover ruleset
This commit is contained in:
parent
0ad8aaad00
commit
556ab6f508
1 changed files with 0 additions and 8 deletions
|
|
@ -28,14 +28,6 @@ import (
|
||||||
"github.com/ethereum/go-ethereum/params"
|
"github.com/ethereum/go-ethereum/params"
|
||||||
)
|
)
|
||||||
|
|
||||||
// The default, always homestead, rule set for the vm env
|
|
||||||
type ruleSet struct{}
|
|
||||||
|
|
||||||
func (ruleSet) IsHomestead(*big.Int) bool { return true }
|
|
||||||
func (ruleSet) GasTable(*big.Int) params.GasTable {
|
|
||||||
return params.GasTableHomesteadGasRepriceFork
|
|
||||||
}
|
|
||||||
|
|
||||||
// Config is a basic type specifying certain configuration flags for running
|
// Config is a basic type specifying certain configuration flags for running
|
||||||
// the EVM.
|
// the EVM.
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue