Skip to content

Commit

Permalink
VC: use block publication v2 SSZ API (sigp#6523)
Browse files Browse the repository at this point in the history
* VC: use block publication v2 SSZ API
  • Loading branch information
michaelsproul authored Oct 21, 2024
1 parent 9aefb55 commit b88cb8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validator_client/src/block_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))?
}
Expand All @@ -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))?
}
Expand Down

0 comments on commit b88cb8c

Please sign in to comment.