Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 132 additions & 8 deletions lean_client/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lean_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,11 @@ http_api = { workspace = true }
libp2p-identity = { workspace = true }
metrics = { workspace = true }
networking = { workspace = true }
parking_lot = { workspace = true }
ssz = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
validator = { workspace = true }
xmss = { workspace = true }
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
2 changes: 2 additions & 0 deletions lean_client/fork_choice/src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ fn process_block_internal(
// Store block and state, store the plain Block (not SignedBlockWithAttestation)
store.blocks.insert(block_root, block.clone());
store.states.insert(block_root, new_state.clone());
// Also store signed block for serving BlocksByRoot requests (checkpoint sync backfill)
store.signed_blocks.insert(block_root, signed_block.clone());

let justified_updated = new_state.latest_justified.slot > store.latest_justified.slot;
let finalized_updated = new_state.latest_finalized.slot > store.latest_finalized.slot;
Expand Down
Loading
Loading