From ab6883048882e891a5b36eeda318eaaaaac1f171 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Sun, 27 Oct 2024 22:08:24 +0100 Subject: [PATCH] core/vm: lint fixes --- core/vm/instructions_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)