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

fix(cli): handle id and named chain_id's correctly #9480

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Conversation

yash-atreya
Copy link
Member

Motivation

Closes #9476

Currently, when inserting the passed chain into figment dict we don't differentiate between ChainKind::Id and ChainKind::NamedChain, even though they hold different types underneath; u64 and String respectively.

Solution

Insert Chain into dict according to Id or NamedChain

Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

Lgtm! Can we add a test with command from ticket?

@yash-atreya yash-atreya enabled auto-merge (squash) December 4, 2024 07:22
@yash-atreya yash-atreya merged commit 3a1e76b into master Dec 4, 2024
21 checks passed
@yash-atreya yash-atreya deleted the yash/fix-9476 branch December 4, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

cast call --chain fails on custom chain ids
3 participants