cowprotocol / cowprotocol/solana-programs
Assess risk of rent funds being locked in buffers
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 1
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 32
Description
Internal discussion made us realize that our buffer rent recovery mechanism may lead to rent funds being permanently locked in specific circumstances. An initial assessment determined that the cost for an adversary is comparable to the amount of locked funds in the protocol, but it would be good to make a more thorough investigation with tests once there's actual code handling this in the repo.
This is a design issue, there's no corresponding code at this point in time. This issue is here just so we don't forget to follow op on this once we've got an actual implementation of rent refunds.
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.
Research direction
There is no corresponding implementation in the repository yet; begin when the buffer rent refund mechanism exists. Review that implementation and add tests for circumstances where rent funds could remain permanently locked, then assess whether the adversarial cost is comparable to the locked funds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100