Skip to content

Commit

Permalink
remove the throw
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Oct 11, 2023
1 parent 8bf1b57 commit 49aab61
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/beacon-node/src/api/impl/beacon/blocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,6 @@ export function getBeaconBlockApi({

chain.logger.verbose("Publishing block assembled from locally cached payload", logCtx);
} else {
// Mechanism for blobs & blocks on builder is implemenented separately in a followup deneb-builder PR
if (isSignedBlindedBlockContents(signedBlindedBlockOrContents)) {
throw Error("exeutionBuilder not yet implemented for deneb+ forks");
}
const executionBuilder = chain.executionBuilder;
if (!executionBuilder) throw Error("exeutionBuilder required to publish SignedBlindedBeaconBlock");
signedBlockOrContents = await executionBuilder.submitBlindedBlock(signedBlindedBlockOrContents);
Expand Down

0 comments on commit 49aab61

Please sign in to comment.