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

address case of block values exceeding long #4983

Merged
merged 2 commits into from
Jan 23, 2023

Conversation

garyschulte
Copy link
Contributor

@garyschulte garyschulte commented Jan 23, 2023

Signed-off-by: garyschulte [email protected]

PR description

address corner case where long does not fit the calculated block value included in engine_getPayloadV2.

Change BlockValueCalculator to use Wei rather than unnecessarily converting to long (just to later be converted again into a Quantity)

Fixed Issue(s)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

@garyschulte garyschulte requested review from jframe and siladu January 23, 2023 17:08
@garyschulte garyschulte enabled auto-merge (squash) January 23, 2023 17:08
Copy link
Contributor

@siladu siladu left a comment

Choose a reason for hiding this comment

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

LGTM

@garyschulte garyschulte merged commit 48702aa into hyperledger:main Jan 23, 2023
fab-10 pushed a commit to fab-10/besu that referenced this pull request Feb 1, 2023
* address case of block values exceeding long

Signed-off-by: garyschulte <[email protected]>
ensi321 pushed a commit to ensi321/besu that referenced this pull request Feb 19, 2023
* address case of block values exceeding long

Signed-off-by: garyschulte <[email protected]>
elenduuche pushed a commit to elenduuche/besu that referenced this pull request Aug 16, 2023
* address case of block values exceeding long

Signed-off-by: garyschulte <[email protected]>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* address case of block values exceeding long

Signed-off-by: garyschulte <[email protected]>
@garyschulte garyschulte deleted the bugfix/fix-block-value-type branch January 24, 2024 21:34
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