pcaversaccio / createx

Factory smart contract to make easier and safer usage of the `CREATE` and `CREATE2` EVM opcodes as well as of `CREATE3`-based (i.e. without an initcode factor) contract creations.
https://createx.rocks
GNU Affero General Public License v3.0
304 stars 18 forks source link

🔧 Add `CREATE3` Tests #18

Closed pcaversaccio closed 11 months ago

pcaversaccio commented 11 months ago

🕓 Changelog

This PR is rebased on #17.

This PR adds the tests for all CREATE3 functions in CreateX; namely:

Further changes include:

NOTE: Since I use the latest @nomicfoundation/hardhat-verify version, which supports natively Sourcify verification, we can verify Etherscan, Blockscout (which syncs from Sourcify) and Sourcify in one run:

image

PR Checklist

🐶 Cute Animal Picture

image

github-actions[bot] commented 11 months ago

Coverage after merging create3-tests into main will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   CreateX.sol100%100%100%100%