diff --git a/core/vm/instructions_test.go b/core/vm/instructions_test.go index e543e9a99c..bd99aaaf37 100644 --- a/core/vm/instructions_test.go +++ b/core/vm/instructions_test.go @@ -928,8 +928,9 @@ func TestOpMCopy(t *testing.T) { } } +// TestPush sanity-checks how code with immediates are handled when the code size is +// smaller than the size of the immediate. func TestPush(t *testing.T) { - code := common.FromHex("0011223344556677889900aabbccddeeff0102030405060708090a0b0c0d0e0ff1e1d1c1b1a19181716151413121") push32 := makePush(32, 32)