Skip to content

reservation: combine initialize-seat and fund into pay command#289

Merged
martinsander00 merged 3 commits intomainfrom
ms/combine-fund-init
Mar 16, 2026
Merged

reservation: combine initialize-seat and fund into pay command#289
martinsander00 merged 3 commits intomainfrom
ms/combine-fund-init

Conversation

@martinsander00
Copy link
Copy Markdown
Contributor

Summary

  • Combine the two-step reservation initialize-seat + reservation fund workflow into a single reservation pay command
  • The new command checks for existing seat/escrow accounts on-chain and only initializes what's missing before funding
  • Removes the initialize-seat subcommand entirely

Lines of Code

Section Added Removed
reservation CLI +77 -117

Testing Verification

  • Tested via on-chain integration tests in the shreds repo

@martinsander00 martinsander00 requested a review from karl-dz March 15, 2026 20:41
karl-dz
karl-dz previously approved these changes Mar 16, 2026
@martinsander00 martinsander00 merged commit deb4ea9 into main Mar 16, 2026
5 checks passed
@martinsander00 martinsander00 deleted the ms/combine-fund-init branch March 16, 2026 14:35
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.

2 participants