-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Revert BlobSidecarsByRoot/Range
version to v1
#14785
Conversation
596c9ee
to
e9e09ad
Compare
@@ -47,8 +47,8 @@ func (s *Service) rpcHandlerByTopicFromFork(forkIndex int) (map[string]rpcHandle | |||
p2p.RPCBlocksByRootTopicV2: s.beaconBlocksRootRPCHandler, | |||
p2p.RPCPingTopicV1: s.pingHandler, | |||
p2p.RPCMetaDataTopicV2: s.metaDataHandler, | |||
p2p.RPCBlobSidecarsByRootTopicV2: s.blobSidecarByRootRPCHandler, // Modified in Electra | |||
p2p.RPCBlobSidecarsByRangeTopicV2: s.blobSidecarsByRangeRPCHandler, // Modified in Electra | |||
p2p.RPCBlobSidecarsByRootTopicV1: s.blobSidecarByRootRPCHandler, // Modified in Electra |
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.
So it's not modified in electra anymore right? (the comment)
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 is modified in electra, but it's reusing the same handler now, if the time/fork is after electra, we apply a different max blobs per request limit
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.
OK I see your point.
I added this commit to clarify the situation.
Let me copy here the commit message:
RPC handler comments: Use "Added", "Modified" and "Upgraded".
- Added: No message with this message name was previously existing.
- Upgraded: A message with this message name was existing in the previous fork, but the schema version is upgraded in the current fork.
- Modified: The couple message name, schema version is the same than in the previous fork, but the implementation of the handler is modified in the current fork.
e9e09ad
to
ecee70d
Compare
- Added: No message with this message name was previously existing. - Upgraded: A message with this message name was existing in the previous fork, but the schema version is upgraded in the current fork. - Modified: The couple message name, schema version is the same than in the previous fork, but the implementation of the handler is modified in the current fork.
7f5d9e8
to
9688b90
Compare
Reference: ethereum/consensus-specs#4077