Skip to content

feat(buy-sol) PR 5: document where a native SOL sell order's solver fee stays - #4993

Closed
squadgazzz wants to merge 1 commit into
solana-driver/be-330-settle-native-sol-buysfrom
solana-driver/native-buy-fee-doc
Closed

squadgazzz wants to merge 1 commit into
solana-driver/be-330-settle-native-sol-buysfrom
solana-driver/native-buy-fee-doc

Conversation

@squadgazzz

Copy link
Copy Markdown
Contributor

Description

Stacked on #4986.

The solver fee docs say a sell order's fee stays in the buy-mint buffer PDA. That's not where it goes for a sell order that buys native SOL. #4986 unwraps the whole swap output to the solver and moves only the payouts into the state PDA, so the fee margin stays in the solver's lamports. #4986 explains the choice: a fee left in the state PDA would be stuck there until SC-403.

Changes

  • The solver fee docs say where a native SOL sell order's fee stays

How to test

Doc change only.

@squadgazzz squadgazzz closed this Sep 29, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 29, 2026
@squadgazzz
squadgazzz deleted the solana-driver/native-buy-fee-doc branch September 29, 2026 11:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant