Skip to content

Commit

Permalink
Use new decentralization protos (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkysel authored Feb 4, 2025
1 parent e2f480d commit aa17876
Show file tree
Hide file tree
Showing 9 changed files with 919 additions and 219 deletions.
2 changes: 2 additions & 0 deletions xmtp_proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ proto_full = [
"xmtp-mls_validation-v1",
"xmtp-xmtpv4-envelopes",
"xmtp-xmtpv4-message_api",
"xmtp-xmtpv4-metadata_api",
"xmtp-xmtpv4-payer_api",
]
"xmtp-identity" = []
Expand All @@ -74,5 +75,6 @@ proto_full = [
"xmtp-identity-associations",
"xmtp-xmtpv4-envelopes",
]
"xmtp-xmtpv4-metadata_api" = ["xmtp-xmtpv4-envelopes"]
"xmtp-xmtpv4-payer_api" = ["xmtp-xmtpv4-envelopes"]
## @@protoc_insertion_point(features)
2 changes: 2 additions & 0 deletions xmtp_proto/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ plugins:
- client_mod_attribute=xmtp.xmtpv4=#[cfg(not(target_arch = "wasm32"))]
- client_mod_attribute=xmtp.xmtpv4.payer_api=#[cfg(not(target_arch = "wasm32"))]
- client_mod_attribute=xmtp.xmtpv4.message_api=#[cfg(not(target_arch = "wasm32"))]
- client_mod_attribute=xmtp.xmtpv4.metadata_api=#[cfg(not(target_arch = "wasm32"))]
- server_mod_attribute=xmtp.identity.api.v1=#[cfg(not(target_arch = "wasm32"))]
- server_mod_attribute=xmtp.mls_validation.v1=#[cfg(not(target_arch = "wasm32"))]
- server_mod_attribute=xmtp.message_api.v1=#[cfg(not(target_arch = "wasm32"))]
- server_mod_attribute=xmtp.mls.api.v1=#[cfg(not(target_arch = "wasm32"))]
- server_mod_attribute=xmtp.xmtpv4=#[cfg(not(target_arch = "wasm32"))]
- server_mod_attribute=xmtp.xmtpv4.payer_api=#[cfg(not(target_arch = "wasm32"))]
- server_mod_attribute=xmtp.xmtpv4.message_api=#[cfg(not(target_arch = "wasm32"))]
- server_mod_attribute=xmtp.xmtpv4.metadata_api=#[cfg(not(target_arch = "wasm32"))]
- name: prost-crate
out: .
strategy: all
Expand Down
4 changes: 3 additions & 1 deletion xmtp_proto/src/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,14 @@ impl TryFrom<WelcomeMessageInput> for ClientEnvelope {
}

impl AuthenticatedData {
#[allow(deprecated)]
pub fn with_topic(topic: Vec<u8>) -> AuthenticatedData {
AuthenticatedData {
//TODO(mkysel) originator is hardcoded for now, but will have to become configurable
target_originator: 100,
target_originator: Some(100),
target_topic: topic,
depends_on: None,
is_commit: false,
}
}
}
6 changes: 6 additions & 0 deletions xmtp_proto/src/gen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ pub mod xmtp {
include!("xmtp.xmtpv4.message_api.rs");
// @@protoc_insertion_point(xmtp.xmtpv4.message_api)
}
#[cfg(feature = "xmtp-xmtpv4-metadata_api")]
// @@protoc_insertion_point(attribute:xmtp.xmtpv4.metadata_api)
pub mod metadata_api {
include!("xmtp.xmtpv4.metadata_api.rs");
// @@protoc_insertion_point(xmtp.xmtpv4.metadata_api)
}
#[cfg(feature = "xmtp-xmtpv4-payer_api")]
// @@protoc_insertion_point(attribute:xmtp.xmtpv4.payer_api)
pub mod payer_api {
Expand Down
439 changes: 226 additions & 213 deletions xmtp_proto/src/gen/xmtp.xmtpv4.envelopes.rs

Large diffs are not rendered by default.

28 changes: 23 additions & 5 deletions xmtp_proto/src/gen/xmtp.xmtpv4.envelopes.serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ impl serde::Serialize for AuthenticatedData {
{
use serde::ser::SerializeStruct;
let mut len = 0;
if self.target_originator != 0 {
if self.target_originator.is_some() {
len += 1;
}
if !self.target_topic.is_empty() {
Expand All @@ -16,9 +16,12 @@ impl serde::Serialize for AuthenticatedData {
if self.depends_on.is_some() {
len += 1;
}
if self.is_commit {
len += 1;
}
let mut struct_ser = serializer.serialize_struct("xmtp.xmtpv4.envelopes.AuthenticatedData", len)?;
if self.target_originator != 0 {
struct_ser.serialize_field("targetOriginator", &self.target_originator)?;
if let Some(v) = self.target_originator.as_ref() {
struct_ser.serialize_field("targetOriginator", v)?;
}
if !self.target_topic.is_empty() {
#[allow(clippy::needless_borrow)]
Expand All @@ -28,6 +31,9 @@ impl serde::Serialize for AuthenticatedData {
if let Some(v) = self.depends_on.as_ref() {
struct_ser.serialize_field("dependsOn", v)?;
}
if self.is_commit {
struct_ser.serialize_field("isCommit", &self.is_commit)?;
}
struct_ser.end()
}
}
Expand All @@ -44,13 +50,16 @@ impl<'de> serde::Deserialize<'de> for AuthenticatedData {
"targetTopic",
"depends_on",
"dependsOn",
"is_commit",
"isCommit",
];

#[allow(clippy::enum_variant_names)]
enum GeneratedField {
TargetOriginator,
TargetTopic,
DependsOn,
IsCommit,
}
impl<'de> serde::Deserialize<'de> for GeneratedField {
fn deserialize<D>(deserializer: D) -> std::result::Result<GeneratedField, D::Error>
Expand All @@ -75,6 +84,7 @@ impl<'de> serde::Deserialize<'de> for AuthenticatedData {
"targetOriginator" | "target_originator" => Ok(GeneratedField::TargetOriginator),
"targetTopic" | "target_topic" => Ok(GeneratedField::TargetTopic),
"dependsOn" | "depends_on" => Ok(GeneratedField::DependsOn),
"isCommit" | "is_commit" => Ok(GeneratedField::IsCommit),
_ => Err(serde::de::Error::unknown_field(value, FIELDS)),
}
}
Expand All @@ -97,14 +107,15 @@ impl<'de> serde::Deserialize<'de> for AuthenticatedData {
let mut target_originator__ = None;
let mut target_topic__ = None;
let mut depends_on__ = None;
let mut is_commit__ = None;
while let Some(k) = map_.next_key()? {
match k {
GeneratedField::TargetOriginator => {
if target_originator__.is_some() {
return Err(serde::de::Error::duplicate_field("targetOriginator"));
}
target_originator__ =
Some(map_.next_value::<::pbjson::private::NumberDeserialize<_>>()?.0)
map_.next_value::<::std::option::Option<::pbjson::private::NumberDeserialize<_>>>()?.map(|x| x.0)
;
}
GeneratedField::TargetTopic => {
Expand All @@ -121,12 +132,19 @@ impl<'de> serde::Deserialize<'de> for AuthenticatedData {
}
depends_on__ = map_.next_value()?;
}
GeneratedField::IsCommit => {
if is_commit__.is_some() {
return Err(serde::de::Error::duplicate_field("isCommit"));
}
is_commit__ = Some(map_.next_value()?);
}
}
}
Ok(AuthenticatedData {
target_originator: target_originator__.unwrap_or_default(),
target_originator: target_originator__,
target_topic: target_topic__.unwrap_or_default(),
depends_on: depends_on__,
is_commit: is_commit__.unwrap_or_default(),
})
}
}
Expand Down
105 changes: 105 additions & 0 deletions xmtp_proto/src/gen/xmtp.xmtpv4.metadata_api.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
// @generated
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct GetSyncCursorRequest {
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetSyncCursorResponse {
#[prost(message, optional, tag="1")]
pub latest_sync: ::core::option::Option<super::envelopes::Cursor>,
}
/// Encoded file descriptor set for the `xmtp.xmtpv4.metadata_api` package
pub const FILE_DESCRIPTOR_SET: &[u8] = &[
0x0a, 0xe5, 0x0a, 0x0a, 0x26, 0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2f, 0x6d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x78, 0x6d, 0x74,
0x70, 0x2e, 0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0x5f, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2f, 0x65, 0x6e, 0x76, 0x65,
0x6c, 0x6f, 0x70, 0x65, 0x73, 0x2f, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x73, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6e, 0x63,
0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x57, 0x0a,
0x15, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74,
0x5f, 0x73, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x78, 0x6d,
0x74, 0x70, 0x2e, 0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2e, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f,
0x70, 0x65, 0x73, 0x2e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x0a, 0x6c, 0x61, 0x74, 0x65,
0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x32, 0xdb, 0x02, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0x41, 0x70, 0x69, 0x12, 0x9d, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x79,
0x6e, 0x63, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x2e, 0x2e, 0x78, 0x6d, 0x74, 0x70, 0x2e,
0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f,
0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x75, 0x72, 0x73, 0x6f,
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x78, 0x6d, 0x74, 0x70, 0x2e,
0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f,
0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x75, 0x72, 0x73, 0x6f,
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02,
0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x6d, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x67, 0x65, 0x74, 0x2d, 0x73, 0x79, 0x6e, 0x63, 0x2d,
0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0xab, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63,
0x72, 0x69, 0x62, 0x65, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x2e,
0x2e, 0x78, 0x6d, 0x74, 0x70, 0x2e, 0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2e, 0x6d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6e,
0x63, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f,
0x2e, 0x78, 0x6d, 0x74, 0x70, 0x2e, 0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2e, 0x6d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6e,
0x63, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x6d, 0x6c, 0x73,
0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x62,
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2d, 0x73, 0x79, 0x6e, 0x63, 0x2d, 0x63, 0x75, 0x72, 0x73,
0x6f, 0x72, 0x30, 0x01, 0x42, 0xdf, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x6d, 0x74,
0x70, 0x2e, 0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0x5f, 0x61, 0x70, 0x69, 0x42, 0x10, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x41,
0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75,
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x6d, 0x74, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x2f, 0x76, 0x33, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2f, 0x6d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x70, 0x69, 0xa2, 0x02, 0x03, 0x58, 0x58, 0x4d,
0xaa, 0x02, 0x17, 0x58, 0x6d, 0x74, 0x70, 0x2e, 0x58, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x2e, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x41, 0x70, 0x69, 0xca, 0x02, 0x17, 0x58, 0x6d, 0x74,
0x70, 0x5c, 0x58, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x5c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0x41, 0x70, 0x69, 0xe2, 0x02, 0x23, 0x58, 0x6d, 0x74, 0x70, 0x5c, 0x58, 0x6d, 0x74, 0x70,
0x76, 0x34, 0x5c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x41, 0x70, 0x69, 0x5c, 0x47,
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x58, 0x6d, 0x74,
0x70, 0x3a, 0x3a, 0x58, 0x6d, 0x74, 0x70, 0x76, 0x34, 0x3a, 0x3a, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0x41, 0x70, 0x69, 0x4a, 0xa7, 0x04, 0x0a, 0x06, 0x12, 0x04, 0x01, 0x00, 0x1f,
0x01, 0x0a, 0x18, 0x0a, 0x01, 0x0c, 0x12, 0x03, 0x01, 0x00, 0x12, 0x1a, 0x0e, 0x20, 0x4d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x41, 0x50, 0x49, 0x0a, 0x0a, 0x08, 0x0a, 0x01, 0x02,
0x12, 0x03, 0x03, 0x00, 0x21, 0x0a, 0x09, 0x0a, 0x02, 0x03, 0x00, 0x12, 0x03, 0x05, 0x00, 0x26,
0x0a, 0x09, 0x0a, 0x02, 0x03, 0x01, 0x12, 0x03, 0x06, 0x00, 0x2a, 0x0a, 0x08, 0x0a, 0x01, 0x08,
0x12, 0x03, 0x08, 0x00, 0x46, 0x0a, 0x09, 0x0a, 0x02, 0x08, 0x0b, 0x12, 0x03, 0x08, 0x00, 0x46,
0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x00, 0x12, 0x04, 0x0a, 0x00, 0x0b, 0x01, 0x0a, 0x0a, 0x0a, 0x03,
0x04, 0x00, 0x01, 0x12, 0x03, 0x0a, 0x08, 0x1c, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x01, 0x12, 0x04,
0x0d, 0x00, 0x0f, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x01, 0x01, 0x12, 0x03, 0x0d, 0x08, 0x1d,
0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x01, 0x02, 0x00, 0x12, 0x03, 0x0e, 0x02, 0x2f, 0x0a, 0x0c, 0x0a,
0x05, 0x04, 0x01, 0x02, 0x00, 0x06, 0x12, 0x03, 0x0e, 0x02, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
0x01, 0x02, 0x00, 0x01, 0x12, 0x03, 0x0e, 0x1f, 0x2a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02,
0x00, 0x03, 0x12, 0x03, 0x0e, 0x2d, 0x2e, 0x0a, 0x4d, 0x0a, 0x02, 0x06, 0x00, 0x12, 0x04, 0x12,
0x00, 0x1f, 0x01, 0x1a, 0x41, 0x20, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x66,
0x6f, 0x72, 0x20, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x20, 0x74,
0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2c, 0x20, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x69, 0x6e,
0x67, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x0a, 0x0a, 0x0a, 0x03, 0x06, 0x00, 0x01, 0x12, 0x03, 0x12,
0x08, 0x13, 0x0a, 0x0c, 0x0a, 0x04, 0x06, 0x00, 0x02, 0x00, 0x12, 0x04, 0x13, 0x02, 0x18, 0x03,
0x0a, 0x0c, 0x0a, 0x05, 0x06, 0x00, 0x02, 0x00, 0x01, 0x12, 0x03, 0x13, 0x06, 0x13, 0x0a, 0x0c,
0x0a, 0x05, 0x06, 0x00, 0x02, 0x00, 0x02, 0x12, 0x03, 0x13, 0x14, 0x28, 0x0a, 0x0c, 0x0a, 0x05,
0x06, 0x00, 0x02, 0x00, 0x03, 0x12, 0x03, 0x13, 0x33, 0x48, 0x0a, 0x0d, 0x0a, 0x05, 0x06, 0x00,
0x02, 0x00, 0x04, 0x12, 0x04, 0x14, 0x04, 0x17, 0x06, 0x0a, 0x11, 0x0a, 0x09, 0x06, 0x00, 0x02,
0x00, 0x04, 0xb0, 0xca, 0xbc, 0x22, 0x12, 0x04, 0x14, 0x04, 0x17, 0x06, 0x0a, 0x11, 0x0a, 0x0a,
0x06, 0x00, 0x02, 0x00, 0x04, 0xb0, 0xca, 0xbc, 0x22, 0x04, 0x12, 0x03, 0x15, 0x06, 0x2e, 0x0a,
0x11, 0x0a, 0x0a, 0x06, 0x00, 0x02, 0x00, 0x04, 0xb0, 0xca, 0xbc, 0x22, 0x07, 0x12, 0x03, 0x16,
0x06, 0x0f, 0x0a, 0x0c, 0x0a, 0x04, 0x06, 0x00, 0x02, 0x01, 0x12, 0x04, 0x19, 0x02, 0x1e, 0x03,
0x0a, 0x0c, 0x0a, 0x05, 0x06, 0x00, 0x02, 0x01, 0x01, 0x12, 0x03, 0x19, 0x06, 0x19, 0x0a, 0x0c,
0x0a, 0x05, 0x06, 0x00, 0x02, 0x01, 0x02, 0x12, 0x03, 0x19, 0x1a, 0x2e, 0x0a, 0x0c, 0x0a, 0x05,
0x06, 0x00, 0x02, 0x01, 0x06, 0x12, 0x03, 0x19, 0x39, 0x3f, 0x0a, 0x0c, 0x0a, 0x05, 0x06, 0x00,
0x02, 0x01, 0x03, 0x12, 0x03, 0x19, 0x40, 0x55, 0x0a, 0x0d, 0x0a, 0x05, 0x06, 0x00, 0x02, 0x01,
0x04, 0x12, 0x04, 0x1a, 0x04, 0x1d, 0x06, 0x0a, 0x11, 0x0a, 0x09, 0x06, 0x00, 0x02, 0x01, 0x04,
0xb0, 0xca, 0xbc, 0x22, 0x12, 0x04, 0x1a, 0x04, 0x1d, 0x06, 0x0a, 0x11, 0x0a, 0x0a, 0x06, 0x00,
0x02, 0x01, 0x04, 0xb0, 0xca, 0xbc, 0x22, 0x04, 0x12, 0x03, 0x1b, 0x06, 0x34, 0x0a, 0x11, 0x0a,
0x0a, 0x06, 0x00, 0x02, 0x01, 0x04, 0xb0, 0xca, 0xbc, 0x22, 0x07, 0x12, 0x03, 0x1c, 0x06, 0x0f,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
];
include!("xmtp.xmtpv4.metadata_api.serde.rs");
include!("xmtp.xmtpv4.metadata_api.tonic.rs");
// @@protoc_insertion_point(module)
Loading

0 comments on commit aa17876

Please sign in to comment.