File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
beacon_node/lighthouse_network/src/rpc Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -308,9 +308,7 @@ pub struct DataColumnsByRangeRequest {
308308
309309impl DataColumnsByRangeRequest {
310310 pub fn max_requested < E : EthSpec > ( & self ) -> u64 {
311- self . count
312- . saturating_mul ( E :: max_blobs_per_block ( ) as u64 )
313- . saturating_mul ( self . columns . len ( ) as u64 )
311+ self . count . saturating_mul ( self . columns . len ( ) as u64 )
314312 }
315313
316314 pub fn ssz_min_len ( ) -> usize {
Original file line number Diff line number Diff line change @@ -366,8 +366,10 @@ where
366366 protocol,
367367 Protocol :: BlocksByRange
368368 | Protocol :: BlobsByRange
369+ | Protocol :: DataColumnsByRange
369370 | Protocol :: BlocksByRoot
370371 | Protocol :: BlobsByRoot
372+ | Protocol :: DataColumnsByRoot
371373 ) {
372374 debug ! ( self . log, "Request too large to process" ; "request" => %req, "protocol" => %protocol) ;
373375 } else {
You can’t perform that action at this time.
0 commit comments