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(nodebuilder/share/cmd): Fix parsing of uint for height in share rpc CLI commands #3294

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

renaynay
Copy link
Member

@renaynay renaynay commented Apr 4, 2024

This PR resolves #3226

image

Numbers with an even amount of digits are valid hex :) we should try to parse uint first, then attempt to parse hash.

Copy link
Member

@Wondertan Wondertan left a comment

Choose a reason for hiding this comment

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

Hehe

@renaynay renaynay merged commit 7a65671 into celestiaorg:main Apr 4, 2024
28 checks passed
@renaynay renaynay deleted the fix-rpccmd-parse branch April 4, 2024 13:34
Wondertan pushed a commit that referenced this pull request Apr 21, 2024
… rpc CLI commands (#3294)

This PR resolves
#3226


![image](https://github.com/celestiaorg/celestia-node/assets/41963722/6d7f199d-9f42-43c1-b803-8aa4c755bd2a)

Numbers with an even amount of digits are valid hex :) we should try to
parse uint first, then attempt to parse hash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:cli area:rpc kind:fix Attached to bug-fixing PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cmd/rpc: share get-eds command doesn't parse height argument correctly
3 participants