-
-
Notifications
You must be signed in to change notification settings - Fork 260
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Observed when checking development branch and using Solana's default nodeURL https://api.mainnet-beta.solana.com, i got an error swapmode is exactout and this AMM does not support it
2025-08-31 23:31:45 | debug | Got Jupiter quote: {
"inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"inAmount": "4380137",
"outputMint": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"outAmount": "9000000",
"otherAmountThreshold": "4423939",
"swapMode": "ExactOut",
"slippageBps": 100,
"platformFee": null,
"priceImpactPct": "0.0008126567176908626516540658",
"routePlan": [
{
"swapInfo": {
"ammKey": "8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj",
"label": "Raydium CLMM",
"inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"outputMint": "So11111111111111111111111111111111111111112",
"inAmount": "4380137",
"outAmount": "21859322",
"feeAmount": "370",
"feeMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
},
"percent": 100,
"bps": 10000
},
{
"swapInfo": {
"ammKey": "8phK65jxmTPEN158xLgSr4oZvssw9SyTErpNZj3g7px4",
"label": "Whirlpool",
"inputMint": "So11111111111111111111111111111111111111112",
"outputMint": "bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1",
"inAmount": "21859322",
"outAmount": "17611583",
"feeAmount": "2186",
"feeMint": "So11111111111111111111111111111111111111112"
},
"percent": 100,
"bps": 10000
},
{
"swapInfo": {
"ammKey": "KdcztfHmVNRd5qY7oR7AdoNhcpHhjXKesK9JTBnNxwL",
"label": "Whirlpool",
"inputMint": "bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1",
"outputMint": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"inAmount": "17611583",
"outAmount": "9000000",
"feeAmount": "52835",
"feeMint": "bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1"
},
"percent": 100,
"bps": 10000
}
],
"contextSlot": 363901957,
"timeTaken": 0.002767121,
"swapUsdValue": "4.380137",
"simplerRouteUsed": false,
"mostReliableAmmsQuoteReport": {
"info": {
"8phK65jxmTPEN158xLgSr4oZvssw9SyTErpNZj3g7px4": "17623394",
"C8Gr6AUuq9hEdSYJzoEpNcdjpojPZwqG5MtQbeouNNwg": "SwapMode is ExactOut and this AMM does not support it.",
"BZtgQEyS6eXUXicYPHecYQ7PybqodXQMvkjUbP4R8mUU": "4382668",
"Czfq3xZZDmsdGdUyrNLtRhGc47cXcZtLG4crryfu44zE": "4383037"
}
},
"useIncurredSlippageForQuoting": null,
"otherRoutePlans": null,
"aggregatorVersion": null,
"loadedLongtailToken": false
}
- Most of my orders when using
gateway swapcommand fail with node also in timeouts (expected since its a public node ) - Tested this with
gateway swapandgateway lp❌ - Tested with
generic.arbtirage_controller
Note: When using a paid nodeURL, not able to reproduce this error ✅
Steps to reproduce
- Setup development ver of both hummingbot and gateway
- Use default nodeURL
https://api.mainnet-beta.solana.comfor testing jupiter/router - Run
gateway swapcommand
Release version
dev-2.9.0
Type of installation
Source
Attach required files
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working