From ec9b07aa6ee37121f670c90837de9fa9bda56ee1 Mon Sep 17 00:00:00 2001 From: Khaeljy Date: Mon, 2 Oct 2023 06:51:51 +0200 Subject: [PATCH] add `stSStoreTest` testsuite (#417) --- blockchain-tests-skip.yml | 28 ++++++++++++++++++++++++++++ crates/ef-testing/tests/tests.rs | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/blockchain-tests-skip.yml b/blockchain-tests-skip.yml index d08a878c..d9544723 100644 --- a/blockchain-tests-skip.yml +++ b/blockchain-tests-skip.yml @@ -632,6 +632,34 @@ filename: - shiftSignedCombinations.json # ef-tests #383 stSLoadTest: - sloadGasCost.json # ef-tests #78 + stSStoreTest: + - InitCollision.json # ef-tests #408 + - sstoreGas.json # ef-tests #409 + - InitCollisionNonZeroNonce.json # ef-tests #410 + - sstore_0to0.json # ef-tests #410 + - sstore_0to0to0.json # ef-tests #410 + - sstore_0to0toX.json # ef-tests #410 + - sstore_0toX.json # ef-tests #410 + - sstore_0toXto0.json # ef-tests #410 + - sstore_0toXto0toX.json # ef-tests #410 + - sstore_0toXtoX.json # ef-tests #410 + - sstore_0toXtoY.json # ef-tests #410 + - sstore_changeFromExternalCallInInitCode.json # ef-tests #410 + - sstore_gasLeft.json # ef-tests #410 + - sstore_Xto0.json # ef-tests #410 + - sstore_Xto0to0.json # ef-tests #410 + - sstore_Xto0toX.json # ef-tests #410 + - sstore_Xto0toXto0.json # ef-tests #410 + - sstore_Xto0toY.json # ef-tests #410 + - sstore_XtoX.json # ef-tests #410 + - sstore_XtoXto0.json # ef-tests #410 + - sstore_XtoXtoX.json # ef-tests #410 + - sstore_XtoXtoY.json # ef-tests #410 + - sstore_XtoY.json # ef-tests #410 + - sstore_XtoYto0.json # ef-tests #410 + - sstore_XtoYtoX.json # ef-tests #410 + - sstore_XtoYtoY.json # ef-tests #410 + - sstore_XtoYtoZ.json # ef-tests #410 stSolidityTest: - TestContractSuicide.json # ef-test #132 - TestCryptographicFunctions.json # ef-test #133 diff --git a/crates/ef-testing/tests/tests.rs b/crates/ef-testing/tests/tests.rs index baf82787..3b725a4c 100644 --- a/crates/ef-testing/tests/tests.rs +++ b/crates/ef-testing/tests/tests.rs @@ -113,7 +113,7 @@ mod blockchain_tests { blockchain_tests!(st_return_data_test, stReturnDataTest); blockchain_tests!(st_revert_test, stRevertTest); blockchain_tests!(st_sload_test, stSLoadTest); - // blockchain_tests!(st_sstore_test, stSStoreTest); // 27 failing tests + blockchain_tests!(st_sstore_test, stSStoreTest); // blockchain_tests!(st_self_balance, stSelfBalance); // 3 failing tests blockchain_tests!(st_shift, stShift); blockchain_tests!(st_solidity_test, stSolidityTest);