-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Peerdas various #15423
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
Peerdas various #15423
Conversation
97a599d to
3b459fd
Compare
c1afe3e to
a09a325
Compare
760acff to
b9346b1
Compare
| // Not modified in altair fork. | ||
| topic, err := TopicFromMessage(GoodbyeMessageName, altairForkEpoch) | ||
| require.NoError(t, err) | ||
| require.Equal(t, "/eth2/beacon_chain/req/goodbye/1", topic) |
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.
it should be some kind of constant + something dynamic right?
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.
There is only one version of the goodbye message.
So, for goodbye message it is always /eth2/beacon_chain/req/goodbye/1.
Cosmetic change, no functional change.
`DataColumnIdentifier` was removed in the spec here: ethereum/consensus-specs#4284. Eventually, we stopped using it in Prysm, but never removed the corresponding proto message. The new `StatusV2` is introduced in the spec here: ethereum/consensus-specs#4374
* Topic mapping: Groupe `const` and `var`. Cosmetic change, no functional change. * `TopicFromMessage`: Do not assume anymore that all Fulu specific topics are V3 only. * Proto: Remove unused `DataColumnIdentifier` and add new `StatusV2`. `DataColumnIdentifier` was removed in the spec here: ethereum/consensus-specs#4284. Eventually, we stopped using it in Prysm, but never removed the corresponding proto message. The new `StatusV2` is introduced in the spec here: ethereum/consensus-specs#4374 * `readChunkedDataColumnSideCar` ==> `readChunkedDataColumnSidecar`. * `rpc_send_request.go`: Reorganize file (no function change). * `readChunkedDataColumnSidecar`: Add `validationFunctions` parameter and add tests.
* Topic mapping: Groupe `const` and `var`. Cosmetic change, no functional change. * `TopicFromMessage`: Do not assume anymore that all Fulu specific topics are V3 only. * Proto: Remove unused `DataColumnIdentifier` and add new `StatusV2`. `DataColumnIdentifier` was removed in the spec here: ethereum/consensus-specs#4284. Eventually, we stopped using it in Prysm, but never removed the corresponding proto message. The new `StatusV2` is introduced in the spec here: ethereum/consensus-specs#4374 * `readChunkedDataColumnSideCar` ==> `readChunkedDataColumnSidecar`. * `rpc_send_request.go`: Reorganize file (no function change). * `readChunkedDataColumnSidecar`: Add `validationFunctions` parameter and add tests.
What type of PR is this?
Other
What does this PR do? Why is it needed?
This PR:
constandvarin the same section.TopicFromMessage: Does not assume anymore that all Fulu specific topic are V3 only. (It is currently the case, but not in the future any more.)DataColumnIdentifierand add newStatusV2.readChunkedDataColumnSidecar: AddvalidationFunctionsparameter and add tests.Other notes for review
Please read commit by commit, with commit messages.
Dependent on:
Acknowledgements