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(cli): enable HypFiatCollateral warp route deployments #3952

Conversation

AlexBHarley
Copy link
Contributor

@AlexBHarley AlexBHarley commented Jun 12, 2024

Description

Small fix to the CLI to enable HypFiatCollateral warp route deployments.

My understanding is that all the collateral Hyp tokens require the collateralAddressOrDenom property in their warp route config.

You can test this here, just ping me for some of the fake USDC tokens.

Drive-by changes

N/A

Related issues

Backward compatibility

Yes

Testing

CLI and warp UI

Copy link

changeset-bot bot commented Jun 12, 2024

🦋 Changeset detected

Latest commit: 7cb2d10

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

This PR includes changesets to release 7 packages
Name Type
@hyperlane-xyz/cli Patch
@hyperlane-xyz/core Patch
@hyperlane-xyz/ccip-server Patch
@hyperlane-xyz/helloworld Patch
@hyperlane-xyz/infra Patch
@hyperlane-xyz/sdk Patch
@hyperlane-xyz/utils 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

Copy link

codecov bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.39%. Comparing base (51bfff6) to head (7cb2d10).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3952   +/-   ##
=======================================
  Coverage   60.39%   60.39%           
=======================================
  Files         129      129           
  Lines        1659     1659           
  Branches      177      177           
=======================================
  Hits         1002     1002           
  Misses        630      630           
  Partials       27       27           
Components Coverage Δ
core 84.61% <ø> (ø)
hooks 67.50% <ø> (ø)
isms 39.52% <ø> (ø)
token 63.69% <ø> (ø)
middlewares 77.05% <ø> (ø)

Comment on lines 166 to 167
config.type === TokenType.collateral ||
config.type == TokenType.collateralFiat
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jmrossy what's the timeline for CLI 2.0, or are people already trying it out?

Could do this branch on top of that if we prefer. Otherwise a TODO seems appropriate

Copy link
Member

Choose a reason for hiding this comment

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

TODO is fine
will followup when we are merging CLI 2.0, hopefully in a couple days

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.

LGTM but please check with @cmcewen whether this should merge into main or cli2.0

@ltyu
Copy link
Contributor

ltyu commented Jul 11, 2024

closing this as a dupe to #4133

@ltyu ltyu closed this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants