fix: override sellToken with wrapped for eth-flow #1552
Annotations
10 errors and 2 warnings
postOnChainTrade > Should call checkEthFlowOrderExists if it is set:
src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'chainId')
at chainId (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:25:40)
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:94:27)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postOnChainTrade > Should upload appData:
src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'chainId')
at chainId (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:25:40)
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:100:27)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postOnChainTrade > When transaction gas estimation is failed, then should use fallback value + 20%:
src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'chainId')
at chainId (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:25:40)
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:108:27)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postOnChainTrade > Should create an on-chain transaction with all specified parameters:
src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'chainId')
at chainId (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:25:40)
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:116:27)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
test
Some jest tests failed.
|
test
Process completed with exit code 1.
|
postOnChainTrade > Should call checkEthFlowOrderExists if it is set:
src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'chainId')
at chainId (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:25:40)
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:94:27)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postOnChainTrade > Should upload appData:
src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'chainId')
at chainId (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:25:40)
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:100:27)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postOnChainTrade > When transaction gas estimation is failed, then should use fallback value + 20%:
src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'chainId')
at chainId (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:25:40)
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:108:27)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postOnChainTrade > Should create an on-chain transaction with all specified parameters:
src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'chainId')
at chainId (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:25:40)
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:116:27)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|