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

Verkle 645 #7004

Merged
merged 13 commits into from Apr 29, 2024
Merged

Verkle 645 #7004

merged 13 commits into from Apr 29, 2024

Conversation

garyschulte
Copy link
Contributor

@garyschulte garyschulte commented Apr 27, 2024

PR description

Fixed Issue(s)

Accumulated fixes to progress past block 645 on devnet-6.
reverts Shanghai and Prague Gas calculator changes
creates Eip4762 definition and calculator to consolidate prior gas calc changes

Thanks for sending a pull request! Have you done the following?

  • Checked out our contribution guidelines?
  • Considered documentation and added the doc-change-required label to this PR if updates are required.
  • Considered the changelog and included an update if required.
  • For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

  • unit tests: ./gradlew build
  • acceptance tests: ./gradlew acceptanceTest
  • integration tests: ./gradlew integrationTest
  • reference tests: ./gradlew ethereum:referenceTests:referenceTests

matkt and others added 12 commits April 27, 2024 06:42
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
…CodeChunks

Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
refactor access witness code part

Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Comment on lines +53 to 54
return gasCalculator().getBalanceOperationGasCost(frame, maybeAddress)
+ (accountIsWarm
Copy link
Contributor Author

Choose a reason for hiding this comment

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

any reason not to be consistent and use clampedAdd ?

return gasCalculator().getExtCodeSizeOperationGasCost()
protected long cost(
final boolean accountIsWarm, final MessageFrame frame, final Optional<Address> maybeAddress) {
return gasCalculator().getExtCodeSizeOperationGasCost(frame, maybeAddress)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

same, clampedAdd

@garyschulte garyschulte merged commit 5e1f384 into hyperledger:verkle Apr 29, 2024
1 check passed
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.

None yet

2 participants