Skip to content

feat(flipcash): scaffold flipcash2 0.23.0 contract - #1876

Merged
bmc08gt merged 3 commits into
code/cashfrom
feat/flipcash2-0.23.0-scaffold
Oct 29, 2026
Merged

bmc08gt merged 3 commits into
code/cashfrom
feat/flipcash2-0.23.0-scaffold

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Scaffolds the flipcash2 0.23.0 contract and bumps flipcash2-client-protocol from 0.22.0 to 0.23.0. Client PR: code-payments/flipcash2-client-protocol#31

  • SendTestPush: PushApi → PushService → PushRepository → PushController, returning Result<Unit> with SendTestPushError.
  • EditChat rules: EditChatParameters.rules sends the full rule set. New EditChatError.InvalidRules and RulesNotSatisfied.
  • RulesChanged: mapped to MetadataUpdate.RulesChanged and persisted by EventStreamDelegate through a new ChatMetadataDao.updateRules. It reuses the rules_json column, so there is no schema change.
  • Payment request updates: ChatUpdate.paymentRequestUpdates carries a new PaymentRequestUpdate domain type. A missing share or an unknown kind maps to Unknown, meaning refetch. Nothing applies the updates yet; that is a TODO(flipcash2 0.23.0) in EventStreamDelegate.
  • RequestedPayment: requestedPayment on the directly-sent and received notification metadata, next to boostedReaction.

No UI. No new unit tests for the new mappers.

Add SendTestPush through api, service, repository and controller, EditChat
rules with InvalidRules and RulesNotSatisfied errors, MetadataUpdate.RulesChanged,
payment request updates on ChatUpdate, and RequestedPayment on sent/received
activity metadata. Built against the local client override; the pin stays 0.22.0.
Persist the full replacement rules from the event stream. Payment request
updates are surfaced on ChatUpdate but not yet applied (TODO).
@bmc08gt
bmc08gt marked this pull request as ready for review October 29, 2026 03:53
@github-actions github-actions Bot added the area: build-system Gradle, convention plugins, build-logic label Oct 29, 2026
@bmc08gt
bmc08gt merged commit 0c57bb3 into code/cash Oct 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build-system Gradle, convention plugins, build-logic area: network gRPC, connectivity, API, exchange rates type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant