Skip to content

Commit

Permalink
fix the lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Oct 1, 2024
1 parent 0ff225f commit e2aa991
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/client/test/miner/pendingBlock.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ describe('[PendingBlock]', async () => {
const { txPool } = setup()

// Create 2 txs with 3 blobs each so that only 2 of them can be included in a build
let blobs: PrefixedHexString = [],
let blobs: PrefixedHexString[] = [],
proofs: PrefixedHexString[] = [],
versionedHashes: PrefixedHexString[] = []
for (let x = 0; x <= 2; x++) {
Expand Down Expand Up @@ -401,7 +401,10 @@ describe('[PendingBlock]', async () => {
const blob = blobs[i]
const proof = proofs[i]

const blobAndProof = txPool.blobsAndProofsByHash.get(versionedHash) ?? {}
const blobAndProof = txPool.blobsAndProofsByHash.get(versionedHash) ?? {
blob: '0x0',
proof: '0x0',
}
assert.equal(blob, blobAndProof.blob, 'blob should match')
assert.equal(proof, blobAndProof.proof, 'proof should match')
}
Expand Down

0 comments on commit e2aa991

Please sign in to comment.