Skip to content

fix: update bootnodes#1806

Merged
morph-dev merged 2 commits into
ethereum:masterfrom
morph-dev:bootnodes
May 5, 2025
Merged

fix: update bootnodes#1806
morph-dev merged 2 commits into
ethereum:masterfrom
morph-dev:bootnodes

Conversation

@morph-dev
Copy link
Copy Markdown
Collaborator

@morph-dev morph-dev commented May 5, 2025

What was wrong?

Our bootnodes are outdated and they contain v0 protocol version.

This would usually not be a problem, but they store beacon content and they are the first one that we contact during light-client sync (because we start light-client syncing before everything else, so they are the only one we know about at that point), and we assume protocol v0 version and fail to decode the content.

Technically, this shouldn't happen even with this setup, as we should get new Enr when discv5 session is established.
I didn't investigate but I suspect that "Request" object still has old Enr and that's what it uses to decode the response.

How was it fixed?

Updated bootnode Enrs according to glados.

To-Do

@morph-dev morph-dev requested a review from KolbyML May 5, 2025 15:13
@morph-dev morph-dev self-assigned this May 5, 2025
@KolbyML
Copy link
Copy Markdown
Member

KolbyML commented May 5, 2025

What was wrong?

Our bootnodes are outdated and they contain v0 protocol version.

This would usually not be a problem, but they store beacon content and receiving LightClientBootstrap from them fail (because we assume protocol v0).

I am confused, in version 1 we didn't change anything with LightClientBootstraps right? How would bootnodes reporting v0 cause a failure? Also we support version 0 and version 1.

Copy link
Copy Markdown
Member

@KolbyML KolbyML left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: looks good

@morph-dev
Copy link
Copy Markdown
Collaborator Author

I am confused, in version 1 we didn't change anything with LightClientBootstraps right? How would bootnodes reporting v0 cause a failure? Also we support version 0 and version 1.

We discussed it and I updated the PR description to explain it better.

@morph-dev morph-dev merged commit e8d2d1b into ethereum:master May 5, 2025
14 checks passed
@morph-dev morph-dev deleted the bootnodes branch May 5, 2025 19:15
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.

2 participants