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

vm: adjust test runner with verkle state management #3716

Draft
wants to merge 53 commits into
base: master
Choose a base branch
from

Conversation

gabrocheleau
Copy link
Contributor

This PR improves the test runner so that a stateManager option can be passed in order to use a non-default (default being MerkleStateManager) state manager (for now, the only other option is stateManager=verkle, which will instantiate a StatefulVerkleStateManager to run the requested tests.

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 94.73684% with 2 lines in your changes missing coverage. Please review.

Project coverage is 75.83%. Comparing base (94d72e5) to head (519f5d2).

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 73.74% <ø> (ø)
blockchain 83.25% <ø> (ø)
client 73.99% <ø> (-0.02%) ⬇️
common 89.88% <90.90%> (-0.02%) ⬇️
devp2p 71.95% <ø> (ø)
evm 64.93% <100.00%> (+<0.01%) ⬆️
genesis 100.00% <ø> (ø)
mpt 52.09% <ø> (ø)
rlp 95.11% <ø> (ø)
statemanager 68.82% <0.00%> (-0.03%) ⬇️
tx 76.52% <ø> (ø)
util 72.81% <100.00%> (+0.08%) ⬆️
vm 57.30% <100.00%> (ø)
wallet 79.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@holgerd77
Copy link
Member

What is the status of this?

@acolytec3
Copy link
Contributor

I'm still using it to try and run the verkle test fixtures but it's not ready for merging. We still have some blockers when running verkle at genesis that I don't have a solution for. Notably, if verkle is at genesis, we have to figure out how to hack in an execution witness or else relax the requirements for creating verkle blocks. I have ideas but none are really elegant or don't introduce tech debt we don't want

@acolytec3
Copy link
Contributor

acolytec3 commented Oct 28, 2024

We need to merge 91d3dd3 and 0e9f438 to master and c61cf3d and 3d86e4f

acolytec3 and others added 30 commits October 29, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants