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

Support deserializing block number in header from hex or number #863

Merged
merged 2 commits into from
Mar 18, 2023

Conversation

jsdw
Copy link
Collaborator

@jsdw jsdw commented Mar 17, 2023

Substrate returns hex based block numbers, but Smoldot returns plain old numbers. Make sure we can deserialize both.

@jsdw jsdw requested a review from a team March 17, 2023 23:05
@niklasad1 niklasad1 merged commit ae63d3d into master Mar 18, 2023
@niklasad1 niklasad1 deleted the number-or-hex-blocknum branch March 18, 2023 08:53
cmichi pushed a commit that referenced this pull request Mar 20, 2023
* test deserializing block number from hex or number

* cargo fmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants