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

fix: use u128 for calc_blob_gasprice #764

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

Rjected
Copy link
Collaborator

@Rjected Rjected commented Oct 2, 2023

This uses u128 for calc_blob_gasprice and fake_exponential. This solves an issue where an excess_blob_gas value of 161087488 in hive tests should produce a value over 128 bits, but did not because of the following cast:

(output / denominator) as u64

@rakita rakita merged commit 83d27b0 into bluealloy:main Oct 2, 2023
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