Skip to content

Conversation

iovoid
Copy link
Contributor

@iovoid iovoid commented Oct 15, 2025

Motivation

Blockingly calculates snapshot

Description

Does not start full sync until snapshots are calculated.

@github-actions github-actions bot added the L1 Ethereum client label Oct 15, 2025
Copy link

Lines of code report

Total lines added: 60
Total lines removed: 0
Total lines changed: 60

Detailed view
+-------------------------------------------+-------+------+
| File                                      | Lines | Diff |
+-------------------------------------------+-------+------+
| ethrex/crates/common/trie/db.rs           | 97    | +3   |
+-------------------------------------------+-------+------+
| ethrex/crates/common/trie/trie.rs         | 923   | +9   |
+-------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/sync.rs      | 1509  | +42  |
+-------------------------------------------+-------+------+
| ethrex/crates/storage/trie_db/layering.rs | 127   | +6   |
+-------------------------------------------+-------+------+

Copy link

Benchmark for d956175

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 34.1±1.86ms 36.3±2.00ms +6.45%
Trie/cita-trie insert 1k 3.5±0.02ms 3.6±0.16ms +2.86%
Trie/ethrex-trie insert 10k 65.5±1.25ms 63.5±0.68ms -3.05%
Trie/ethrex-trie insert 1k 8.1±0.07ms 8.1±0.04ms 0.00%

Base automatically changed from path_based to main October 15, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

5 participants