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] Implement Verkle #6961

Draft
wants to merge 82 commits into
base: main
Choose a base branch
from
Draft

[VERKLE] Implement Verkle #6961

wants to merge 82 commits into from

Conversation

matkt
Copy link
Contributor

@matkt matkt commented Apr 17, 2024

PR description

use : https://github.com/hyperledger/besu-verkle-trie

Fixed Issue(s)

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 added 30 commits November 28, 2023 11:37
Signed-off-by: Karim TAAM <[email protected]>
Signed-off-by: Karim TAAM <[email protected]>
Signed-off-by: Karim TAAM <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
@matkt matkt added the verkle label Jun 12, 2024
Signed-off-by: Karim Taam <[email protected]>
matkt and others added 12 commits June 25, 2024 16:13
Signed-off-by: Karim Taam <[email protected]>
This commit encodes balance, nonce, version and code size into a single leaf in Verkle, while code hash has its own leaf, as mandated by EIP-6800.

Signed-off-by: Luis Pinto <[email protected]>
Co-authored-by: Karim Taam <[email protected]>
* Add support for running verkle execution spec tests

Signed-off-by: Luis Pinto <[email protected]>

Add support for running verkle execution spec tests

Signed-off-by: Luis Pinto <[email protected]>

* fixup! Add support for running verkle execution spec tests

 missing persist method call from initialization

Signed-off-by: Luis Pinto <[email protected]>

---------

Signed-off-by: Luis Pinto <[email protected]>
…EAF (#7681)

* Fix storing BASIC_DATA_LEAF values in Big endian order

Signed-off-by: Luis Pinto <[email protected]>

* Write code hash on account creation in all cases

Signed-off-by: Luis Pinto <[email protected]>

---------

Signed-off-by: Luis Pinto <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
…7751)

* Fix BASIC_DATA_LEAF update on account with existing code size value

Signed-off-by: Luis Pinto <[email protected]>

* fixup! Fix BASIC_DATA_LEAF update on account with existing code size value

 grab current code from accumulator instead

Signed-off-by: Luis Pinto <[email protected]>

---------

Signed-off-by: Luis Pinto <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
matkt and others added 5 commits November 4, 2024 11:36
Signed-off-by: Karim Taam <[email protected]>
* Move EIP-4762 gas charging for contract account creation from code successfully created to transaction start

Signed-off-by: Luis Pinto <[email protected]>

* fixup! Move EIP-4762 gas charging for contract account creation from code successfully created to transaction start

 compact code for debug printing witness gas schedule

Signed-off-by: Luis Pinto <[email protected]>

* fixup! Move EIP-4762 gas charging for contract account creation from code successfully created to transaction start

 update verkle reference tests build

Signed-off-by: Luis Pinto <[email protected]>

---------

Signed-off-by: Luis Pinto <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
@matkt matkt closed this Nov 28, 2024
@matkt matkt deleted the verkle branch November 28, 2024 15:45
@matkt matkt restored the verkle branch November 28, 2024 16:23
@matkt matkt reopened this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants