Checked on wormhole-connect-mainnet with macOS Sonoma 14.5 and Google Chrome Version 127.0.6533.89 (Official Build) (arm64).
Steps:
Select Optimism network and W asset in From section (in my case, MetaMask wallet was connected automatically)
Select Solana network and W asset in To section (in my case, Phantom wallet was connected automatically)
Enter Amount 0.0000121
Select Automatic route
Actual result: Routes are no longer displayed. Warning is not shown to the user.
Error thrown in isRouteAvailable Error: Amount: invalid input. Decimals too low.
at parse$3 (main-B_vQ2Uks.js:240:22654)
at $.quote (main-B_vQ2Uks.js:274:23959)
at async SDKv2Route.getQuote (main-B_vQ2Uks.js:276:201534)
at async SDKv2Route.isRouteAvailable (main-B_vQ2Uks.js:276:200532)
at async Operator.isRouteAvailable (main-B_vQ2Uks.js:276:206319)
at async main-B_vQ2Uks.js:308:12820
Describe the current behavior in detail
Checked on wormhole-connect-mainnet with macOS Sonoma 14.5 and Google Chrome Version 127.0.6533.89 (Official Build) (arm64).
Steps:
Actual result: Routes are no longer displayed. Warning is not shown to the user.
https://github.com/user-attachments/assets/313afa5b-84c5-44c1-9087-5c8e2073c9a2
Expected result: Warning or Routes are shown to the user.
Custom config