Skip to content

feat(subscription): add resume instruction#130

Merged
dev-jodee merged 4 commits into
mainfrom
feat/resume-subscription
May 21, 2026
Merged

feat(subscription): add resume instruction#130
dev-jodee merged 4 commits into
mainfrom
feat/resume-subscription

Conversation

@dev-jodee
Copy link
Copy Markdown
Collaborator

Summary

  • Add subscriber-signed resume_subscription instruction that clears expires_at_ts
  • Keep subscription period accounting unchanged when resuming
  • Update IDL, TypeScript plugin overlays/exports, docs, and integration coverage

Test Plan

  • just integration-test test_resume_subscription
  • cargo test -p subscriptions-program
  • pnpm run lint

Breaking Changes

  • None

Add a subscriber-signed resume_subscription instruction that clears pending cancellation without resetting period accounting.

Update IDL, TypeScript overlay exports, docs, and integration coverage.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
solana-subscriptions-program Ready Ready Preview, Comment May 21, 2026 7:53pm

Request Review

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

Compute Unit Report

Instruction Samples Min CUs Max CUs Avg CUs Est Cost (Low) [SOL] Est Cost (Med) [SOL] Est Cost (High) [SOL]
cancel_subscription 22 1720 2030 1919 0.000005000 0.000005076 0.000005959
close_subscription_authority 7 1803 1833 1807 0.000005000 0.000005072 0.000005903
create_fixed_delegation 38 3509 9514 4921 0.000005001 0.000005196 0.000007460
create_plan 96 3436 12449 4876 0.000005001 0.000005195 0.000007438
create_recurring_delegation 27 3533 8038 4262 0.000005001 0.000005170 0.000007131
delete_plan 9 359 359 359 0.000005000 0.000005014 0.000005179
init_subscription_authority 153 6226 22726 8972 0.000005002 0.000005358 0.000009486
resume_subscription 3 1723 1723 1723 0.000005000 0.000005068 0.000005861
revoke_delegation 19 255 519 353 0.000005000 0.000005014 0.000005176
subscribe 32 6473 15473 7745 0.000005002 0.000005309 0.000008872
transfer_fixed 6 5208 9711 6710 0.000005002 0.000005268 0.000008355
transfer_recurring 17 5323 8412 5890 0.000005001 0.000005235 0.000007945
transfer_subscription 10 5572 11575 7077 0.000005002 0.000005283 0.000008538
update_plan 22 424 503 477 0.000005000 0.000005019 0.000005238

Generated: 2026-05-21

@dev-jodee dev-jodee merged commit fa87457 into main May 21, 2026
13 checks passed
@dev-jodee dev-jodee deleted the feat/resume-subscription branch May 21, 2026 20:03
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