magicblock-labs / magicblock-labs/ephemeral-spl-token
feat: allow reuse of shuttle accounts (wallet, eata) in subsequent payments if not closed yet
@snawaz is already working on this.
Since Apr 1, 2026.
- Dominant language
- Rust
- Stars
- 3
- Forks
- 5
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 5
Description
In some (quick) flows, shuttle cleanup is not completed immediately and the previous shuttle resources can remain open.
So, instead of requiring a fresh shuttle account pair every time, we should allow reuse of an existing still-open pair in subsequent payments:
- `shuttle_wallet`
- `shuttle_eata`
Why:
- makes the system more robust when cleanup is delayed.
- avoids turning delayed close into a hard blocker for the next payment.
- reduces temporary-account churn (??).
Context:
- related to cases where delegated shuttle resources stay open longer than expected.
- this issue is about improving resilience/reuse, not the cleanup bug (https://github.com/magicblock-labs/magicblock-validator/issues/1124) itself.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.