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

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/modern-pianos-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/cli': patch
---

Enable HypFiatCollateral warp route deployments
5 changes: 4 additions & 1 deletion typescript/cli/src/deploy/warp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,12 @@ async function getWarpCoreConfig(
return wrappedToken;
}

// todo: merge this with CollateralExtensions when CLI 2.0 is out
// https://github.com/hyperlane-xyz/hyperlane-monorepo/pull/3838/files#diff-a1429ad1c3e9d3fe43d28f08333e95f6c79176b6d36873e42e455e5e806826aaR16
if (
config.type === TokenType.collateral ||
config.type === TokenType.XERC20
config.type === TokenType.XERC20 ||
config.type === TokenType.collateralFiat
) {
return config.token;
}
Expand Down
Loading