Skip to content

fix(flaunch): fail closed on missing/zero Uniswap quotes - #1423

Open
SashaMIT wants to merge 1 commit into
coinbase:mainfrom
SashaMIT:fix/flaunch-zero-quote-failclosed
Open

fix(flaunch): fail closed on missing/zero Uniswap quotes#1423
SashaMIT wants to merge 1 commit into
coinbase:mainfrom
SashaMIT:fix/flaunch-zero-quote-failclosed

Conversation

@SashaMIT

@SashaMIT SashaMIT commented Aug 9, 2026

Copy link
Copy Markdown

Summary

Test plan

  • npm test -- --testPathPattern='flaunch/' (22 passed)
  • CI

Made with Cursor

getAmountWithSlippage returned 0n when the quote was null/zero, which
became amountOutMinimum=0 on buy/sell. Throw instead and reject zero
min-out at ethToMemecoin / memecoinToEthWithPermit2 (WOW coinbase#1421 twin).
@SashaMIT
SashaMIT requested a review from murrlincoln as a code owner August 9, 2026 07:25
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants