Skip to content

FLO-20: eliminate per-position capability controller bloat#247

Open
holyfuchs wants to merge 1 commit intomainfrom
holyfuchs/FLO-20-createPosition-storage-bloat
Open

FLO-20: eliminate per-position capability controller bloat#247
holyfuchs wants to merge 1 commit intomainfrom
holyfuchs/FLO-20-createPosition-storage-bloat

Conversation

@holyfuchs
Copy link
Member

Closes: #229

Replace per-position capabilities.storage.issue() calls with a contract-level _borrowPool() that directly borrows the Pool from storage. Position, PositionSink, and PositionSource no longer hold a Capability field — they call the contract function directly — so no new CapabilityController is created per position.

@holyfuchs holyfuchs requested a review from a team as a code owner March 9, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FLO-20: createPosition() Causes Storage Bloat by Redundantly Issuing Pool Capabilities

1 participant