-
Notifications
You must be signed in to change notification settings - Fork 370
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: ica router management in core apply
#4820
base: main
Are you sure you want to change the base?
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 <[email protected]>
… 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
…y + fixed transaction issue when having to send txs on remote chains
…github.com:hyperlane-xyz/hyperlane-monorepo into xeno/ica-router-management-update
🦋 Changeset detectedLatest commit: a072e66 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 |
core apply
core apply
…to xeno/core-deploy-apply-admin-proxy-ownership-fixes
…github.com:hyperlane-xyz/hyperlane-monorepo into xeno/ica-router-management-update
…to xeno/ica-router-management-update
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4820 +/- ##
=======================================
Coverage 74.60% 74.60%
=======================================
Files 103 103
Lines 1516 1516
Branches 195 195
=======================================
Hits 1131 1131
Misses 364 364
Partials 21 21
|
…to xeno/ica-router-management-update
const transactions: AnnotatedEV5Transaction[] = []; | ||
|
||
const routesToUnenroll = Array.from( | ||
difference( |
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.
i like this! didn't realize we polyfilled this
const remoteTransactions: AnnotatedEV5Transaction[] = domainsToEnroll.map( | ||
(domainId) => ({ | ||
annotation: `Enrolling InterchainAccountRouter on domain ${this.domainId} on InterchainAccountRouter at ${expectedConfig[domainId].address} on domain ${domainId}`, | ||
chainId: Number(this.multiProvider.getChainId(domainId)), |
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.
think this is no longer true due to #4798
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.
Good catch! Should probably use the new getEvmChainId
method here
const remoteTransactions: AnnotatedEV5Transaction[] = routesToUnenroll.map( | ||
(domainId) => ({ | ||
annotation: `Removing InterchainAccountRouter on domain ${this.domainId} from InterchainAccountRouter at ${actualConfig[domainId].address} on domain ${domainId}`, | ||
chainId: Number(this.multiProvider.getChainId(domainId)), |
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.
ditto
…to xeno/ica-router-management-update
Description
This PR adds the required logic to enroll/unenroll ICAs between them when running
core apply
Drive-by changes
EvmIcaReader
EvmCoreModule
to read the current chain ICA configEvmIcaRouterReader
Related issues
core apply
#4819Backward compatibility
Testing
Note