Skip to content

feat: bridge waits for confirmation, tx retry, better errors#1

Merged
starc007 merged 1 commit intomainfrom
improve/errors-and-bridge-wait
Apr 30, 2026
Merged

feat: bridge waits for confirmation, tx retry, better errors#1
starc007 merged 1 commit intomainfrom
improve/errors-and-bridge-wait

Conversation

@starc007
Copy link
Copy Markdown
Owner

@starc007 starc007 commented Apr 30, 2026

Summary

  • Bridge now waits — polls /intents/status/v2 after tx submit until success, failure, or refund (120s timeout with fallback command shown)
  • TX retry — retries failed sends up to 2 times, re-fetching nonce each attempt to handle conflicts
  • Actionable error messages — insufficient funds, rejected tx, RPC connection failures all surface clear next steps
  • No private key — shows all 3 ways to set it instead of generic env var error
  • Quote failures — surfaces HTTP status + API error body directly

Test plan

  • relay bridge from Base → Arbitrum completes and prints bridge confirmed ✓
  • Bridge with insufficient funds shows clear error
  • Bridge with no private key set shows all 3 configuration options
  • Quote with invalid token shows API error message

@starc007 starc007 merged commit 1a97132 into main Apr 30, 2026
@starc007 starc007 deleted the improve/errors-and-bridge-wait branch April 30, 2026 15:06
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.

1 participant