Skip to content

chore(contract): sync flipcash2 protos to 9f67566 - #26

Merged
bmc08gt merged 1 commit into
mainfrom
chore/sync-flipcash2-9f67566
Oct 7, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
chore/sync-flipcash2-9f67566

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Syncs flipcash2 protos from 9d44350b to 9f67566f (flipcash2-protobuf-api #139). The only change is a doc comment on StartChatRequest's public-group rules field. There are no field, RPC, message or enum changes, so 0.18.0 consumers are unaffected.

The new comment documents server validation that is already live:

  • Listener rules: exactly one MinimumBalanceRequirement, which is required, and optionally one StaffRequirement.
  • Speaker rules: optionally one MinimumBalanceRequirement. It must use the same currency and mints as the listener requirement and be larger by at least the currency's minimum transfer value.
  • Every MinimumBalanceRequirement must be at least one unit at the currency's last decimal place (0.01 USD, 1 JPY).
  • Rules outside this shape fail with INVALID_RULES. A creator who doesn't meet them gets RULES_NOT_SATISFIED.

No release follows this PR. A comment isn't worth a Maven Central version, so it ships with the next contract change, and CHANGELOG.md gets no entry yet.

Neither app needs adoption work. Both send one listener minimum balance and no speaker rules. Android can still send a sub-cent minimum, which the server rejects under the rule above. The fix is going into code-android-app separately.

@bmc08gt bmc08gt self-assigned this Oct 7, 2026
@bmc08gt
bmc08gt merged commit 8e73f3f into main Oct 7, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the chore/sync-flipcash2-9f67566 branch October 7, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant