Skip to content

Commit

Permalink
add CREATE-related test suite (#341)
Browse files Browse the repository at this point in the history
* add CREATE-related test suite

* Add missing skip
  • Loading branch information
khaeljy authored Oct 2, 2023
1 parent 552087c commit f3e9e05
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 2 deletions.
78 changes: 78 additions & 0 deletions blockchain-tests-skip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,84 @@ filename:
- codesizeValid.json # ef-tests #263
- create2CodeSizeLimit.json # ef-tests #264
- createCodeSizeLimit.json # ef-tests #265
stCreate2:
- RevertDepthCreate2OOG.json # ef-tests #334
- RevertDepthCreate2OOGBerlin.json # ef-tests #334
- RevertDepthCreateAddressCollisionBerlin.json # ef-tests #334
- RevertDepthCreateAddressCollision.json # ef-tests #334
- create2callPrecompiles.json # ef-tests #335
- create2checkFieldsInInitcode.json # ef-tests #335
- create2collisionBalance.json # ef-tests #335
- create2collisionCode.json # ef-tests #335
- create2collisionCode2.json # ef-tests #335
- create2collisionNonce.json # ef-tests #335
- create2collisionStorage.json # ef-tests #335
- create2InitCodes.json # ef-tests #335
- create2noCash.json # ef-tests #335
- Create2OnDepth1023.json # ef-tests #335
- Create2OnDepth1024.json # ef-tests #335
- Create2OOGFromCallRefunds.json # ef-tests #335
- Create2Recursive.json # ef-tests #335
- CREATE2_FirstByte_loop.json # ef-tests #335
- CREATE2_Suicide.json # ef-tests #335
- CreateMessageRevertedOOGInInit.json # ef-tests #335
- call_outsize_then_create2_successful_then_returndatasize.json # ef-tests #336
- call_then_create2_successful_then_returndatasize.json # ef-tests #336
- Create2OOGafterInitCodeReturndata.json # ef-tests #336
- Create2OOGafterInitCodeReturndata2.json # ef-tests #336
- Create2OOGafterInitCodeRevert.json # ef-tests #336
- Create2OOGafterInitCodeRevert2.json # ef-tests #336
- CREATE2_HighNonce.json # ef-tests #336
- CREATE2_HighNonceDelegatecall.json # ef-tests #336
- CreateMessageReverted.json # ef-tests #336
- RevertInCreateInInitCreate2.json # ef-tests #336
- RevertOpcodeInCreateReturnsCreate2.json # ef-tests #336
- returndatasize_following_successful_create.json # ef-tests #336
- returndatacopy_afterFailing_create.json # ef-tests #336
- returndatacopy_following_create.json # ef-tests #336
- RevertOpcodeCreate.json # ef-tests #336
- returndatacopy_following_revert_in_create.json # ef-tests #336
- returndatacopy_0_0_following_successful_create.json # ef-tests #336
- returndatacopy_following_successful_create.json # ef-tests #336
- create2collisionSelfdestructed.json # ef-tests #337
- create2collisionSelfdestructed2.json # ef-tests #337
- create2SmartInitCode.json # ef-tests #337
- CREATE2_ContractSuicideDuringInit_ThenStoreThenReturn.json # ef-tests #337
stCreateTest:
- CreateAddressWarmAfterFail.json # ef-tests #338
- CreateCollisionToEmpty.json # ef-tests #338
- CreateOOGafterInitCodeReturndata.json # ef-tests #338
- CreateOOGafterInitCodeReturndata2.json # ef-tests #338
- CreateResults.json # ef-tests #338
- CREATE_AcreateB_BSuicide_BStore.json # ef-tests #338
- CREATE_EContract_ThenCALLToNonExistentAcc.json # ef-tests #338
- CREATE_EmptyContract.json # ef-tests #338
- CREATE_EmptyContractAndCallIt_0wei.json # ef-tests #338
- CREATE_EmptyContractAndCallIt_1wei.json # ef-tests #338
- CREATE_EmptyContractWithBalance.json # ef-tests #338
- CREATE_EmptyContractWithStorage.json # ef-tests #338
- CREATE_EmptyContractWithStorageAndCallIt_0wei.json # ef-tests #338
- CREATE_EmptyContractWithStorageAndCallIt_1wei.json # ef-tests #338
- CREATE_HighNonce.json # ef-tests #338
- TransactionCollisionToEmpty.json # ef-tests #338
- CodeInConstructor.json # ef-tests #339
- CreateCollisionResults.json # ef-tests #339
- createFailResult.json # ef-tests #339
- createLargeResult.json # ef-tests #339
- CreateOOGafterInitCodeRevert.json # ef-tests #339
- CreateOOGafterInitCodeRevert2.json # ef-tests #339
- CreateOOGafterMaxCodesize.json # ef-tests #339
- CREATE_ContractSuicideDuringInit.json # ef-tests #339
- CREATE_ContractSuicideDuringInit_ThenStoreThenReturn.json # ef-tests #339
- CREATE_ContractSuicideDuringInit_WithValue.json # ef-tests #339
- CREATE_ContractSuicideDuringInit_WithValueToItself.json # ef-tests #339
- CreateOOGFromCallRefunds.json # ef-tests #340
- CreateOOGFromEOARefunds.json # ef-tests #340
- CREATE_EContractCreateEContractInInit_Tr.json # ef-tests #340
- CREATE_EContractCreateNEContractInInitOOG_Tr.json # ef-tests #340
- CREATE_EContractCreateNEContractInInit_Tr.json # ef-tests #340
- CREATE_empty000CreateinInitCode_Transaction.json # ef-tests #340
- CREATE_FirstByte_loop.json # ef-tests #340
stDelegatecallTestHomestead:
- Call1024BalanceTooLow.json # ef-tests #332
- Call1024OOG.json # ef-tests #332
Expand Down
4 changes: 2 additions & 2 deletions crates/ef-testing/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ mod blockchain_tests {
blockchain_tests!(st_chain_id, stChainId);
blockchain_tests!(st_code_copy_test, stCodeCopyTest);
blockchain_tests!(st_code_size_limit, stCodeSizeLimit);
// blockchain_tests!(st_create2, stCreate2); // 42 failing tests
// blockchain_tests!(st_create_test, stCreateTest); // 34 failing tests
blockchain_tests!(st_create2, stCreate2);
blockchain_tests!(st_create_test, stCreateTest);
blockchain_tests!(st_delegatecall_test_homestead, stDelegatecallTestHomestead);
blockchain_tests!(st_eip150_specific, stEIP150Specific);
blockchain_tests!(st_eip150single_code_gas_prices, stEIP150singleCodeGasPrices);
Expand Down

0 comments on commit f3e9e05

Please sign in to comment.