From 400f7adeaa0dd342b886caa2f966814533126fb7 Mon Sep 17 00:00:00 2001 From: Dimitry Kh Date: Fri, 3 May 2024 12:03:00 +0200 Subject: [PATCH] fix unit tests and tox --- src/ethereum_test_tools/tests/test_vm.py | 8 ++++---- whitelist.txt | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/ethereum_test_tools/tests/test_vm.py b/src/ethereum_test_tools/tests/test_vm.py index 5bfd7ecb9b..6989c13efa 100644 --- a/src/ethereum_test_tools/tests/test_vm.py +++ b/src/ethereum_test_tools/tests/test_vm.py @@ -179,7 +179,7 @@ [ Op.ORIGIN.int(), Op.RJUMPV.int(), - 0x03, # Data portion, defined by the [1, 2, 3] argument + 0x02, # Data portion, defined by the [1, 2, 3] argument 0x00, 0x01, 0x00, @@ -203,7 +203,7 @@ bytes( [ Op.RJUMPV.int(), - 0x03, + 0x02, 0xFF, 0xFF, 0xFF, @@ -218,7 +218,7 @@ bytes( [ Op.RJUMPV.int(), - 0x05, + 0x04, 0x00, 0x00, 0x00, @@ -238,7 +238,7 @@ [ Op.ORIGIN.int(), Op.RJUMPV.int(), - 0x03, # Data portion, defined by the [1, 2, 3] argument + 0x02, # Data portion, defined by the [1, 2, 3] argument 0x00, 0x01, 0x00, diff --git a/whitelist.txt b/whitelist.txt index 4c8ed43eb1..a1442758b2 100644 --- a/whitelist.txt +++ b/whitelist.txt @@ -99,6 +99,7 @@ enum env envvar eof +EOF1 eofparse EOFException esbenp @@ -213,6 +214,7 @@ ommers opc oprypin origin +ori parseable pathlib pdb @@ -313,6 +315,7 @@ u256 ubuntu ukiyo uncomment +undersize util utils v0