Skip to content

Commit 00fca4e

Browse files
authored
feat: different approach to expiry (#267)
1 parent 77c4a07 commit 00fca4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proto/xmtpv4/envelopes/envelopes.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ message PayerEnvelope {
4141
bytes unsigned_client_envelope = 1; // Protobuf serialized
4242
xmtp.identity.associations.RecoverableEcdsaSignature payer_signature = 2;
4343
uint32 target_originator = 3;
44-
int64 expiry_unixtime = 4;
44+
uint32 message_retention_days = 4;
4545
}
4646

4747
// For blockchain envelopes, these fields are set by the smart contract
@@ -52,6 +52,7 @@ message UnsignedOriginatorEnvelope {
5252
bytes payer_envelope_bytes = 4;
5353
uint64 base_fee_picodollars = 5; // The base fee for the message in picodollars
5454
uint64 congestion_fee_picodollars = 6; // The congestion fee for the message in picodollars
55+
uint64 expiry_unixtime = 7;
5556
}
5657

5758
// An alternative to a signature for blockchain payloads

0 commit comments

Comments
 (0)