aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/vm/interpreter.go2
-rw-r--r--tests/state_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go
index 0466bf085..d3e24a7a4 100644
--- a/core/vm/interpreter.go
+++ b/core/vm/interpreter.go
@@ -92,7 +92,7 @@ func (in *Interpreter) enforceRestrictions(op OpCode, operation operation, stack
if in.readOnly {
// If the interpreter is operating in readonly mode, make sure no
// state-modifying operation is performed. The 3rd stack item
- // for a call operation is the value. Transfering value from one
+ // for a call operation is the value. Transferring value from one
// account to the others means the state is modified and should also
// return with an error.
if operation.writes || (op == CALL && stack.Back(2).BitLen() > 0) {
diff --git a/tests/state_test.go b/tests/state_test.go
index 7e5516e7e..00067c61a 100644
--- a/tests/state_test.go
+++ b/tests/state_test.go
@@ -50,8 +50,8 @@ func TestState(t *testing.T) {
key := fmt.Sprintf("%s/%d", subtest.Fork, subtest.Index)
name := name + "/" + key
t.Run(key, func(t *testing.T) {
- if subtest.Fork == "Constantinople" || subtest.Fork == "Byzantium" {
- t.Skip("constantinople, byzantium not supported yet")
+ if subtest.Fork == "Constantinople" {
+ t.Skip("constantinople not supported yet")
}
withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error {
return st.checkFailure(t, name, test.Run(subtest, vmconfig))