cowprotocol / cowprotocol/solana-programs

Move bumps to PDA data everywhere possible

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2
Forks
1
Avg merge
3d 1h
Merged PRs (30d)
32

Description

There are many comments about storing bumps in PDAs when possible, like this.
This issue serves to track the state of this migration.

Note: bumps cannot be stored for buffer PDAs since we don't control the data format.

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.

Research direction

Start with the linked discussion in pull request 40, then inspect the Solana programs for PDA bump handling and identify each place where bumps can be stored in PDA data. Exclude buffer PDAs, whose data format is not controlled here. Done means all applicable bumps have been migrated and the remaining buffer-PDA cases are documented or unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.