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

Add conversion and default functions for NumberOrHex #636

Merged
merged 6 commits into from Aug 25, 2022

Conversation

cmichi
Copy link
Contributor

@cmichi cmichi commented Aug 25, 2022

Needed for use-ink/ink#1234.

Shamelessly copied from sp-rc, which I guess you wanted to avoid as a dep.

@cmichi cmichi requested a review from ascjones August 25, 2022 08:51
subxt/src/rpc.rs Outdated Show resolved Hide resolved
Co-authored-by: Andrew Jones <ascjones@gmail.com>
subxt/src/rpc.rs Outdated Show resolved Hide resolved
subxt/src/rpc.rs Outdated Show resolved Hide resolved
@jsdw
Copy link
Collaborator

jsdw commented Aug 25, 2022

Aside from a couple of small niggles it looks good to me!

subxt/src/rpc.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@jsdw jsdw left a comment

Choose a reason for hiding this comment

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

LGTM!

@jsdw jsdw merged commit 0b2c31e into master Aug 25, 2022
@jsdw jsdw deleted the cmichi-add-conversion-functions-for-number-or-hex branch August 25, 2022 12:42
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.

None yet

3 participants