Skip to content

Registry tests: status transitions, scale, idempotent updates, unconfigured writers - #134

Merged
deeejaymu-afk merged 4 commits into
stellar-sub:mainfrom
chiamaka105:fix/drips-chiamaka105-37-40
Oct 22, 2026
Merged

deeejaymu-afk merged 4 commits into
stellar-sub:mainfrom
chiamaka105:fix/drips-chiamaka105-37-40

Conversation

@chiamaka105

Copy link
Copy Markdown
Contributor

Registry tests: status transitions, scale, idempotent updates, unconfigured writers

Closes #37
Closes #38
Closes #39
Closes #40

Notes for review:

  • These tests have not been compiled or run. Please check them in CI.

🤖 Generated with Claude Code

@drips-wave

drips-wave Bot commented Oct 21, 2026

Copy link
Copy Markdown

@chiamaka105 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

chiamaka105 and others added 4 commits October 21, 2026 15:25
…lar-sub#37)

Run every (from, to) pair among the four statuses. From a final status the
transition must be refused with AlreadyFinal and the active count must not
change. Otherwise it must be accepted and the count must be 1 only when the
new status is Active.

Closes stellar-sub#37

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
…ar-sub#38)

Register 100 subscriptions, cancel every tenth one, and check that the
full and active listings are in order, and that the counts and charged
volume match.

Closes stellar-sub#38

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Call update_subscription with the values already stored and check that the
stats and the subscription record are identical afterwards.

Closes stellar-sub#39

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
…ub#40)

Check that reading the writers on an unconfigured registry fails with
NotConfigured rather than returning a default, and that after set_writers
the same call returns the configured contracts.

Closes stellar-sub#40

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@deeejaymu-afk
deeejaymu-afk merged commit b7ffdb6 into stellar-sub:main Oct 22, 2026
deeejaymu-afk added a commit that referenced this pull request Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants