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,
});
}

View File

@ -0,0 +1 @@
- enr:-MK4QI-wkVW1PxL4ksUM4H_hMgTTwxKMzvvDMfoiwPBuRxcsGkrGPLo4Kho3Ri1DEtJG4B6pjXddbzA9iF2gVctxv42GAX9v5WG5h2F0dG5ldHOIAAAAAAAAAACEZXRoMpBzql9ccAAAcDIAAAAAAAAAgmlkgnY0gmlwhKRcjMiJc2VjcDI1NmsxoQK1fc46pmVHKq8HNYLkSVaUv4uK2UBsGgjjGWU6AAhAY4hzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA

View File

@ -253,7 +253,7 @@ impl EthSpec for MainnetEthSpec {
type SubnetBitfieldLength = U64;
type MaxValidatorsPerCommittee = U2048;
type GenesisEpoch = U0;
type SlotsPerEpoch = U32;
type SlotsPerEpoch = U8;
type EpochsPerEth1VotingPeriod = U64;
type SlotsPerHistoricalRoot = U8192;
type EpochsPerHistoricalVector = U65536;