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

Patch: use checked sum for locals counter #40

Merged
merged 5 commits into from
Dec 8, 2022
Merged

Patch: use checked sum for locals counter #40

merged 5 commits into from
Dec 8, 2022

Conversation

agryaznov
Copy link
Contributor

follow-up patch to #38

src/gas_metering/mod.rs Outdated Show resolved Hide resolved
agryaznov and others added 3 commits December 1, 2022 22:14
Not really necessary as these values are not user specified but lets eliminate
unchecked math from this crate where possible.
Copy link
Member

@athei athei left a comment

Choose a reason for hiding this comment

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

I simplified the if-else construct a bit.

@athei athei merged commit 54c4f8f into master Dec 8, 2022
@athei athei deleted the ag-locals-patch branch December 8, 2022 10:58
ukint-vs pushed a commit to gear-tech/wasm-instrument that referenced this pull request Oct 3, 2024
follow-up patch to paritytech#38

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
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