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

Flatten DB #2980

Open
wants to merge 153 commits into
base: master
Choose a base branch
from
Open

Flatten DB #2980

wants to merge 153 commits into from

Conversation

scorbajio
Copy link
Contributor

@scorbajio scorbajio commented Aug 22, 2023

The aim of this change is to implement a flat database design for keeping state data in. This work will be integrated with the snap sync implementation for keeping snapshots of the latest 128 states. This work picks up where #780 left off. The goal is to first implement the StackTrie structure, then to implement the Snapshot and database wrapper necessary for data persistence.

@holgerd77
Copy link
Member

holgerd77 commented Aug 24, 2023

Side note: VM is definitely the wrong package, that's clear I guess, assuming a bit this is just for testing? Just to point out, so that this doesn't "settle at the wrong place" 😋, I know though that this is very very early.

@scorbajio scorbajio mentioned this pull request Aug 23, 2023
4 tasks
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Attention: Patch coverage is 60.51780% with 122 lines in your changes missing coverage. Please review.

Project coverage is 25.94%. Comparing base (4470cc3) to head (5e3c2d0).
Report is 35 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 66.20% <ø> (-7.25%) ⬇️
blockchain 84.92% <ø> (?)
client 0.00% <ø> (ø)
common 89.68% <ø> (?)
devp2p 0.00% <ø> (?)
evm 65.09% <ø> (?)
genesis 0.00% <ø> (?)
trie 54.65% <93.75%> (?)
tx 76.90% <ø> (-0.88%) ⬇️
util 66.40% <14.06%> (?)
vm 58.16% <80.00%> (?)
wallet ?

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

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