magicblock-labs / magicblock-labs/ephemeral-spl-token
Too many `find_program_address` when closing the shuttle
Open
@Dodecahedr0x is already working on this.
Since Sep 14, 2026.
- Dominant language
- Rust
- Stars
- 3
- Forks
- 5
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 5
Description
We find the PDA multiple times ([here](https://github.com/magicblock-labs/ephemeral-spl-token/blob/14222907d0ac21a5aedc50e40923e2d8860fe5f7/e-token/src/processor/close_shuttle_ata_intent.rs#L115) and [here](https://github.com/magicblock-labs/ephemeral-spl-token/blob/14222907d0ac21a5aedc50e40923e2d8860fe5f7/e-token/src/processor/close_shuttle_ata_intent.rs#L192)) instead of just once (or use create pda if the shuttle exists)
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.