cowprotocol / cowprotocol/solana-programs
Better iterator ergonomics for `Pushes` and `SettledOrders`
Open
@kaze-cow is already working on this.
Since Jul 14, 2026.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 1
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 32
Description
There was quite a lot of discussion on how it's best to implement iterators for Pushes and SettledOrders.
See for example:
- https://github.com/cowprotocol/solana-programs/pull/45
- https://github.com/cowprotocol/solana-programs/pull/47#discussion_r3535721704
- https://github.com/cowprotocol/solana-programs/pull/38#discussion_r3471553710 https://github.com/cowprotocol/solana-programs/pull/38#discussion_r3426827364
- https://nomevlabs.slack.com/archives/C0980HAC78S/p1783068081162569
It's unclear to me what's the best way to do it, but I'm open to different solutions.
This issue is to collect discussion and keep it separate from other features.
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.