nim-waku v0.5 uses new waku relay protocol id

This commit is contained in:
Franck Royer 2021-07-26 11:04:34 +10:00
parent 5f7eee394b
commit c4d0501c6a
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ describe('Waku Dial', function () {
expect(nimPeers).to.deep.equal([
{
multiaddr: multiAddrWithId,
protocol: '/vac/waku/relay/2.0.0-beta2',
protocol: '/vac/waku/relay/2.0.0',
connected: true,
},
]);

View File

@ -72,7 +72,7 @@ describe('Waku Relay', () => {
it('Register correct protocols', async function () {
const protocols = Array.from(waku1.libp2p.upgrader.protocols.keys());
expect(protocols).to.contain('/vac/waku/relay/2.0.0-beta2');
expect(protocols).to.contain('/vac/waku/relay/2.0.0');
expect(protocols.findIndex((value) => value.match(/sub/))).to.eq(-1);
});