Skip to content

Commit

Permalink
Random fixes for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
islathehut committed Oct 5, 2024
1 parent 3301d5d commit 0695992
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 163 deletions.
41 changes: 11 additions & 30 deletions packages/backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
"@ipld/dag-cbor": "^9.2.1",
"@ipld/dag-pb": "^4.1.2",
"it-drain": "^3.0.7",
"it-first": "^3.0.6",
"it-pipe": "^3.0.1",
"it-ws": "^6.1.5",
"joi": "^17.8.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/backend/src/nest/libp2p/libp2p.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { PeerId, type Libp2p } from '@libp2p/interface'
import { kadDHT } from '@libp2p/kad-dht'
import { keychain } from '@libp2p/keychain'
import { peerIdFromString } from '@libp2p/peer-id'
import { ping } from '@libp2p/ping'
import { preSharedKey } from '@libp2p/pnet'
import * as filters from '@libp2p/websockets/filters'
import { createLibp2p } from 'libp2p'
Expand All @@ -34,6 +33,8 @@ import { ServerIoProviderTypes } from '../types'
import { webSockets } from '../websocketOverTor'
import { Libp2pConnectedPeer, Libp2pEvents, Libp2pNodeParams } from './libp2p.types'
import { createLogger } from '../common/logger'
// import { ping } from './ping.service'
import { ping } from '@libp2p/ping'

const KEY_LENGTH = 32
export const LIBP2P_PSK_METADATA = '/key/swarm/psk/1.0.0/\n/base16/\n'
Expand Down
Loading

0 comments on commit 0695992

Please sign in to comment.