Use SyncTransactionReceipt in SNAP sync#9621
Merged
Matilda-Clerke merged 36 commits intobesu-eth:mainfrom Feb 3, 2026
Merged
Conversation
…ilise raw Bytes Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…eipt-in-snap-sync
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…eipt-in-snap-sync
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…eipt-in-snap-sync
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…eipt-in-snap-sync
Contributor
Author
Contributor
Author
|
9574 has now been merged to main, and main merge to this branch |
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…ap-sync' into use-synctransactionreceipt-in-snap-sync
Contributor
What is the memory usage during sync compare some control nodes, is it less? Can you share JVM memory usage and GC time. |
Contributor
Author
Signed-off-by: Matilda-Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Contributor
Author
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
…ap-sync' into use-synctransactionreceipt-in-snap-sync
Signed-off-by: Matilda-Clerke <matilda.clerke@consensys.net>
pinges
reviewed
Feb 2, 2026
Contributor
pinges
left a comment
There was a problem hiding this comment.
I think this can be improved ...
.../java/org/hyperledger/besu/ethereum/core/encoding/receipt/SyncTransactionReceiptEncoder.java
Show resolved
Hide resolved
macfarla
pushed a commit
to CPerezz/besu
that referenced
this pull request
Feb 6, 2026
* Add SyncTransactionReceipt, decoder, and update LogsBloomFilter to utilise raw Bytes Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Add unit test for LogBloomFilter changes Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Fix missing parentheses in comment in SyncTransactionReceiptDecoder Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Improve unit testing for SyncTransactionReceiptDecoder Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Improve unit testing for SyncTransactionReceiptDecoder Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Use random hashes for stateRoot in SyncTransactionReceiptDecoderTest Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Utilise SyncTransactionReceipt in SNAP sync Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Fix sync tests Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Spotless Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Fix ReceiptsMessage.syncReceipts Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Use cumulativeGasUsed instead of cumulativeGas Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Use cumulativeGasUsed instead of cumulativeGas Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Allow variables in SyncTransactionReceipt to be cleared Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Fix formatting issue Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Update to accomodate merged changes Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Fix compile issues Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Delete now unused GetReceiptsForHeadersTask Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Fix compile issues after merge Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Avoid decoding and reencoding sync transaction receipts when possible Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> * Fix failing unit tests Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> --------- Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> Signed-off-by: Matilda-Clerke <matilda.clerke@consensys.net>
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




PR description
Utilise SyncTransactionReceipt to avoid unnecessary processing and memory usage during SNAP sync