Skip to content

Commit

Permalink
Add history network to provider setup
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Aug 15, 2023
1 parent 8c7017e commit d862c06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/portalnetwork/test/client/provider.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { it, assert } from 'vitest'
import { UltralightProvider } from '../../src/client/provider.js'
import { TransportLayer } from '../../src/index.js'
import { ProtocolId, TransportLayer } from '../../src/index.js'
import { MockProvider } from '../testUtils/mockProvider.js'
import { Block, BlockHeader } from '@ethereumjs/block'
import { multiaddr } from '@multiformats/multiaddr'
Expand All @@ -22,6 +22,7 @@ it('Test provider functionality', async () => {
enr: enr,
peerId: peerId,
},
supportedProtocols: [ProtocolId.HistoryNetwork],
})

const block = await provider.getBlock(5000)
Expand Down

0 comments on commit d862c06

Please sign in to comment.