chore(release): 3.4.1 #217
Annotations
2 errors
Run tests:
src/request.ts#L79
SDKError: [HTTPError] [ServerError] Request failed with status code 422 Unprocessable Entity. None of the available routes could successfully generate a tx
LI.FI SDK version: 3.4.1
❯ Module.request src/request.ts:79:13
❯ Module.getQuote src/services/api.ts:117:10
❯ it.timeout src/services/api.int.spec.ts:8:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { step: undefined, process: undefined, code: 1000 }
Caused by: Caused by: HTTPError: [ServerError] Request failed with status code 422 Unprocessable Entity. None of the available routes could successfully generate a tx
❯ Module.request src/request.ts:79:13
❯ Module.getQuote src/services/api.ts:117:10
❯ it.timeout src/services/api.int.spec.ts:8:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 1000, response: { constructor: 'Function<Response>', type: 'basic', url: 'https://li.quest/v1/quote?fromChain=1&fromToken=0x0000000000000000000000000000000000000000&fromAddress=0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0&fromAmount=1000000000000000000&toChain=137&toToken=0x0000000000000000000000000000000000000000&integrator=lifi-sdk', redirected: false, status: 422, ok: false, statusText: 'Unprocessable Entity', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, status: 422, url: 'https://li.quest/v1/quote?fromChain=1&fromToken=0x0000000000000000000000000000000000000000&fromAddress=0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0&fromAmount=1000000000000000000&toChain=137&toToken=0x0000000000000000000000000000000000000000&integrator=lifi-sdk', fetchOptions: { signal: undefined, retries: 1, headers: { 'x-lifi-sdk': '3.4.1', 'x-lifi-integrator': 'lifi-sdk' } }, responseBody: { message: 'None of the available routes could successfully generate a tx', code: 1001 }, buildAdditionalDetails: 'Function<buildAdditionalDetails>' }
|
Run tests
Process completed with exit code 1.
|
Loading