add blob rpc protocols to

This commit is contained in:
realbigsean 2022-12-16 14:28:14 -05:00
parent 1644978cdb
commit 0349b104bf
No known key found for this signature in database
GPG Key ID: B372B64D866BF8CC

View File

@ -261,6 +261,8 @@ impl<TSpec: EthSpec> UpgradeInfo for RPCProtocol<TSpec> {
ProtocolId::new(Protocol::Ping, Version::V1, Encoding::SSZSnappy),
ProtocolId::new(Protocol::MetaData, Version::V2, Encoding::SSZSnappy),
ProtocolId::new(Protocol::MetaData, Version::V1, Encoding::SSZSnappy),
ProtocolId::new(Protocol::BlobsByRoot, Version::V1, Encoding::SSZSnappy),
ProtocolId::new(Protocol::BlobsByRange, Version::V1, Encoding::SSZSnappy),
];
if self.enable_light_client_server {
supported_protocols.push(ProtocolId::new(