query for checkpoint state by slot rather than state root (teku doesn't serve by state root)

This commit is contained in:
realbigsean
2023-06-09 14:55:02 -04:00
parent 5f7610d9fd
commit b465530f1b

View File

@@ -371,7 +371,7 @@ where
"state_root" => ?state_root
);
let mut state = remote
.get_debug_beacon_states_ssz::<TEthSpec>(StateId::Root(state_root), &spec)
.get_debug_beacon_states_ssz::<TEthSpec>(StateId::Slot(block.slot()), &spec)
.await
.map_err(|e| {
format!(