Use max request payloads

This commit is contained in:
Eitan Seri- Levi
2026-03-02 23:39:24 -08:00
parent ff0c05ecf8
commit 0212e84fa8
3 changed files with 15 additions and 2 deletions

View File

@@ -423,6 +423,12 @@ impl SupportedProtocol {
ProtocolId::new(SupportedProtocol::DataColumnsByRangeV1, Encoding::SSZSnappy),
]);
}
if fork_context.fork_exists(ForkName::Gloas) {
supported.extend_from_slice(&[
ProtocolId::new(SupportedProtocol::PayloadEnvelopesByRangeV1, Encoding::SSZSnappy),
ProtocolId::new(SupportedProtocol::PayloadEnvelopesByRootV1, Encoding::SSZSnappy),
]);
}
supported
}
}