-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade protons + commit new proto code #1898
Conversation
cda6702
to
e8c7405
Compare
size-limit report 📦
|
d749806
to
ef6c55d
Compare
@@ -191,7 +191,7 @@ describe("Waku Store, cursor", function () { | |||
for await (const page of waku.store.queryGenerator([TestDecoder], { | |||
cursor | |||
})) { | |||
page; | |||
void page; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
side change that eslint complained about
// ensure the connection is closed from the other side | ||
let counter = 0; | ||
while (waku.libp2p.getConnections().length !== 0) { | ||
if (counter > 10) { | ||
console.error("Connection was not closed"); | ||
break; | ||
} | ||
await delay(100); | ||
counter++; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
side change to handle flaky tests
3bcc2de
to
2dedc5e
Compare
3e19fba
to
de2b94a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discussed with @danisharora099 and approved; we don't use the new opts
that are generated by upgraded protons
so my comments are irrelevant
Problem
The new release of
protons
changes how they compile proto definitions intots
files which breaks our commited proto code CI check ref: chore(deps)(deps-dev): bump protons from 7.0.5 to 7.4.0 #1932We are deprecating a few packages like
@waku/peer-exchange
,@waku/dns-discovery
, etc in favour of introducing a new package@waku/discovery
: feat!: @waku/discovery #1876 which leaves (non-breaking) stale references and outdated entriesalso: https://github.com/waku-org/js-waku/actions/runs/8209802396/job/22456033863?pr=1889
Solution
This should be followed by generating a new lockfile (ref: #1810 (comment))
Notes
proto
definitions into thelib
subdir and the generated TS files into thegen
subdir