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

[balances] fix balance entry serde hack #146

Merged
merged 2 commits into from
Feb 15, 2022

Conversation

clangenb
Copy link
Member

@brenzi
Copy link
Member

brenzi commented Feb 14, 2022

Oh, nice!

@clangenb clangenb force-pushed the cl/fix-balance-entry-serde-hack branch from 0ba9ff4 to fd22d80 Compare February 14, 2022 16:06
@clangenb
Copy link
Member Author

Tested with node, works

@clangenb clangenb requested a review from brenzi February 14, 2022 16:18
Copy link
Member

@brenzi brenzi left a comment

Choose a reason for hiding this comment

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

I like. Maybe you could add a comment pointing to this PR to the upstream issue for the next sufferer?

@clangenb
Copy link
Member Author

I tried to be verbose here:

/// Serialization shim for fixed point numbers that is consistent with `polkadot-js`'s implementation.

Shall I additionally add a comment in the README? I have problems thinking of the most suitable place

@clangenb
Copy link
Member Author

I tried to be verbose here:

/// Serialization shim for fixed point numbers that is consistent with `polkadot-js`'s implementation.

Shall I additionally add a comment in the README? I have problems thinking of the most suitable place

Added dev-hint section.

@clangenb clangenb merged commit 4216069 into master Feb 15, 2022
@clangenb clangenb deleted the cl/fix-balance-entry-serde-hack branch March 3, 2022 13:08
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.

[rpc] properly serialize balances
2 participants