Skip to content

Commit

Permalink
edge case optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Sep 13, 2024
1 parent 3470076 commit 4ec7aff
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export async function unavailableBeaconBlobsByRoot(
block = allBlocks[0].data;
blockBytes = allBlocks[0].bytes;
cachedData = unavailableBlockInput.cachedData;
unavailableBlockInput = getBlockInput.dataPromise(config, block, BlockSource.byRoot, blockBytes, cachedData);
console.log(
"downloaded sendBeaconBlocksByRoot",
ssz.peerdas.SignedBeaconBlock.toJson(block as peerdas.SignedBeaconBlock)
Expand Down Expand Up @@ -248,6 +249,7 @@ export async function unavailableBeaconBlobsByRoot(
}
return acc;
}, [] as number[]);

const peerColumns = network.getConnectedPeerCustody(peerId);

// get match
Expand Down

0 comments on commit 4ec7aff

Please sign in to comment.