diff --git a/tests/unit/compiler/test_opcodes.py b/tests/unit/compiler/test_opcodes.py index 17cc00477e..ed64f343c4 100644 --- a/tests/unit/compiler/test_opcodes.py +++ b/tests/unit/compiler/test_opcodes.py @@ -68,7 +68,10 @@ def test_get_opcodes(evm_version): def test_build_opcodes(): + assert _build_opcodes(bytes.fromhex("610250")) == "PUSH2 0x0250" + assert _build_opcodes(bytes.fromhex("612500")) == "PUSH2 0x2500" assert _build_opcodes(bytes.fromhex("610100")) == "PUSH2 0x0100" + assert _build_opcodes(bytes.fromhex("611000")) == "PUSH2 0x1000" assert _build_opcodes(bytes.fromhex("62010300")) == "PUSH3 0x010300" assert ( _build_opcodes(