File tree 2 files changed +3
-1
lines changed
beacon_node/lighthouse_network/src/rpc
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -423,6 +423,8 @@ fn context_bytes<E: EthSpec>(
423
423
| RPCResponse :: BlobsByRoot ( _)
424
424
| RPCResponse :: DataColumnsByRoot ( _)
425
425
| RPCResponse :: DataColumnsByRange ( _) => {
426
+ // TODO(das): If DataColumnSidecar is defined as an Electra type, update the
427
+ // context bytes to point to ForkName::Electra
426
428
return fork_context. to_context_bytes ( ForkName :: Deneb ) ;
427
429
}
428
430
RPCResponse :: LightClientBootstrap ( lc_bootstrap) => {
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ impl SupportedProtocol {
401
401
ProtocolId :: new ( SupportedProtocol :: BlobsByRangeV1 , Encoding :: SSZSnappy ) ,
402
402
] ) ;
403
403
}
404
- if fork_context. spec . peerdas_scheduled ( ) {
404
+ if fork_context. spec . is_peer_das_scheduled ( ) {
405
405
supported. extend_from_slice ( & [
406
406
ProtocolId :: new ( SupportedProtocol :: DataColumnsByRootV1 , Encoding :: SSZSnappy ) ,
407
407
ProtocolId :: new ( SupportedProtocol :: DataColumnsByRangeV1 , Encoding :: SSZSnappy ) ,
You can’t perform that action at this time.
0 commit comments