Update tokens and quoutes API #130
Annotations
8 errors and 1 warning
|
|
|
packages/demo-node/tests/sugar.integration.test.ts#L96
AssertionError: expected undefined to be defined
❯ tests/sugar.integration.test.ts:96:18
|
|
packages/sugar-sdk/src/utils.ts#L149
CallExecutionError: Execution reverted with reason: custom error 0xd81b2f2e: .
Raw Call Arguments:
from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
to: 0x01d40099fcd87c018969b0e8d4ab1633fb34763c
value: 0 ETH
data: 0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000020800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000012000000000000000000000000001d40099fcd87c018969b0e8d4ab1633fb34763c0000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000299560e827af36c94d2ac33a39bce1fe78631088db00420000000000000000000000000000000000004200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922668000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000017b67400000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004242000000000000000000000000000000000000420000c842000000000000000000000000000000000000060000640b2c639c533813f4aa9d7837caf62653d097ff85000000000000000000000000000000000000000000000000000000000000
gas: 1000000
maxFeePerGas: 10 gwei
maxPriorityFeePerGas: 10 gwei
nonce: 20374
Details: execution reverted: custom error 0xd81b2f2e:
Version: viem@2.38.2
❯ getCallError ../../node_modules/viem/utils/errors/getCallError.ts:42:10
❯ call ../../node_modules/viem/actions/public/call.ts:307:11
❯ waitForTransactionReceipt ../../node_modules/@wagmi/core/src/actions/waitForTransactionReceipt.ts:70:18
❯ submitSignedTransaction src/utils.ts:149:19
❯ src/swap.test.ts:541:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'execution reverted: custom error 0xd81b2f2e: \u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000', docsPath: undefined, metaMessages: [ 'Raw Call Arguments:', ' from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266\n to: 0x01d40099fcd87c018969b0e8d4ab1633fb34763c\n value: 0 ETH\n data: 0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000020800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000012000000000000000000000000001d40099fcd87c018969b0e8d4ab1633fb34763c0000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000
|
|
packages/sugar-sdk/src/swap.test.ts#L65
Error: Could not find BASE AERO token for testing (Base)
❯ tokens src/swap.test.ts:65:13
|
|
packages/sugar-sdk/src/swap.ts#L352
CallExecutionError: Execution reverted with reason: custom error 0xd81b2f2e: .
Raw Call Arguments:
from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
to: 0x01d40099fcd87c018969b0e8d4ab1633fb34763c
value: 0 ETH
data: 0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000020800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000012000000000000000000000000001d40099fcd87c018969b0e8d4ab1633fb34763c00000000000000000000000000000000000000000000003635c9adc5dea00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000299560e827af36c94d2ac33a39bce1fe78631088db00420000000000000000000000000000000000004200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922668000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b583416c9f2d300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b42000000000000000000000000000000000000420000c84200000000000000000000000000000000000006000000000000000000000000000000000000000000
gas: 40000000
maxFeePerGas: 1.000000085 gwei
maxPriorityFeePerGas: 0 gwei
nonce: 20368
Details: execution reverted: custom error 0xd81b2f2e:
Version: viem@2.38.2
❯ getCallError ../../node_modules/viem/utils/errors/getCallError.ts:42:10
❯ call ../../node_modules/viem/actions/public/call.ts:307:11
❯ waitForTransactionReceipt ../../node_modules/@wagmi/core/src/actions/waitForTransactionReceipt.ts:70:18
❯ swap src/swap.ts:352:19
❯ src/swap.test.ts:343:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'execution reverted: custom error 0xd81b2f2e: \u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000', docsPath: undefined, metaMessages: [ 'Raw Call Arguments:', ' from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266\n to: 0x01d40099fcd87c018969b0e8d4ab1633fb34763c\n value: 0 ETH\n data: 0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000020800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000012000000000000000000000000001d40099fcd87c018969b0e8d4ab1633fb34763c00000000000000000000000000000000000000000000003635c9adc5dea00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000100000000000000000
|
|
packages/sugar-sdk/src/swap.ts#L352
CallExecutionError: Execution reverted with reason: TRANSFER_FAILED.
Raw Call Arguments:
from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
to: 0x01d40099fcd87c018969b0e8d4ab1633fb34763c
value: 0.1 ETH
data: 0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000020b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000001d40099fcd87c018969b0e8d4ab1633fb34763c000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000002af057fa323070f599400000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004242000000000000000000000000000000000000060000640b2c639c533813f4aa9d7837caf62653d097ff850000c89560e827af36c94d2ac33a39bce1fe78631088db000000000000000000000000000000000000000000000000000000000000
gas: 420578
maxFeePerGas: 1.000000142 gwei
maxPriorityFeePerGas: 0 gwei
nonce: 20364
Details: execution reverted: TRANSFER_FAILED
Version: viem@2.38.2
❯ getCallError ../../node_modules/viem/utils/errors/getCallError.ts:42:10
❯ call ../../node_modules/viem/actions/public/call.ts:307:11
❯ waitForTransactionReceipt ../../node_modules/@wagmi/core/src/actions/waitForTransactionReceipt.ts:70:18
❯ swap src/swap.ts:352:19
❯ src/swap.test.ts:269:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'execution reverted: TRANSFER_FAILED', docsPath: undefined, metaMessages: [ 'Raw Call Arguments:', ' from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266\n to: 0x01d40099fcd87c018969b0e8d4ab1633fb34763c\n value: 0.1 ETH\n data: 0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000020b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000001d40099fcd87c018969b0e8d4ab1633fb34763c000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000002af057fa323070f599400000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004242000000000000000000000000000000000000060000640b2c639c533813f4aa9d7837caf62653d097ff850000c89560e827af36c94d2ac33a39bce1fe78631088db000000000000000000000000000000000000000000000000000000000000\n gas: 420578\n maxFeePerGas: 1.000000142 gwei\n maxPriorityFeePerGas: 0 gwei\n nonce: 20364' ], shortMessage: 'Execution re
|
|
packages/sugar-sdk/src/swap.test.ts#L65
Error: Could not find BASE AERO token for testing (Base)
❯ tokens src/swap.test.ts:65:13
|
|
packages/sugar-sdk/src/swap.ts#L352
CallExecutionError: Execution reverted for an unknown reason.
Raw Call Arguments:
from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
to: 0x01d40099fcd87c018969b0e8d4ab1633fb34763c
value: 0 ETH
data: 0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000120000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000007c1cbc2400000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b42000000000000000000000000000000000000060000640b2c639c533813f4aa9d7837caf62653d097ff85000000000000000000000000000000000000000000
gas: 238194
maxFeePerGas: 1.000000184 gwei
maxPriorityFeePerGas: 0 gwei
nonce: 20362
Details: execution reverted
Version: viem@2.38.2
❯ getCallError ../../node_modules/viem/utils/errors/getCallError.ts:42:10
❯ call ../../node_modules/viem/actions/public/call.ts:307:11
❯ waitForTransactionReceipt ../../node_modules/@wagmi/core/src/actions/waitForTransactionReceipt.ts:70:18
❯ swap src/swap.ts:352:19
❯ src/swap.test.ts:188:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'execution reverted', docsPath: undefined, metaMessages: [ 'Raw Call Arguments:', ' from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266\n to: 0x01d40099fcd87c018969b0e8d4ab1633fb34763c\n value: 0 ETH\n data: 0x24856bc30000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000120000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000007c1cbc2400000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b42000000000000000000000000000000000000060000640b2c639c533813f4aa9d7837caf62653d097ff85000000000000000000000000000000000000000000\n gas: 238194\n maxFeePerGas: 1.000000184 gwei\n maxPriorityFeePerGas: 0 gwei\n nonce: 20362' ], shortMessage: 'Execution reverted for an unknown reason.', version: '2.38.2', walk: 'Function<walk>' }
Caused by: Caused by: ExecutionRevertedError: Execution reverted for an unknown reason.
Details: execution reverted
Version: viem@2.38.2
❯ getNodeError ../../node_modules/viem/utils/errors/getNodeError.ts:77:12
❯ ../../node_modules/viem/utils/errors/getCallError.ts:35:19
❯ getCallError ../../node_modules/viem/utils/errors/getCallError.ts:41:5
❯ call ../../node_modules/viem/actions/public/call.ts:307:11
❯ waitForTransactionReceipt ../../node_modules/@wagmi/core/src/actions/waitForTransactionReceipt.ts:70:18
❯ swap src/swap.ts:352:19
❯ src/swap.test.ts:188:17
⎯⎯⎯⎯⎯⎯⎯�
|
|
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, Homebrew/actions/setup-homebrew@master. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
The logs for this run have expired and are no longer available.
Loading