Call core proto-array in compliance check

This commit is contained in:
dapplion
2026-06-08 15:40:34 +02:00
parent 2a938715eb
commit c1b60f1c80
3 changed files with 5 additions and 31 deletions

View File

@@ -1412,6 +1412,7 @@ impl<E: EthSpec> Tester<E> {
let justified_balances = fork_choice.fc_store().justified_balances().clone();
let actual = fork_choice
.proto_array()
.core_proto_array()
.filtered_block_tree_leaves_and_weights::<E>(
&justified.root,
current_slot,
@@ -1423,7 +1424,7 @@ impl<E: EthSpec> Tester<E> {
)
.map_err(|e| {
Error::InternalError(format!(
"filtered_block_tree_leaves_and_weights failed: {e}"
"filtered_block_tree_leaves_and_weights failed: {e:?}"
))
})?;
drop(fork_choice);