Skip to content

terminal-fill: Relay's destination gas is network cost, Relay = its fees + solver spread - #2556

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

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

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Sacha (2026-09-20 23:31): the Relay column is partly network fee, Relay publishes a fee breakdown. It does: feesUsd {gas, fixed, price} and expandedPriceImpact.actual {execution, app, swap, relay}. On the $35 FOMO buy delivered on Robinhood Chain the residual was 0.226 $: 0.081 $ of destination gas (0.101 $ actual execution), 0.028 $ fixed + price, the rest the solver's spread.

Every Relay row (bridge leg, FOMO trade delivered on an EVM chain, token sold on an EVM origin, BasedBot funding, token bought on Solana from an EVM origin) now books the destination gas Relay charged into Network and takes it out of the Relay residual; the row still sums to its loss. Relay = Relay's fixed and price fees plus the solver's spread. Spec (cross-chain bullet, Network and Relay panels), harness notes, hub and audit-table tooltips say so. Rows parsed before keep their split; the window turns over in 24 h.

Deploy: harness image, worker rebuild + materialize reset (spec), staging Action (site).

🤖 Generated with Claude Code

https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D

…ee breakdown: actual execution, else the quoted gas fee) is network cost; relay = fixed + price fees + the solver's spread

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4rjxemTvgRwrCG6D2iK5D
@Flotapponnier
Flotapponnier merged commit 22ba3a8 into dev Sep 20, 2026
@Flotapponnier
Flotapponnier deleted the fix/tfq-relay-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