Skip to content

terminal-fill: Relay destination gas from the actual execution, net of sponsorship - #2558

Merged
Flotapponnier merged 1 commit into
devfrom
fix/tfq-relay-actual-gas
Sep 20, 2026
Merged

Flotapponnier merged 1 commit into
devfrom
fix/tfq-relay-actual-gas

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

First pump.fun app row on Robinhood Chain ($3.14 buy): Network printed 637 bps = the quoted feeSponsorship execution the user pays (0.204 $ minus 0.005 $ sponsored) while Relay's expandedPriceImpact.actual.execution says 0.126 $ was spent; the 0.078 $ difference is Relay's, not gas. Destination gas now = actual execution minus the sponsored share when reported, else the quoted userPays, else feesUsd.gas.

Deploy: harness image.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D

…elay reports minus the app-sponsored part (the quoted userPays overstated it: 0.204 vs 0.126 $ on a pump.fun buy)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D
@Flotapponnier
Flotapponnier merged commit e2c6ef3 into dev Sep 20, 2026
1 of 2 checks passed
@Flotapponnier
Flotapponnier deleted the fix/tfq-relay-actual-gas branch September 22, 2026 18:23
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.

2 participants