diff --git a/README.md b/README.md index 665ede48e..e3cc9af36 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,13 @@ de2f8:ultralight Started JSON RPC Server address=http://localhost:8545 This will start a single instance of the Ultralight client running locally. +### Error related to `node-gyp` or `bcrypto.node` + +If you encounter errors related to `bcrypto.node` or `node-gyp` when running `npm i`, you need to add `npm i -g @mapbox/node-pre-gyp` prior to running building Ultralight. + +For Mac users, you may need to run `sudo xcodebuild -license` and accept it, as `node-gyp` relies on Xcode commands. + + ## Connecting to the devnet (developer testnet) 1. Change active folder: `cd packages/cli` diff --git a/packages/portalnetwork/test/integration/beacon.spec.ts b/packages/portalnetwork/test/integration/beacon.spec.ts index cb5f47a64..f0113a795 100644 --- a/packages/portalnetwork/test/integration/beacon.spec.ts +++ b/packages/portalnetwork/test/integration/beacon.spec.ts @@ -451,7 +451,7 @@ describe('OFFER/ACCEPT tests', () => { const acceptedOffers = await network1.sendOffer(network2.enr.nodeId, [ staleOptimisticUpdateContentKey, ]) - assert.equal(acceptedOffers, undefined, 'no content was accepted by node 2') + assert.deepEqual(acceptedOffers, [], 'no content was accepted by node 2') const content = await network2.retrieve( hexToBytes(intToHex(BeaconLightClientNetworkContentType.LightClientOptimisticUpdate)), )