Skip to content

fix(services/opencode): recover from unexpected owner account during bill grab#665

Merged
bmc08gt merged 2 commits intocode/cashfrom
fix/grab-bill-unexpected-owner
May 4, 2026
Merged

fix(services/opencode): recover from unexpected owner account during bill grab#665
bmc08gt merged 2 commits intocode/cashfrom
fix/grab-bill-unexpected-owner

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 4, 2026

When createUserAccount fails with "unexpected owner account" during a multi-mint grab, recover by calling refreshAccountState() to bootstrap the core account via the normal path, then retry the non-core mint account creation.

…grab bill

When createUserAccount fails with "unexpected owner account" during a
multi-mint grab, recover by calling refreshAccountState() to bootstrap
the core account via the normal path, then retry the non-core mint
account creation.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 4, 2026
@bmc08gt bmc08gt added type: fix Bug fix area: payments Payments, transfers, intents, billing area: tokens Token accounts, balances, token info area: intents Intent construction, submission, server-side state next release Slotted for inclusion in next release labels May 4, 2026
Keep both isUnexpectedOwnerAccount (PR) and isRaceCondition (base) tests.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@github-actions github-actions Bot added the area: network gRPC, connectivity, API, exchange rates label May 4, 2026
@bmc08gt bmc08gt force-pushed the fix/grab-bill-unexpected-owner branch from 1c6957d to bee95a5 Compare May 4, 2026 17:09
@bmc08gt bmc08gt merged commit 6eff16c into code/cash May 4, 2026
2 checks passed
@bmc08gt bmc08gt deleted the fix/grab-bill-unexpected-owner branch May 4, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: intents Intent construction, submission, server-side state area: network gRPC, connectivity, API, exchange rates area: payments Payments, transfers, intents, billing area: tokens Token accounts, balances, token info next release Slotted for inclusion in next release type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant