magicblock-labs / magicblock-labs/ephemeral-spl-token

Too many `find_program_address` when closing the shuttle

Open
#32 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.