magicblock-labs / magicblock-labs/magicblock-validator
Support rent-pending ATA materialization in the validator
- Dominant language
- Rust
- Stars
- 58
- Forks
- 58
- Avg merge
- 22h 1m
- Merged PRs (30d)
- 53
Description
## Goal
Allow an ephemeral rollup to create and fund a canonical rent-pending ATA before the corresponding base-layer eATA exists, then materialize it safely during commit.
## Acceptance criteria
- Create and recognize rent-pending ATAs for supported SPL Token and Token-2022 accounts, and reject invalid or empty creations.
- Record the required materialization metadata and charge the delegated payer during scheduling.
- Initialize and delegate the base-layer eATA before DLP commit work, with correct nonce, reimbursement, rollback, and validator-conflict handling.
- Include materialization work in pre-acceptance validation and cover the success and failure paths with tests.
Implementation: ~#1381~, #1589
Contributor guide
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.