aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/util_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/vm/util_test.go')
-rw-r--r--core/vm/util_test.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/vm/util_test.go b/core/vm/util_test.go
index f0d825555..5783ee015 100644
--- a/core/vm/util_test.go
+++ b/core/vm/util_test.go
@@ -16,10 +16,17 @@
package vm
-import "math/big"
+import (
+ "math/big"
+
+ "github.com/ethereum/go-ethereum/params"
+)
type ruleSet struct {
hs *big.Int
}
func (r ruleSet) IsHomestead(n *big.Int) bool { return n.Cmp(r.hs) >= 0 }
+func (r ruleSet) GasTable(*big.Int) params.GasTable {
+ return params.GasTableHomestead
+}