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

Fix goerli state db size assumptions #5931

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

MarekM25
Copy link
Contributor

Changes

Fixed tests assumptions about the size of goerli chain

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: tests fix

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Notes on testing

Optional. Remove if not applicable.

Documentation

Requires documentation update

  • Yes
  • No

If yes, link the PR to the docs update or the issue with the details labeled docs. Remove if not applicable.

Requires explanation in Release Notes

  • Yes
  • No

If yes, fill in the details here. Remove if not applicable.

Remarks

Optional. Remove if not applicable.

@kamilchodola
Copy link
Contributor

@MarekM25
Current goerli size:

50G	./sedge-data/execution-data/nethermind_db/goerli/state/0
50G	./sedge-data/execution-data/nethermind_db/goerli/state
32G	./sedge-data/execution-data/nethermind_db/goerli/receipts
172G	./sedge-data/execution-data/nethermind_db/goerli/blocks
7.2G	./sedge-data/execution-data/nethermind_db/goerli/code
8.0K	./sedge-data/execution-data/nethermind_db/goerli/peers
4.1M	./sedge-data/execution-data/nethermind_db/goerli/witness
412M	./sedge-data/execution-data/nethermind_db/goerli/blockInfos
2.4G	./sedge-data/execution-data/nethermind_db/goerli/bloom
3.5G	./sedge-data/execution-data/nethermind_db/goerli/headers
4.1M	./sedge-data/execution-data/nethermind_db/goerli/canonicalHashTrie
4.2M	./sedge-data/execution-data/nethermind_db/goerli/metadata
1.4M	./sedge-data/execution-data/nethermind_db/goerli/discoveryNodes
267G	./sedge-data/execution-data/nethermind_db/goerli
267G	./sedge-data/execution-data/nethermind_db

To what this value You changed is referring to?

@MarekM25
Copy link
Contributor Author

Thx for these stats - super useful. I think it is better to update those tests as we would reach 58 GB quickly and it is a blocker for now for many PRs. However, I will update chain calculation soon

@MarekM25 MarekM25 merged commit f9cdd97 into master Jul 14, 2023
61 checks passed
@MarekM25 MarekM25 deleted the update_goerli_chain_size_assumptions branch July 14, 2023 10:15
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.

4 participants