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

Dpos storage size #2288

Open
mfrankovi opened this issue Jan 24, 2023 · 1 comment · Fixed by Taraxa-project/taraxa-evm#140
Open

Dpos storage size #2288

mfrankovi opened this issue Jan 24, 2023 · 1 comment · Fixed by Taraxa-project/taraxa-evm#140
Labels
task A small task that is, most likely, part of an Epic

Comments

@mfrankovi
Copy link
Contributor

On a mainnet instance state_db takes almost as much space as the standard db. Inside of it over 90% of storage is taken by the validators storage which is increased on every block when rewards are distributed. Investigate if there is a way to optimize this to reduce the size.

@mfrankovi mfrankovi added the task A small task that is, most likely, part of an Epic label Jan 24, 2023
@kstdl kstdl assigned kstdl and unassigned MatusKysel Jan 30, 2023
@kstdl
Copy link
Contributor

kstdl commented Mar 13, 2023

In this task I also checked why splitting one DPOS contract object into two requires a lot more space(I expected some raise, but not so big). And the thing is that we are saving data by some hash in data, and adding this hash to MPT, so we can find data. So I believe a lot of optimizations could be done there

@kstdl kstdl removed their assignment Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task A small task that is, most likely, part of an Epic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants