Merge fdbd300390b3149a9c4313e1b1ed611297e1bfc3 into 0751e39289f72406eeac658c74d6d898a20b3f84

This commit is contained in:
richΛrd 2025-01-20 11:54:46 -05:00 committed by GitHub
commit 423b6ede76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,10 +5,21 @@ package waku.metadata.v1;
message WakuMetadataRequest {
optional uint32 cluster_id = 1;
repeated uint32 shards = 2;
repeated uint32 shards = 3;
// Starting from nwaku v0.26, if field 3 contains no data, it will attempt to
// decode this field first assuming it's a packed field, and if that fails,
// attempt to decode as an unpacked field
repeated uint32 shards_deprecated = 2 [deprecated=true, packed=false];
}
message WakuMetadataResponse {
optional uint32 cluster_id = 1;
repeated uint32 shards = 2;
repeated uint32 shards = 3;
// Starting from nwaku v0.26, if field 3 contains no data, it will attempt to
// decode this field first assuming it's a packed field, and if that fails,
// attempt to decode as an unpacked field
repeated uint32 shards_deprecated = 2 [deprecated = true, packed=false];
}