Skip to content

Commit 1d4b6ec

Browse files
committed
chore: add TODO GLOAS comments
1 parent 48fd2e1 commit 1d4b6ec

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

packages/beacon-node/src/chain/blocks/verifyBlock.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export async function verifyBlocksInEpoch(
3232
this: BeaconChain,
3333
parentBlock: ProtoBlock,
3434
blockInputs: IBlockInput[],
35+
// TODO GLOAS: pass PayloadEnvelopeInput instead of gloas.SignedExecutionPayloadEnvelope
3536
envelopes: Map<Slot, gloas.SignedExecutionPayloadEnvelope> | null,
3637
opts: BlockProcessOpts & ImportBlockOpts
3738
): Promise<{
@@ -130,6 +131,7 @@ export async function verifyBlocksInEpoch(
130131
verifyExecutionPayloadsPromise,
131132

132133
// data availability for the blobs
134+
// TODO GLOAS: modify this once we pass PayloadEnvelopeInput instead of gloas.SignedExecutionPayloadEnvelope
133135
verifyBlocksDataAvailability(blockInputs, abortController.signal),
134136

135137
// Run state transition only

packages/beacon-node/src/chain/chain.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,7 @@ export class BeaconChain implements IBeaconChain {
10541054

10551055
async processChainSegment(
10561056
blocks: IBlockInput[],
1057+
// TODO GLOAS: need PayloadEnvelopeInput instead for data availability check + persist in `importBlock` flow
10571058
envelopes: Map<Slot, gloas.SignedExecutionPayloadEnvelope> | null,
10581059
opts?: ImportBlockOpts
10591060
): Promise<void> {

0 commit comments

Comments
 (0)