Skip to content
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

fix: write merkle & IGP hook addresses if created by core deploy #4607

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

paulbalaji
Copy link
Contributor

@paulbalaji paulbalaji commented Oct 2, 2024

Description

original:
there was a series of related problems that people are encountering with cli deploys where the merkleTreeHook is deployed but its address is not included in the artifacts. this PR was intended to bring parity with how infra does it, we can also update for now to only add the merkleTreeHook to the output to unblock the base problem people are having

update:
restricted to just merkleTreeHook and interchainGasPaymaster to provide MVP fix

image

Related issues

hyperlane-xyz/hyperlane-registry#240 (comment)
hyperlane-xyz/hyperlane-registry#236 (comment)
hyperlane-xyz/hyperlane-registry#237 (comment)

Backward compatibility

yes

Testing

manual

Copy link

changeset-bot bot commented Oct 2, 2024

⚠️ No Changeset found

Latest commit: 36226b4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@paulbalaji paulbalaji requested review from xeno097 and removed request for jmrossy, yorhodes, tkporter and Mo-Hussain October 2, 2024 17:31
xeno097
xeno097 previously approved these changes Oct 2, 2024
@paulbalaji paulbalaji changed the title fix: write all addresses created in core deploy fix: write merkle & IGP hook addresses if created by core deploy Oct 3, 2024
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.89%. Comparing base (b04dd9a) to head (36226b4).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4607   +/-   ##
=======================================
  Coverage   73.89%   73.89%           
=======================================
  Files         100      100           
  Lines        1421     1421           
  Branches      180      180           
=======================================
  Hits         1050     1050           
  Misses        350      350           
  Partials       21       21           
Components Coverage Δ
core 84.61% <ø> (ø)
hooks 75.71% <ø> (ø)
isms 79.20% <ø> (ø)
token 88.23% <ø> (ø)
middlewares 77.39% <ø> (ø)

Signed-off-by: pbio <[email protected]>
@paulbalaji paulbalaji added this pull request to the merge queue Oct 4, 2024
Merged via the queue into main with commit ca86da4 Oct 4, 2024
34 checks passed
@paulbalaji paulbalaji deleted the pb/core-artifacts branch October 4, 2024 00:27
paulbalaji added a commit that referenced this pull request Oct 4, 2024
### Description

original:
there was a series of related problems that people are encountering with
cli deploys where the merkleTreeHook is deployed but its address is not
included in the artifacts. this PR was intended to bring parity with how
infra does it, we can also update for now to only add the merkleTreeHook
to the output to unblock the base problem people are having

update:
restricted to just `merkleTreeHook` and `interchainGasPaymaster` to
provide MVP fix


![image](https://github.com/user-attachments/assets/9f38c3a8-5240-4cbe-a224-161a7a4da8af)

### Related issues


hyperlane-xyz/hyperlane-registry#240 (comment)

hyperlane-xyz/hyperlane-registry#236 (comment)

hyperlane-xyz/hyperlane-registry#237 (comment)

### Backward compatibility

yes

### Testing

manual

---------

Signed-off-by: pbio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants