terminal-fill: Relay's destination gas is network cost, Relay = its fees + solver spread - #2556
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sacha (2026-09-20 23:31): the Relay column is partly network fee, Relay publishes a fee breakdown. It does:$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.
feesUsd{gas, fixed, price} andexpandedPriceImpact.actual{execution, app, swap, relay}. On theEvery 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