new round of hacks (config etc)

This commit is contained in:
Marius van der Wijden
2022-09-17 23:42:49 +02:00
parent 750c594f5f
commit 8b71b978e0
5 changed files with 5 additions and 3 deletions

View File

@@ -125,6 +125,7 @@ impl<Id: ReqId, TSpec: EthSpec> RPC<Id, TSpec> {
Duration::from_secs(10),
)
.n_every(Protocol::BlocksByRoot, 128, Duration::from_secs(10))
.n_every(Protocol::BlobsByRange, 128, Duration::from_secs(10))
.build()
.expect("Configuration parameters are valid");
RPC {

View File

@@ -460,7 +460,7 @@ impl<T: BeaconChainTypes> Worker<T> {
Ok(None) => {
error!(
self.log,
"Block in the chain is not in the store";
"Blob in the chain is not in the store";
"request_root" => ?root
);
break;
@@ -509,7 +509,7 @@ impl<T: BeaconChainTypes> Worker<T> {
// send the stream terminator
self.send_network_message(NetworkMessage::SendResponse {
peer_id,
response: Response::BlocksByRange(None),
response: Response::BlobsByRange(None),
id: request_id,
});
}