Skip to content

chore: export swapParamsToLimitOrderParams #1556

chore: export swapParamsToLimitOrderParams

chore: export swapParamsToLimitOrderParams #1556

GitHub Actions / jest-github-action failed Nov 26, 2024 in 0s

Jest tests failed

Failed tests: 3/215. Failed suites: 3/18.

Details

  ● postOnChainTrade › Should upload appData

    TypeError: Cannot read properties of undefined (reading 'hash')

      31 |   const txReceipt = await signer.sendTransaction(transaction)
      32 |
    > 33 |   log(`On-chain order transaction sent, txHash: ${txReceipt.hash}, order: ${orderId}`)
         |                                                             ^
      34 |   return { txHash: txReceipt.hash, orderId }
      35 | }
      36 |

      at hash (src/trading/postOnChainTrade.ts:33:61)
      at Object.<anonymous> (src/trading/postOnChainTrade.test.ts:107:5)

  ● postOnChainTrade › When transaction gas estimation is failed, then should use fallback value + 20%

    TypeError: Cannot read properties of undefined (reading 'hash')

      31 |   const txReceipt = await signer.sendTransaction(transaction)
      32 |
    > 33 |   log(`On-chain order transaction sent, txHash: ${txReceipt.hash}, order: ${orderId}`)
         |                                                             ^
      34 |   return { txHash: txReceipt.hash, orderId }
      35 | }
      36 |

      at hash (src/trading/postOnChainTrade.ts:33:61)
      at Object.<anonymous> (src/trading/postOnChainTrade.test.ts:115:5)

  ● postOnChainTrade › Should create an on-chain transaction with all specified parameters

    TypeError: Cannot read properties of undefined (reading 'hash')

      31 |   const txReceipt = await signer.sendTransaction(transaction)
      32 |
    > 33 |   log(`On-chain order transaction sent, txHash: ${txReceipt.hash}, order: ${orderId}`)
         |                                                             ^
      34 |   return { txHash: txReceipt.hash, orderId }
      35 | }
      36 |

      at hash (src/trading/postOnChainTrade.ts:33:61)
      at Object.<anonymous> (src/trading/postOnChainTrade.test.ts:123:5)

Annotations

Check failure on line 0 in src/trading/postOnChainTrade.test.ts

See this annotation in the file changed.

@github-actions github-actions / jest-github-action

postOnChainTrade > Should upload appData

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)

Check failure on line 0 in src/trading/postOnChainTrade.test.ts

See this annotation in the file changed.

@github-actions github-actions / jest-github-action

postOnChainTrade > When transaction gas estimation is failed, then should use fallback value + 20%

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)

Check failure on line 0 in src/trading/postOnChainTrade.test.ts

See this annotation in the file changed.

@github-actions github-actions / jest-github-action

postOnChainTrade > Should create an on-chain transaction with all specified parameters

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)