Repository navigation
fix(agentic-payments): warn that self-hosted facilitators underbid mainnet fees - #134
Conversation
|
🤖 Automated message from Kaan's Automated Triage Bot. 👀 Picked this up — a review will follow shortly. |
…innet fees The stock ExactStellarScheme bids BASE_FEE (100 stroops) on the settlement transaction and on its fee bump. Mainnet Soroban inclusion fees currently sit around 200 stroops at p10-p99, so self-hosted facilitators pass /verify and then time out on /settle. Document the symptom, how to check the going rate, and a feeBumpSigner workaround until x402-foundation/x402#3503 (or similar) ships. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
564d21c to
13664ce
Compare
|
🤖 Automated message from Kaan's Automated Triage Bot. Thanks for this, Diego. It is a real mainnet trap, and you fixed it upstream too. I checked the entry against the published package:
One thing changed after you opened this. Your upstream PR x402-foundation/x402#3503 merged on 2026-09-17.
I suggest you drop the custom signer snippet, or keep it only as a short note for 2.26.0 and earlier. Could you update the entry? I will re-check it after your push. |
…itfall x402-foundation/x402#3503 merged and shipped in @x402/stellar 2.27.0, so the bid is now configurable. The fix becomes the inclusionFeeStroops option, with a note that /verify counts the bid against maxTransactionFeeStroops. The custom feeBumpSigner snippet is reduced to a one-line note for 2.26.0 and earlier. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Releases 2.6.0 through 2.18.0 bid the client transaction's fee, capped at maxTransactionFeeStroops, so the fixed BASE_FEE bid only applies from 2.19.0 until inclusionFeeStroops shipped in 2.27.0.
|
🤖 Automated message from the Stellar Triage Bot. Thanks, Diego. The new Fix is clear, and it now points readers at your upstream option. I checked it against the published
I pushed one small fix (84d2ae4). The fixed 100-stroop bid starts in 2.19.0. Releases 2.6.0 to 2.18.0 bid the client's own fee, capped at the ceiling. So the note now says "From 2.19.0 through 2.26.0". Copilot could not review (quota), so there were no review points to weigh. Merging now. |
Adds a "Common pitfalls" entry to
skills/agentic-payments/x402.mdfor self-hosted facilitators onstellar:pubnet:/verifypasses, but/settletimes out.Why
ExactStellarSchemein@x402/stellar/exact/facilitator(latest, 2.26.0) bidsBASE_FEE(100 stroops) as the inclusion fee on the settlement transaction and on its fee bump, and there is no option to change it. On testnet that is enough. On mainnet it often isn't, and the transaction never lands. An agent following the skill today would ship a facilitator that works on testnet and then silently fails on mainnet.What was checked against live sources
getFeeStatson a pubnet RPC (last 50 ledgers, ~3.9k txs):sorobanInclusionFeemin 100, mode 200, p10 through p99 all 200. A 100-stroop bid sits at the floor.a220bdf9…106e.@stellar/stellar-sdkand@x402/stellar2.26.0 on a throwaway key.INCLUSION_FEEper operation.address,signAuthEntry).inclusionFeeStroopsoption. Once a release includes it, the entry's Fix can point to that option instead of the workaround.The entry sits before the browser-signing pitfall and follows the Symptom / Cause / Fix shape of the other entries. No other files changed.
AI disclosure
This change was drafted with Claude Code. I reviewed the text, and the fee data and the snippet were checked as described above.
🤖 Generated with Claude Code