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

Bsp-geth-DTM-RC:v1.8.4 #236

Merged
merged 10 commits into from
Jan 10, 2025
Merged

Bsp-geth-DTM-RC:v1.8.4 #236

merged 10 commits into from
Jan 10, 2025

Conversation

noslav
Copy link
Member

@noslav noslav commented Jan 10, 2025

Release bsp-geth minor version upgrade for geth-v1.13.15

rjl493456442 and others added 10 commits April 17, 2024 07:22
* eth/protocols/snap: skip retrieval for completed storages

* eth/protocols/snap: address comments from peter

* eth/protocols/snap: add comments
This PR adds a limit of 1000 to the "inner" topics in a filter-criteria
…mplement gentrie (#29313)

This pull request defines a gentrie for snap sync purpose.

The stackTrie is used to generate the merkle tree nodes upon receiving a state batch. Several additional options have been added into stackTrie to handle incomplete states (either missing states before or after).

In this pull request, these options have been relocated from stackTrie to genTrie, which serves as a wrapper for stackTrie specifically for snap sync purposes.

Further, the logic for managing incomplete state has been enhanced in this change. Originally, there are two cases handled:

-    boundary node filtering
-    internal (covered by extension node) node clearing

This changes adds one more:

- Clearing leftover nodes on the boundaries.

This feature is necessary if there are leftover trie nodes in database, otherwise node inconsistency may break the state healing.
Bumps alpine from 3.20 to 3.21.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…ine-3.21

build(deps): bump alpine from 3.20 to 3.21
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 70.14925% with 60 lines in your changes missing coverage. Please review.

Project coverage is 53.70%. Comparing base (353eb3a) to head (ba971a8).
Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
eth/protocols/snap/sync.go 52.68% 35 Missing and 9 partials ⚠️
eth/protocols/snap/gentrie.go 91.02% 6 Missing and 1 partial ⚠️
eth/filters/api.go 0.00% 2 Missing and 2 partials ⚠️
internal/testrand/rand.go 69.23% 4 Missing ⚠️
core/state/snapshot/conversion.go 75.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #236      +/-   ##
==========================================
- Coverage   53.74%   53.70%   -0.04%     
==========================================
  Files         711      713       +2     
  Lines       91105    91166      +61     
==========================================
+ Hits        48963    48965       +2     
- Misses      37913    37974      +61     
+ Partials     4229     4227       -2     
Files with missing lines Coverage Δ
core/rawdb/accessors_chain.go 61.38% <100.00%> (ø)
core/state/statedb.go 70.02% <100.00%> (-0.09%) ⬇️
params/version.go 39.13% <ø> (ø)
trie/stacktrie.go 90.58% <100.00%> (+5.82%) ⬆️
core/state/snapshot/conversion.go 55.38% <75.00%> (+0.28%) ⬆️
eth/filters/api.go 52.45% <0.00%> (-0.66%) ⬇️
internal/testrand/rand.go 69.23% <69.23%> (ø)
eth/protocols/snap/gentrie.go 91.02% <91.02%> (ø)
eth/protocols/snap/sync.go 73.23% <52.68%> (-1.33%) ⬇️

... and 16 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 353eb3a...ba971a8. Read the comment docs.

@noslav noslav merged commit c2ebad3 into main Jan 10, 2025
5 checks passed
@noslav noslav deleted the develop branch January 14, 2025 23:57
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.

3 participants