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

Fix messageId generation for forks following Altair #4076

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

Menduist
Copy link
Contributor

@Menduist Menduist commented Sep 6, 2022

No description provided.

@Menduist Menduist changed the title Fix messageId generation for forks after altair Fix messageId generation for forks following Altair Sep 6, 2022
Copy link
Contributor

@etan-status etan-status left a comment

Choose a reason for hiding this comment

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

Validated that topic.startsWith(altairPrefix) or topic.startsWith(bellatrixPrefix) at the everything >= altair. Probably fine without an assert, because if there is a new prefix scheme introduced in the future this portion is probably re-visited as part of potential work for that.

@etan-status
Copy link
Contributor

etan-status commented Sep 6, 2022

Actually, are messageId only put to GossipSub, or also to req/resp? If also applicable to req/rsp, maybe /eth2/beacon_chain/req/ would be another prefix to ignore.

it looks like it is only applied to GossipSub, so assuming it's fine.

@Menduist
Copy link
Contributor Author

Menduist commented Sep 6, 2022

Only to GossipSub topics AFAIK, req/resp use regular semver instead

@etan-status etan-status enabled auto-merge (squash) September 6, 2022 13:47
@arnetheduck arnetheduck merged commit ca20c49 into unstable Sep 7, 2022
@arnetheduck arnetheduck deleted the fixGossipId branch September 7, 2022 07:56
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.

None yet

3 participants