Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOR: Error getting limit for path #903

Open
gmbronco opened this issue Sep 5, 2024 · 0 comments
Open

SOR: Error getting limit for path #903

gmbronco opened this issue Sep 5, 2024 · 0 comments

Comments

@gmbronco
Copy link
Collaborator

gmbronco commented Sep 5, 2024

Adding a ticket with most frequent error we see for further debugging.

Error getting limit for path 0x20a61b948e33879ce7f23e535cc7baa3bc66c5a9000000000000000000000555 -> 0x52b69d6b3eb0bd6b2b4a48a316dfb0e1460e67e40002000000000000000005f3 -> 0x49cbd67651fbabce12d1df18499896ec87bef46f00000000000000000000064a -> 0x79c58f709...

Request:

{
"query": "query sorGetSwapPaths($callDataInput: GqlSwapCallDataInput!, $chain: GqlChain!, $queryBatchSwap: Boolean!, $swapAmount: AmountHumanReadable!, $swapType: GqlSorSwapType!, $tokenIn: String!, $tokenOut: String!, $useProtocolVersion: Int) {
sorGetSwapPaths(
callDataInput: $callDataInput
chain: $chain
queryBatchSwap: $queryBatchSwap
swapAmount: $swapAmount
swapType: $swapType
tokenIn: $tokenIn
tokenOut: $tokenOut
useProtocolVersion: $useProtocolVersion
) {
tokenAddresses
swaps {
poolId
assetInIndex
assetOutIndex
amount
userData
}
swapAmountRaw
returnAmountRaw
tokenIn
tokenOut
}
}",

"variables": {

"callDataInput": {
"deadline": 1725507715,
"receiver": "0x9008d19f58aabd9ed0d60971565aa8510560ab41",
"sender": "0x9008d19f58aabd9ed0d60971565aa8510560ab41",
"slippagePercentage": "0.001"
},
"chain": "MAINNET",
"queryBatchSwap": true,
"swapAmount": "6000.5",
"swapType": "EXACT_IN",
"tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"useProtocolVersion": 2
}
}

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

No branches or pull requests

1 participant