From 59704a71fb17deadd2a79cf7907a0f47d5eaa700 Mon Sep 17 00:00:00 2001 From: Tristan <122918260+TAdev0@users.noreply.github.com> Date: Sat, 30 Sep 2023 15:04:05 +0200 Subject: [PATCH 1/2] add `stArgsZeroOneBalance` testsuite (#372) * l * st_args_zero_one_balance * stArgsZeroOneBalance * stArgsZeroOneBalance * stArgsZeroOneBalance * stArgsZeroOneBalance * stArgsZeroOneBalance * stArgsZeroOneBalance --- blockchain-tests-skip.yml | 7 ++++++- crates/ef-testing/tests/tests.rs | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/blockchain-tests-skip.yml b/blockchain-tests-skip.yml index 9b7d4f30..e630f57d 100644 --- a/blockchain-tests-skip.yml +++ b/blockchain-tests-skip.yml @@ -444,9 +444,14 @@ filename: - TestStoreGasPrices.json # ef-test #139 - TestContractInteraction.json # ef-test #140 - RecursiveCreateContractsCreate4Contracts.json # ef-test #141 + stArgsZeroOneBalance: + - createNonConst.json # ef-tests #368 + - mulmodNonConst.json # ef-tests #368 + - suicideNonConst.json # ef-tests #370 + - callNonConst.json # ef-tests #371 # List of file names regex to be skipped # The first level corresponds to the directory, the second to the list of file names regex to ignore. regex: stBadOpcode: - - ^opc.*\.json$ # ef-test #120 \ No newline at end of file + - ^opc.*\.json$ # ef-test #120 diff --git a/crates/ef-testing/tests/tests.rs b/crates/ef-testing/tests/tests.rs index 6efd4a52..13a491e3 100644 --- a/crates/ef-testing/tests/tests.rs +++ b/crates/ef-testing/tests/tests.rs @@ -68,7 +68,7 @@ mod blockchain_tests { // Tests from the same folder with the same error can be aggregated in one issue blockchain_tests!(shanghai, Shanghai); - // blockchain_tests!(st_args_zero_one_balance, stArgsZeroOneBalance); // 4 failing tests + blockchain_tests!(st_args_zero_one_balance, stArgsZeroOneBalance); blockchain_tests!(st_attack_test, stAttackTest); blockchain_tests!(st_bad_opcode, stBadOpcode); blockchain_tests!(st_bugs, stBugs); From 552087cb47e7818007e062793184f3f3796fb688 Mon Sep 17 00:00:00 2001 From: Tristan <122918260+TAdev0@users.noreply.github.com> Date: Sat, 30 Sep 2023 15:04:53 +0200 Subject: [PATCH 2/2] add `stQuadraticComplexityTest` testsuite (#377) * l * stQuadraticComplexityTest --- blockchain-tests-skip.yml | 8 ++++++++ crates/ef-testing/tests/tests.rs | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/blockchain-tests-skip.yml b/blockchain-tests-skip.yml index e630f57d..3c2c568b 100644 --- a/blockchain-tests-skip.yml +++ b/blockchain-tests-skip.yml @@ -372,6 +372,14 @@ filename: - NonZeroValue_DELEGATECALL_ToNonNonZeroBalance.json # ef-tests #360 - NonZeroValue_DELEGATECALL_ToOneStorageKey.json # ef-tests #360 - NonZeroValue_SUICIDE.json # ef-tests #361 + stQuadraticComplexityTest: + - Call1MB1024Calldepth.json # ef-tests #375 + - Call20KbytesContract50_1.json # ef-tests #375 + - Call20KbytesContract50_2.json # ef-tests #375 + - Call20KbytesContract50_3.json # ef-tests #375 + - Return50000.json # ef-tests #375 + - Return50000_2.json # ef-tests #375 + - Create1000Shnghai.json # ef-tests #376 stReturnDataTest: - returndatacopy_following_too_big_transfer.json # ef-tests #317 - returndatasize_bug.json # ef-tests #317 diff --git a/crates/ef-testing/tests/tests.rs b/crates/ef-testing/tests/tests.rs index 13a491e3..a9cc2cf8 100644 --- a/crates/ef-testing/tests/tests.rs +++ b/crates/ef-testing/tests/tests.rs @@ -105,7 +105,7 @@ mod blockchain_tests { blockchain_tests!(st_non_zero_calls_test, stNonZeroCallsTest); // blockchain_tests!(st_pre_compiled_contracts, stPreCompiledContracts); // 8 failing tests // blockchain_tests!(st_pre_compiled_contracts2, stPreCompiledContracts2); // 97 failing tests - // blockchain_tests!(st_quadratic_complexity_test, stQuadraticComplexityTest); // 7 failing tests + blockchain_tests!(st_quadratic_complexity_test, stQuadraticComplexityTest); // blockchain_tests!(st_random, stRandom); // 79 failing tests // blockchain_tests!(st_random2, stRandom2); // 40 failing tests // blockchain_tests!(st_recursive_create, stRecursiveCreate); // 2 failing tests