-
Notifications
You must be signed in to change notification settings - Fork 412
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
feat: core deploy apply admin proxy ownership fixes #4767
feat: core deploy apply admin proxy ownership fixes #4767
Conversation
…min field to allow deploy overrides and checks
…hod to retrive proxy admin data
…e an already existing proxy admi ncontract for deployments
…to xeno/warp-deploy-apply-ownership-fixes
…to xeno/warp-deploy-apply-ownership-fixes
…ents and admin proxy ownership transfer in warp apply
Co-authored-by: Paul Balaji <10051819+paulbalaji@users.noreply.github.com>
… to core init command
…nfig defines owners fro the mailbox proxy admin adn ica router and use those values intead of the signer
…to xeno/warp-deploy-apply-ownership-fixes
…to xeno/warp-deploy-apply-ownership-fixes
…t defined on the type
…to xeno/core-deploy-apply-admin-proxy-ownership-fixes
…yperlane-xyz/hyperlane-monorepo into xeno/core-deploy-apply-admin-proxy-ownership-fixes
…r the mailbox contract
…admin proxy ownership code
…ly for core command testing
…to xeno/core-deploy-apply-admin-proxy-ownership-fixes
…to xeno/warp-deploy-apply-ownership-fixes
…yperlane-xyz/hyperlane-monorepo into xeno/core-deploy-apply-admin-proxy-ownership-fixes
🦋 Changeset detectedLatest commit: 52936e1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…to xeno/core-deploy-apply-admin-proxy-ownership-fixes
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4767 +/- ##
=======================================
Coverage 74.58% 74.58%
=======================================
Files 103 103
Lines 1515 1515
Branches 195 195
=======================================
Hits 1130 1130
Misses 364 364
Partials 21 21
|
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.
e2e test failing in CI. it might be related to using anvil1, which is used by foundry-test.
…to xeno/core-deploy-apply-admin-proxy-ownership-fixes
### Description This PR adds the required logic to enroll/unenroll ICAs between them when running `core apply` ### Drive-by changes - Implements the `EvmIcaReader` - Updates the `EvmCoreModule` to read the current chain ICA config - Adds tests for the `EvmIcaRouterReader` ### Related issues - Fixes #4819 ### Backward compatibility - Yes ### Testing - Manual - E2E ### Note - merge #4767 first --------- Co-authored-by: Paul Balaji <10051819+paulbalaji@users.noreply.github.com>
### Description This PR updates the `hyperlane core init`, `hyperlane core deploy` and `hyperlane core apply` commands to allow a user to change ownership of the mailbox ProxyAdmin contract by setting a value in the config. ### Drive-by changes - deduped `randomAddress` test util implementations across the `sdk`, 'infra' and `cli` package - added `anvil1` to the `run-e2e-test.sh` script to test `hyperlane core` commands in isolation - implemented the `proxyAdminOwnershipUpdateTxs` to deduplicate proxy admin ownership tx data generation ### Related issues - Fixes hyperlane-xyz#4728 ### Backward compatibility - Yes ### Testing - Manual - e2e ### NOTE: - Merge hyperlane-xyz#4726 first --------- Co-authored-by: Paul Balaji <10051819+paulbalaji@users.noreply.github.com>
### Description This PR adds the required logic to enroll/unenroll ICAs between them when running `core apply` ### Drive-by changes - Implements the `EvmIcaReader` - Updates the `EvmCoreModule` to read the current chain ICA config - Adds tests for the `EvmIcaRouterReader` ### Related issues - Fixes hyperlane-xyz#4819 ### Backward compatibility - Yes ### Testing - Manual - E2E ### Note - merge hyperlane-xyz#4767 first --------- Co-authored-by: Paul Balaji <10051819+paulbalaji@users.noreply.github.com>
### Description This PR updates the `hyperlane core init`, `hyperlane core deploy` and `hyperlane core apply` commands to allow a user to change ownership of the mailbox ProxyAdmin contract by setting a value in the config. ### Drive-by changes - deduped `randomAddress` test util implementations across the `sdk`, 'infra' and `cli` package - added `anvil1` to the `run-e2e-test.sh` script to test `hyperlane core` commands in isolation - implemented the `proxyAdminOwnershipUpdateTxs` to deduplicate proxy admin ownership tx data generation ### Related issues - Fixes hyperlane-xyz#4728 ### Backward compatibility - Yes ### Testing - Manual - e2e ### NOTE: - Merge hyperlane-xyz#4726 first --------- Co-authored-by: Paul Balaji <10051819+paulbalaji@users.noreply.github.com>
### Description This PR adds the required logic to enroll/unenroll ICAs between them when running `core apply` ### Drive-by changes - Implements the `EvmIcaReader` - Updates the `EvmCoreModule` to read the current chain ICA config - Adds tests for the `EvmIcaRouterReader` ### Related issues - Fixes hyperlane-xyz#4819 ### Backward compatibility - Yes ### Testing - Manual - E2E ### Note - merge hyperlane-xyz#4767 first --------- Co-authored-by: Paul Balaji <10051819+paulbalaji@users.noreply.github.com>
Description
This PR updates the
hyperlane core init
,hyperlane core deploy
andhyperlane core apply
commands to allow a user to change ownership of the mailbox ProxyAdmin contract by setting a value in the config.Drive-by changes
randomAddress
test util implementations across thesdk
, 'infra' andcli
packageanvil1
to therun-e2e-test.sh
script to testhyperlane core
commands in isolationproxyAdminOwnershipUpdateTxs
to deduplicate proxy admin ownership tx data generationRelated issues
Backward compatibility
Testing
NOTE: