Repository navigation
chore(contract): sync flipcash2 protos to b77bf78f - #29
Merged
Merged
Conversation
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs the contract to
flipcash2-protobuf-api@b77bf78f(upstream #151, #152, #154, #155, #156) and adds the0.21.0changelog entry. Release as0.21.0.This upgrade breaks source for both apps:
CashContent.amountbecametotal_amount, andreceiverbecamesingle_receiverinside a newoneof recipient. Field numbers are unchanged, so the wire format is not affected.Contract changes
paymentrequest.v1.PaymentRequestservice:CreatePaymentRequest,GetPaymentRequest,GetChatPaymentRequests,ClosePaymentRequest,MarkPaid. The only kind today is a split in a group chat. It comes with amessaging.v1.PaymentRequestWidget(WidgetContentoneof field 3) and anintent.v1.ChatMetadata.requested_payment(oneof field 6).messaging.v1.CashContent: the rename above, plusmulti_receiver(oneof field 5, 2 to 10Payments) andpayment_request_id(field 6).SilenceUser,UnsilenceUser,BanUser,UnbanUser,GetRestrictedUsers. AlsoViewerState.restrictions(field 3) andViewerState.Permissions.moderation(field 2).JoinChatResponse.Result.BANNED = 4andEnterLobbyResponse.Result.BANNED = 6. Nothing was renumbered.ENCRYPTION_REQUIREDcovers DMs.App PRs
Both are drafts. They contain only the scaffolding and stay blocked until
0.21.0is published and their pins move.