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

Better support for GasWeightMapping u32 #185

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Conversation

crystalin
Copy link
Collaborator

What does it do?

It allows a better GasWeight conversation when usize is set to u32 type.

What important points reviewers should know?

Wei will change the gas type from usize to u64 in future and this mapping will be improved at some point.

Copy link
Contributor

@notlesh notlesh left a comment

Choose a reason for hiding this comment

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

LGTM.

If I'm understanding this correctly, wasm is going to consistently be 32-bit -- is that right?

@crystalin crystalin merged commit bcc29cf into master Jan 19, 2021
@crystalin crystalin deleted the crystalin-fix-usize-gas branch January 19, 2021 00:56
@crystalin
Copy link
Collaborator Author

Not sure, I asked the question to Parity

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.

2 participants