Skip to content

feat(trading): function to generate eth-flow transaction #1554

feat(trading): function to generate eth-flow transaction

feat(trading): function to generate eth-flow transaction #1554

Triggered via push November 26, 2024 11:54
Status Failure
Total duration 1m 24s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
postOnChainTrade > Should upload appData: src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'hash') at hash (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:33:61) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:107:5)
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 'hash') at hash (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:33:61) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:115:5)
postOnChainTrade > Should create an on-chain transaction with all specified parameters: src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'hash') at hash (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:33:61) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:123:5)
postOnChainTrade > Should upload appData: src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'hash') at hash (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:33:61) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:107:5)
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 'hash') at hash (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:33:61) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:115:5)
postOnChainTrade > Should create an on-chain transaction with all specified parameters: src/trading/postOnChainTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'hash') at hash (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.ts:33:61) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postOnChainTrade.test.ts:123:5)
test
Some jest tests failed.
test
Process completed with exit code 1.
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/