VC: use block publication v2 SSZ API (#6523)

* VC: use block publication v2 SSZ API
This commit is contained in:
Michael Sproul
2024-10-22 09:52:19 +11:00
committed by GitHub
parent 9aefb5539b
commit b88cb8ced3

View File

@@ -525,7 +525,7 @@ impl<T: SlotClock + 'static, E: EthSpec> BlockService<T, E> {
&[metrics::BEACON_BLOCK_HTTP_POST],
);
beacon_node
.post_beacon_blocks(signed_block)
.post_beacon_blocks_v2_ssz(signed_block, None)
.await
.or_else(|e| handle_block_post_error(e, slot, log))?
}
@@ -535,7 +535,7 @@ impl<T: SlotClock + 'static, E: EthSpec> BlockService<T, E> {
&[metrics::BLINDED_BEACON_BLOCK_HTTP_POST],
);
beacon_node
.post_beacon_blinded_blocks(signed_block)
.post_beacon_blinded_blocks_v2_ssz(signed_block, None)
.await
.or_else(|e| handle_block_post_error(e, slot, log))?
}