-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Create3 with ZeframLou/create3-factory #1387
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## feat/devnet-upper #1387 +/- ##
=====================================================
Coverage 50.88921% 50.88921%
=====================================================
Files 353 353
Lines 24966 24966
Branches 277 277
=====================================================
Hits 12705 12705
Misses 10981 10981
Partials 1280 1280
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
LGTM - but think we should keep a deploy script that imports the create3 lib in our scripts folder, so that it creates our standardized deployment JSON using DeployerUtils vs fully forcing the deployer to use zefram/create3 to deploy |
Can do this. One thing to consider here is @ChiTimesChi is working on a deployer-utils folder soon and I don't know how well tested the Happy to re-include for now |
WalkthroughThis pull request primarily involves changes related to the Changes
TipsChat with CodeRabbit Bot (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 1
Files selected for processing (5)
- .gitmodules (1 hunks)
- packages/contracts-core/lib/create3-factory (1 hunks)
- packages/contracts-core/remappings.txt (1 hunks)
- packages/contracts-core/script/DeployCREATE3Factory.sol (1 hunks)
- packages/contracts-core/script/utils/DeployerUtils.sol (1 hunks)
Files skipped from review due to trivial changes (3)
- .gitmodules
- packages/contracts-core/lib/create3-factory
- packages/contracts-core/remappings.txt
Additional comments (Suppressed): 3
packages/contracts-core/script/DeployCREATE3Factory.sol (1)
- 7-16: The contract name has been changed from
DeployCREATE3
toDeployCREATE3Factory
. Ensure that all references to this contract throughout the codebase have been updated to match the new name. Also, verify that the new import path forCREATE3Factory
is correct and accessible.packages/contracts-core/script/utils/DeployerUtils.sol (2)
8-8: The import path for
CREATE3Factory
has been updated. Ensure that the new path correctly points to theCREATE3Factory.sol
file in thecreate3
module.10-11: No changes have been made to the
ICreate3Factory
interface. This is good as it ensures compatibility with existing code that uses this interface.
* docker first pass * fix omnirpc port default behavior * Docker-compose updates * add guide for adding new go modules * typo fix * indentation fix * kink fix * remove vanity * devnet fix * backup for max attempt change * hi * make retry defaults more sensible * lint fix * Revert "hi" This reverts commit 60dd2b7. * test * omnirpc chains endpoint * close response handle * actually close response * more fixes * wip * forge install: solmate * newmates * create3 * create3factory * custom config path * Revert "custom config path" This reverts commit 47ee5f9. * deploy config defaults * Revert "deploy config defaults" This reverts commit 969a6cd. * devnet check * basic updates * factory fixes * cleanup * devnet up/down * first pass * guard it up * guard * 1 notary * more updates * fix wrong domain in deploy script * diff fix * comment fix * agent proof updates * synapse domain fix * generic linter fix * get guard to boot [goreleaser] * more yaml lint * some nice debugging tools * generic linter fix * finish devnet * fix lint commandS * d * wrap up rudimentary devneT * create3 * deployer/create fix * fix ubuntu * lowercase non-constants * icreate3 import * Revert "icreate3 import" This reverts commit bcb2522. * move to internal * another internal change * update installs on dev containers for easier debugging * Update packages/contracts-core/README.md Co-authored-by: χ² <[email protected]> * address #1381 (comment) * Replace Create3 with ZeframLou/create3-factory (#1387) * create3 * forge install: create3-factory * replace create3 w/ external module * fix naming issues * create3 factory re-addition to address #1387 (comment) --------- Co-authored-by: Trajan0x <[email protected]> * Revert "Replace Create3 with ZeframLou/create3-factory (#1387)" (#1388) This reverts commit 616c5ab. * Replace Create3 with ZeframLou/create3-factory This reverts commit 6b100fd. * fix package issue --------- Co-authored-by: Trajan0x <[email protected]> Co-authored-by: χ² <[email protected]> Co-authored-by: Daniel Wasserman <[email protected]>
Description
Addresses: #1381 (comment) by using https://github.com/ZeframLou/create3-factory
Summary by CodeRabbit
packages/contracts-core/lib/create3-factory
to a new repository.create3
in thelib/create3-factory/src
directory.DeployCREATE3
toDeployCREATE3Factory
and updated its import statements. The contract file is now part of a common deployer-utils package.CREATE3Factory
contract inDeployerUtils.sol
, indicating a change in the contract's location.