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

cli warp deploy should prompt for native metadata #3963

Open
ltyu opened this issue Jun 13, 2024 · 0 comments
Open

cli warp deploy should prompt for native metadata #3963

ltyu opened this issue Jun 13, 2024 · 0 comments
Assignees
Labels

Comments

@ltyu
Copy link
Contributor

ltyu commented Jun 13, 2024

Problem

Currently, using hyperlane warp deploy to deploy a native token expects the nativeToken property either in the metadata.yaml (registry) or the warpConfig. If this is not provided, the CLI will panic. To get around this is, users must manually add nativeToken into the metadata file. This is problematic because CLI users are not aware of this issue, and may not know how to respond.

Solution

  • Consider adding prompts for this if it is missing from the metadata
  • If there is no preference, it is easier to keep nativeToken inside of metadata.ts as there are many dependencies on this such as (igp.ts, gas-oracle.ts, etc.)
  • Subsequently, update the metadata or warp config with the user entered values
@ltyu ltyu added the CLI label Jun 13, 2024
@ltyu ltyu self-assigned this Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Next Sprint
Development

No branches or pull requests

1 participant