Skip to content

Commit 6cfc2ec

Browse files
committed
Fix integration test
1 parent e5e7488 commit 6cfc2ec

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/portalnetwork/test/integration/integration.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { multiaddr } from '@multiformats/multiaddr'
99
import { assert, describe, it } from 'vitest'
1010

1111
import {
12+
AccumulatorProofType,
1213
BlockHeaderByNumberKey,
1314
BlockHeaderWithProof,
1415
HistoryNetworkContentType,
@@ -155,7 +156,7 @@ describe('FindContent', async () => {
155156
testBlockData[29].rlp,
156157
testBlockData[29].blockHash,
157158
network1,
158-
witnesses,
159+
AccumulatorProofType.serialize(witnesses),
159160
)
160161

161162
it('should have indexed block', () => {
@@ -266,7 +267,7 @@ describe('eth_getBlockByHash', async () => {
266267
testBlockData[29].rlp,
267268
testBlockData[29].blockHash,
268269
network1,
269-
witnesses,
270+
AccumulatorProofType.serialize(witnesses),
270271
)
271272
await network1.sendPing(network2?.enr!.toENR())
272273

0 commit comments

Comments
 (0)