Skip to content
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

Do not set udp to enr #4591

Merged
merged 1 commit into from
Sep 23, 2022
Merged

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Sep 23, 2022

Motivation

Fix external memory issue, it turns out it has the same root cause to #4579

Description

  • Do not set udp to enr so that our node do not have to serve FIND_NODES request. This is a work around, the real fix should be in discv5, see this candidate to fix fix: add async await discv5#202

  • External memory has been great for 3 days, on feat1 sm1v:

Screen Shot 2022-09-23 at 17 46 01

  • On feat1 novc

Screen Shot 2022-09-23 at 17 46 39

@twoeths twoeths requested a review from a team as a code owner September 23, 2022 10:47
@twoeths twoeths merged commit 7308ba9 into cayman/update-libp2p Sep 23, 2022
@twoeths twoeths deleted the tuyen/update-libp2p-enr-no-udp branch September 23, 2022 10:48
wemeetagain added a commit that referenced this pull request Sep 27, 2022
* WIP

* Revert eslint changes

* Revert dependency update

* Revert dependencies

* Revert yarn.lock

* Update yarn.lock

* Update noise

* Fix lint errors

* Update discv5

* Fix linter errors

* Fix check-types

* Fix up libp2p connection manager handling

* Update gossipsub

* Add import statement

* Use upstream GossipsubEvents type

* Remove stray lint disable comment

* Only ping a single peer when it connects

* Update gossipsub

* libp2p-gossipsub 3.5.0

* Use libp2p-noise 7.0.3

* Use @libp2p/mplex 4.0.3

* Fix write heap dump in libp2p esm branch (#4387)

* Remove 'require' check in writeHeapDump

* Fix BELLATRIX_FORK_EPOCH

* Update libp2p dependencies

* Bump libp2p

* Fix heap memory issue

* Fix some tests

* Fix type error

* Fix req/resp 'index out of bounds' issue

* Fix linter errors

* Add libp2p metrics and dashboard

* Update gossipsub and set max outbound buffer size

* Update @libp2p/tcp

* Update uint8arrays

* v0.0.0

* Lint libp2p grafana dashboard

* Add leveldown dev dependency

* Set msgIdToStrFn to Buffer.toString

* Do not set udp to enr (#4591)

* Fix e2e reqresp test

* Fix lint

* Fix unit tests

* Update yarn.lock after merge

* Update libp2p

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: tuyennhv <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant