Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(deps): Bump the npm_and_yarn group with 2 updates #7

Merged
merged 1 commit into from
Oct 28, 2024

Chore(deps): Bump the npm_and_yarn group with 2 updates

d36d8c8
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Chore(deps): Bump the npm_and_yarn group with 2 updates #7

Chore(deps): Bump the npm_and_yarn group with 2 updates
d36d8c8
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Oct 28, 2024 in 0s

Test suite run failed

Failed tests: 5/1573. Failed suites: 2/208.

Details

Created failed tests' annotations. To disable them, see documentation.

  ● useApprovalInfos › returns an ApprovalInfo if the transaction contains an increaseAllowance call

    TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)

      50 |
      51 |     if (txPartial.data.startsWith(INCREASE_ALLOWANCE_SIGNATURE_HASH)) {
    > 52 |       const [spender, amount] = ERC20_INTERFACE.decodeFunctionData('increaseAllowance', txPartial.data)
         |                                                 ^
      53 |       return [
      54 |         {
      55 |           amount,

      at makeError (node_modules/ethers/src.ts/utils/errors.ts:687:21)
      at assert (node_modules/ethers/src.ts/utils/errors.ts:715:25)
      at assertArgument (node_modules/ethers/src.ts/utils/errors.ts:727:5)
      at Interface.decodeFunctionData (node_modules/ethers/src.ts/abi/interface.ts:860:27)
      at Function.decodeFunctionData [as scanInnerTransaction] (src/services/security/modules/ApprovalModule/index.ts:52:49)
      at ApprovalModule.scanInnerTransaction [as scanTransaction] (src/services/security/modules/ApprovalModule/index.ts:126:44)
      at scanTransaction (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:39:37)
      at mountMemo (node_modules/react-dom/cjs/react-dom.development.js:16406:19)
      at Object.useMemo (node_modules/react-dom/cjs/react-dom.development.js:16851:16)
      at useMemo (node_modules/react/cjs/react.development.js:1650:21)
      at useApprovalInfos (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:37:28)
      at src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:88:57
      at TestComponent (node_modules/@testing-library/react/dist/pure.js:283:27)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at node_modules/@testing-library/react/dist/act-compat.js:63:25
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:26)
      at render (node_modules/@testing-library/react/dist/pure.js:246:10)
      at renderHook (node_modules/@testing-library/react/dist/pure.js:293:7)
      at customRenderHook (src/tests/test-utils.tsx:85:20)
      at Object.<anonymous> (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:88:34)

  ● useApprovalInfos › returns multiple ApprovalInfos if the transaction is a multiSend containing an approve and increaseAllowance call

    TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)

      50 |
      51 |     if (txPartial.data.startsWith(INCREASE_ALLOWANCE_SIGNATURE_HASH)) {
    > 52 |       const [spender, amount] = ERC20_INTERFACE.decodeFunctionData('increaseAllowance', txPartial.data)
         |                                                 ^
      53 |       return [
      54 |         {
      55 |           amount,

      at makeError (node_modules/ethers/src.ts/utils/errors.ts:687:21)
      at assert (node_modules/ethers/src.ts/utils/errors.ts:715:25)
      at assertArgument (node_modules/ethers/src.ts/utils/errors.ts:727:5)
      at Interface.decodeFunctionData (node_modules/ethers/src.ts/abi/interface.ts:860:27)
      at Function.decodeFunctionData [as scanInnerTransaction] (src/services/security/modules/ApprovalModule/index.ts:52:49)
      at scanInnerTransaction (src/services/security/modules/ApprovalModule/index.ts:124:76)
          at Array.flatMap (<anonymous>)
      at ApprovalModule.flatMap [as scanTransaction] (src/services/security/modules/ApprovalModule/index.ts:124:38)
      at scanTransaction (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:39:37)
      at mountMemo (node_modules/react-dom/cjs/react-dom.development.js:16406:19)
      at Object.useMemo (node_modules/react-dom/cjs/react-dom.development.js:16851:16)
      at useMemo (node_modules/react/cjs/react.development.js:1650:21)
      at useApprovalInfos (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:37:28)
      at src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:134:57
      at TestComponent (node_modules/@testing-library/react/dist/pure.js:283:27)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at node_modules/@testing-library/react/dist/act-compat.js:63:25
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:26)
      at render (node_modules/@testing-library/react/dist/pure.js:246:10)
      at renderHook (node_modules/@testing-library/react/dist/pure.js:293:7)
      at customRenderHook (src/tests/test-utils.tsx:85:20)
      at Object.<anonymous> (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:134:34)

  ● useApprovalInfos › returns multiple ApprovalInfos if the transaction is a multiSend containing 2 approvals and other transaction inbetween

    TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)

      50 |
      51 |     if (txPartial.data.startsWith(INCREASE_ALLOWANCE_SIGNATURE_HASH)) {
    > 52 |       const [spender, amount] = ERC20_INTERFACE.decodeFunctionData('increaseAllowance', txPartial.data)
         |                                                 ^
      53 |       return [
      54 |         {
      55 |           amount,

      at makeError (node_modules/ethers/src.ts/utils/errors.ts:687:21)
      at assert (node_modules/ethers/src.ts/utils/errors.ts:715:25)
      at assertArgument (node_modules/ethers/src.ts/utils/errors.ts:727:5)
      at Interface.decodeFunctionData (node_modules/ethers/src.ts/abi/interface.ts:860:27)
      at Function.decodeFunctionData [as scanInnerTransaction] (src/services/security/modules/ApprovalModule/index.ts:52:49)
      at scanInnerTransaction (src/services/security/modules/ApprovalModule/index.ts:124:76)
          at Array.flatMap (<anonymous>)
      at ApprovalModule.flatMap [as scanTransaction] (src/services/security/modules/ApprovalModule/index.ts:124:38)
      at scanTransaction (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:39:37)
      at mountMemo (node_modules/react-dom/cjs/react-dom.development.js:16406:19)
      at Object.useMemo (node_modules/react-dom/cjs/react-dom.development.js:16851:16)
      at useMemo (node_modules/react/cjs/react.development.js:1650:21)
      at useApprovalInfos (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:37:28)
      at src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:209:57
      at TestComponent (node_modules/@testing-library/react/dist/pure.js:283:27)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20103:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21626:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
      at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
      at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
      at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
      at act (node_modules/react/cjs/react.development.js:2582:11)
      at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
      at node_modules/@testing-library/react/dist/act-compat.js:63:25
      at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:26)
      at render (node_modules/@testing-library/react/dist/pure.js:246:10)
      at renderHook (node_modules/@testing-library/react/dist/pure.js:293:7)
      at customRenderHook (src/tests/test-utils.tsx:85:20)
      at Object.<anonymous> (src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:209:34)


  ● ApprovalEditor › should modify approvals on save

    TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)

      156 |           {
      157 |             to: tokenAddress,
    > 158 |             data: ERC20_INTERFACE.encodeFunctionData('increaseAllowance', [spenderAddress, '690000000000']),
          |                                   ^
      159 |             value: '0',
      160 |             operation: OperationType.Call,
      161 |           },

      at makeError (node_modules/ethers/src.ts/utils/errors.ts:687:21)
      at assert (node_modules/ethers/src.ts/utils/errors.ts:715:25)
      at assertArgument (node_modules/ethers/src.ts/utils/errors.ts:727:5)
      at Interface.encodeFunctionData (node_modules/ethers/src.ts/abi/interface.ts:878:27)
      at Object.encodeFunctionData (src/components/tx/ApprovalEditor/ApprovalEditor.test.tsx:158:35)

  ● ApprovalEditor › should modify increaseAllowance on save

    TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)

      264 |           {
      265 |             to: tokenAddress,
    > 266 |             data: ERC20_INTERFACE.encodeFunctionData('increaseAllowance', [spenderAddress, '690000000000']),
          |                                   ^
      267 |             value: '0',
      268 |             operation: OperationType.Call,
      269 |           },

      at makeError (node_modules/ethers/src.ts/utils/errors.ts:687:21)
      at assert (node_modules/ethers/src.ts/utils/errors.ts:715:25)
      at assertArgument (node_modules/ethers/src.ts/utils/errors.ts:727:5)
      at Interface.encodeFunctionData (node_modules/ethers/src.ts/abi/interface.ts:878:27)
      at Object.encodeFunctionData (src/components/tx/ApprovalEditor/ApprovalEditor.test.tsx:266:35)

Annotations

Check failure on line 79 in src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

useApprovalInfos > returns an ApprovalInfo if the transaction contains an increaseAllowance call

TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)
    at makeError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:687:21)
    at assert (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at assertArgument (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:727:5)
    at Interface.decodeFunctionData (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/abi/interface.ts:860:27)
    at Function.decodeFunctionData [as scanInnerTransaction] (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/security/modules/ApprovalModule/index.ts:52:49)
    at ApprovalModule.scanInnerTransaction [as scanTransaction] (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/security/modules/ApprovalModule/index.ts:126:44)
    at scanTransaction (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:39:37)
    at mountMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
    at Object.useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
    at useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:1650:21)
    at useApprovalInfos (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:37:28)
    at /home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:88:57
    at TestComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:283:27)
    at renderWithHooks (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
    at mountIndeterminateComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
    at beginWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
    at beginWork$1 (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
    at performUnitOfWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
    at workLoopSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
    at renderRootSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
    at recoverFromConcurrentError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
    at performConcurrentWorkOnRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25789:22)
    at flushActQueue (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2582:11)
    at actWithWarning (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/act-compat.js:63:25
    at renderRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:159:26)
    at render (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:246:10)
    at renderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:293:7)
    at customRenderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/src/tests/test-utils.tsx:85:20)
    at Object.<anonymous> (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:88:34)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 105 in src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

useApprovalInfos > returns multiple ApprovalInfos if the transaction is a multiSend containing an approve and increaseAllowance call

TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)
    at makeError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:687:21)
    at assert (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at assertArgument (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:727:5)
    at Interface.decodeFunctionData (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/abi/interface.ts:860:27)
    at Function.decodeFunctionData [as scanInnerTransaction] (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/security/modules/ApprovalModule/index.ts:52:49)
    at scanInnerTransaction (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/security/modules/ApprovalModule/index.ts:124:76)
    at Array.flatMap (<anonymous>)
    at ApprovalModule.flatMap [as scanTransaction] (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/security/modules/ApprovalModule/index.ts:124:38)
    at scanTransaction (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:39:37)
    at mountMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
    at Object.useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
    at useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:1650:21)
    at useApprovalInfos (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:37:28)
    at /home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:134:57
    at TestComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:283:27)
    at renderWithHooks (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
    at mountIndeterminateComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
    at beginWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
    at beginWork$1 (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
    at performUnitOfWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
    at workLoopSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
    at renderRootSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
    at recoverFromConcurrentError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
    at performConcurrentWorkOnRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25789:22)
    at flushActQueue (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2582:11)
    at actWithWarning (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/act-compat.js:63:25
    at renderRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:159:26)
    at render (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:246:10)
    at renderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:293:7)
    at customRenderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/src/tests/test-utils.tsx:85:20)
    at Object.<anonymous> (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:134:34)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 162 in src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

useApprovalInfos > returns multiple ApprovalInfos if the transaction is a multiSend containing 2 approvals and other transaction inbetween

TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)
    at makeError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:687:21)
    at assert (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at assertArgument (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:727:5)
    at Interface.decodeFunctionData (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/abi/interface.ts:860:27)
    at Function.decodeFunctionData [as scanInnerTransaction] (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/security/modules/ApprovalModule/index.ts:52:49)
    at scanInnerTransaction (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/security/modules/ApprovalModule/index.ts:124:76)
    at Array.flatMap (<anonymous>)
    at ApprovalModule.flatMap [as scanTransaction] (/home/runner/work/safe-wallet-web/safe-wallet-web/src/services/security/modules/ApprovalModule/index.ts:124:38)
    at scanTransaction (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:39:37)
    at mountMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
    at Object.useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
    at useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:1650:21)
    at useApprovalInfos (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.ts:37:28)
    at /home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:209:57
    at TestComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:283:27)
    at renderWithHooks (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
    at mountIndeterminateComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
    at beginWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
    at beginWork$1 (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
    at performUnitOfWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
    at workLoopSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
    at renderRootSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
    at recoverFromConcurrentError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
    at performConcurrentWorkOnRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25789:22)
    at flushActQueue (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2582:11)
    at actWithWarning (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/act-compat.js:63:25
    at renderRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:159:26)
    at render (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:246:10)
    at renderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:293:7)
    at customRenderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/src/tests/test-utils.tsx:85:20)
    at Object.<anonymous> (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/hooks/useApprovalInfos.test.ts:209:34)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 135 in src/components/tx/ApprovalEditor/ApprovalEditor.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

ApprovalEditor > should modify approvals on save

TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)
    at makeError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:687:21)
    at assert (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at assertArgument (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:727:5)
    at Interface.encodeFunctionData (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/abi/interface.ts:878:27)
    at Object.encodeFunctionData (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/ApprovalEditor.test.tsx:158:35)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 243 in src/components/tx/ApprovalEditor/ApprovalEditor.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

ApprovalEditor > should modify increaseAllowance on save

TypeError: unknown function (argument="fragment", value="increaseAllowance", code=INVALID_ARGUMENT, version=6.11.1)
    at makeError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:687:21)
    at assert (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at assertArgument (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/utils/errors.ts:727:5)
    at Interface.encodeFunctionData (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/ethers/src.ts/abi/interface.ts:878:27)
    at Object.encodeFunctionData (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/tx/ApprovalEditor/ApprovalEditor.test.tsx:266:35)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)