Add get_builders_sweep_withdrawals and fix Gloas withdrawal tests.

This commit is contained in:
Jimmy Chen
2026-01-20 17:07:27 +11:00
parent 5c8acea305
commit 8b4c037fb4
5 changed files with 87 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ pub fn get_next_withdrawals<T: BeaconChainTypes>(
}
match get_expected_withdrawals(&state, &chain.spec) {
Ok((withdrawals, _, _, _)) => Ok(withdrawals),
Ok((withdrawals, _, _, _, _)) => Ok(withdrawals),
Err(e) => Err(warp_utils::reject::custom_server_error(format!(
"failed to get expected withdrawal: {:?}",
e