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

refactor: dedupe HyperlaneIsmFactory and IsmModule.create #4732

Merged
merged 13 commits into from
Oct 28, 2024

Conversation

yorhodes
Copy link
Member

@yorhodes yorhodes commented Oct 22, 2024

Description

  • Uses HyperlaneIsmFactory in IsmModuleCreate for deduping redundant code

Backward compatibility

Yes

Testing

Unit tests

Copy link

changeset-bot bot commented Oct 22, 2024

🦋 Changeset detected

Latest commit: c522d9b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@hyperlane-xyz/utils Patch
@hyperlane-xyz/sdk Patch
@hyperlane-xyz/core Patch
@hyperlane-xyz/cli Patch
@hyperlane-xyz/infra Patch
@hyperlane-xyz/widgets Patch
@hyperlane-xyz/helloworld Patch
@hyperlane-xyz/ccip-server Patch
@hyperlane-xyz/github-proxy Patch

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

@yorhodes yorhodes changed the title Dedupe HyperlaneIsmFactory and IsmModule.create refactor: dedupe HyperlaneIsmFactory and IsmModule.create Oct 22, 2024
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.81%. Comparing base (29bf1d8) to head (63bc5fe).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4732   +/-   ##
=======================================
  Coverage   73.81%   73.81%           
=======================================
  Files         101      101           
  Lines        1455     1455           
  Branches      191      191           
=======================================
  Hits         1074     1074           
  Misses        360      360           
  Partials       21       21           
Components Coverage Δ
core 84.61% <ø> (ø)
hooks 75.71% <ø> (ø)
isms 77.58% <ø> (ø)
token 88.13% <ø> (ø)
middlewares 77.39% <ø> (ø)

@yorhodes yorhodes marked this pull request as ready for review October 23, 2024 19:18
Copy link
Contributor

@paulbalaji paulbalaji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall lgtm

typescript/sdk/src/hook/EvmHookModule.ts Show resolved Hide resolved
typescript/sdk/src/hook/EvmHookModule.ts Show resolved Hide resolved
typescript/sdk/src/contracts/contracts.ts Show resolved Hide resolved
typescript/sdk/src/ism/HyperlaneIsmFactory.ts Outdated Show resolved Hide resolved
@yorhodes yorhodes added this pull request to the merge queue Oct 28, 2024
Merged via the queue into main with commit e104cf6 Oct 28, 2024
25 checks passed
@yorhodes yorhodes deleted the dedupe-ism-deploy branch October 28, 2024 17:38
paulbalaji pushed a commit that referenced this pull request Oct 29, 2024
### Description

- Uses HyperlaneIsmFactory in IsmModuleCreate for deduping redundant
code

### Backward compatibility

Yes

### Testing

Unit tests
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.

4 participants