Skip to content

Commit 5fda708

Browse files
committed
query for checkpoint state by slot rather than state root (teku doesn't serve by state root)
1 parent da25512 commit 5fda708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_node/client/src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ where
362362
"state_root" => ?state_root
363363
);
364364
let mut state = remote
365-
.get_debug_beacon_states_ssz::<TEthSpec>(StateId::Root(state_root), &spec)
365+
.get_debug_beacon_states_ssz::<TEthSpec>(StateId::Slot(block.slot()), &spec)
366366
.await
367367
.map_err(|e| {
368368
format!(

0 commit comments

Comments
 (0)