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

feat: Add hook update into WarpModule.update() #4891

Merged
merged 20 commits into from
Dec 2, 2024
Merged

Conversation

ltyu
Copy link
Contributor

@ltyu ltyu commented Nov 22, 2024

Description

This is a multi-part PR.

This adds createHookUpdateTxs() to WarpModule.update() such that it updates a warp route without a hook, and one with an existing hook.

Related issues

Backward compatibility

Yes

Testing

Unit Tests

Copy link

changeset-bot bot commented Nov 22, 2024

🦋 Changeset detected

Latest commit: dfadd43

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/sdk Minor
@hyperlane-xyz/cli Minor
@hyperlane-xyz/helloworld Minor
@hyperlane-xyz/infra Minor
@hyperlane-xyz/widgets Minor
@hyperlane-xyz/ccip-server Minor
@hyperlane-xyz/github-proxy Minor
@hyperlane-xyz/utils Minor
@hyperlane-xyz/core 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

@jmrossy jmrossy changed the title fea: Add warp apply for hook in WarpModule feat: Add warp apply for hook in WarpModule Nov 25, 2024
@ltyu ltyu marked this pull request as draft November 25, 2024 21:00
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.40%. Comparing base (a94c50f) to head (dfadd43).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4891   +/-   ##
=======================================
  Coverage   77.40%   77.40%           
=======================================
  Files         103      103           
  Lines        2111     2111           
  Branches      195      195           
=======================================
  Hits         1634     1634           
  Misses        456      456           
  Partials       21       21           
Components Coverage Δ
core 87.80% <ø> (ø)
hooks 79.39% <ø> (ø)
isms 83.68% <ø> (ø)
token 91.27% <ø> (ø)
middlewares 78.91% <ø> (ø)

@ltyu ltyu marked this pull request as ready for review November 27, 2024 21:21
@ltyu ltyu changed the title feat: Add warp apply for hook in WarpModule feat: Add hook update into WarpModule Nov 27, 2024
@ltyu ltyu changed the title feat: Add hook update into WarpModule feat: Add hook update into WarpModule.update() Nov 27, 2024
Copy link
Contributor

@jmrossy jmrossy left a comment

Choose a reason for hiding this comment

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

I don't know this code well but the changes look fine to me :)

typescript/sdk/src/token/EvmERC20WarpModule.ts Outdated Show resolved Hide resolved
typescript/sdk/src/token/EvmERC20WarpModule.ts Outdated Show resolved Hide resolved
typescript/sdk/src/token/EvmERC20WarpModule.ts Outdated Show resolved Hide resolved
@ltyu ltyu enabled auto-merge December 2, 2024 18:09
@ltyu ltyu disabled auto-merge December 2, 2024 18:16
@ltyu ltyu added this pull request to the merge queue Dec 2, 2024
Merged via the queue into main with commit 170a0fc Dec 2, 2024
36 of 37 checks passed
@ltyu ltyu deleted the ltyu/warp-apply-hook branch December 2, 2024 19:12
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.

Implement WarpCrudModule update(WarpConfig) with HookConfig
4 participants