Skip to content

Commit

Permalink
feat: add stInitCode tests to the runner (#118)
Browse files Browse the repository at this point in the history
* feat: add `stInitCode` tests to the runner

* dev: uncomment other tests

---------

Co-authored-by: Harsh Bajpai <harshbajpai@Harshs-MacBook-Pro.local>
  • Loading branch information
bajpai244 and Harsh Bajpai authored Sep 20, 2023
1 parent 8118faa commit 4b5a7af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crates/ef-testing/src/models/case.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ impl BlockchainTestCase {
| "buffer.json" // ef-tests #50
| "oog.json" // ef-tests #49
| "sloadGasCost.json" // ef-tests #78
| "TransactionCreateStopInInitcode.json" // ef-tests #108
| "CallRecursiveContract.json" // ef-tests #109
| "CallContractToCreateContractWhichWouldCreateContractInInitCode.json" // ef-tests #110
| "CallContractToCreateContractOOGBonusGas.json" // ef-tests #111
| "OutOfGasPrefundedContractCreation.json" // ef-test #112
| "CallContractToCreateContractWhichWouldCreateContractIfCalled.json" // ef-test #114
| "CallTheContractToCreateEmptyContract.json" // ef-test #115
| "OutOfGasContractCreation.json" // ef-test #116
| "CallContractToCreateContractAndCallItOOG.json" // ef-test #117
)
}

Expand Down
1 change: 1 addition & 0 deletions crates/ef-testing/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ mod blockchain_tests {
blockchain_tests!(st_sload, stSLoadTest);
blockchain_tests!(vm_tests, VMTests);
blockchain_tests!(memory_tests, stMemoryTest);
blockchain_tests!(init_code_test, stInitCodeTest);
}

0 comments on commit 4b5a7af

Please sign in to comment.