Skip to content

Commit a2b24d5

Browse files
authored
feat: remove is-commit - will be determined from payload (#282)
### Remove `is_commit` field from `AuthenticatedData` message in protocol buffer definition as it will be determined from payload The `is_commit` boolean field (tag 4) is removed from the `AuthenticatedData` message definition in [proto/xmtpv4/envelopes/envelopes.proto](https://github.com/xmtp/proto/pull/282/files#diff-f812a33b13a82e881082c50bb3818e6aad1d114d1141279972acbc496a645fda). A comment is added indicating that tag 4 should not be reused, following the same pattern as the existing comment for tag 1 which was previously used by `target_originator`.
1 parent 17cbde6 commit a2b24d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proto/xmtpv4/envelopes/envelopes.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ message AuthenticatedData {
2020
// Do NOT reuse tag 1 — previously used by target_originator
2121
bytes target_topic = 2;
2222
Cursor depends_on = 3;
23-
bool is_commit = 4;
23+
// Do NOT reuse tag 4 — previously used by is_commit
2424
}
2525

2626
message ClientEnvelope {

0 commit comments

Comments
 (0)