Skip to content

feat: test airdrop on sepolia #200

feat: test airdrop on sepolia

feat: test airdrop on sepolia #200

Triggered via pull request February 21, 2024 13:11
@schmanuschmanu
synchronize #55
Status Success
Total duration 13s
Artifacts

cla.yml

on: pull_request_target
CLAAssistant
6s
CLAAssistant
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
useSafeTokenAllocation > _getVotingPower > return balance if no vestings exists: src/hooks/__tests__/useSafeTokenAllocation.test.ts#L249
Error: expect(received).toBeTruthy() Received: false at Object.toBeTruthy (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/src/hooks/__tests__/useSafeTokenAllocation.test.ts:259:45) at processTicksAndRejections (node:internal/process/task_queues:95:5)
useSafeTokenAllocation > _getVotingPower > include redeemed allocations if deadline has not passed: src/hooks/__tests__/useSafeTokenAllocation.test.ts#L300
Error: expect(received).toEqual(expected) // deep equality Expected: 2000 Received: 0 at Object.toEqual (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/src/hooks/__tests__/useSafeTokenAllocation.test.ts:335:34) at processTicksAndRejections (node:internal/process/task_queues:95:5)
_getIsTokenPaused > should return true on error: src/hooks/__tests__/useIsTokenPaused.test.ts#L18
Error: expect(received).toBeTruthy() Received: null at Object.toBeTruthy (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/src/hooks/__tests__/useIsTokenPaused.test.ts:23:20) at processTicksAndRejections (node:internal/process/task_queues:95:5)
_getIsTokenPaused > should return true if token is paused: src/hooks/__tests__/useIsTokenPaused.test.ts#L27
Error: expect(received).toBeTruthy() Received: null at Object.toBeTruthy (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/src/hooks/__tests__/useIsTokenPaused.test.ts:32:20) at processTicksAndRejections (node:internal/process/task_queues:95:5)
_getIsTokenPaused > should return false if token is unpaused: src/hooks/__tests__/useIsTokenPaused.test.ts#L36
Error: expect(jest.fn()).toBeCalledTimes(expected) Expected number of calls: 1 Received number of calls: 0 at Object.toBeCalledTimes (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/src/hooks/__tests__/useIsTokenPaused.test.ts:42:22) at processTicksAndRejections (node:internal/process/task_queues:95:5)
_getContractDelegate() > ignore the ZERO_ADDRESS as delegate: src/hooks/__tests__/useContractDelegate.test.ts#L44
TypeError: Cannot read properties of undefined (reading 'length') at toUtf8Bytes (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/@ethersproject/strings/src.ts/utf8.ts:210:29) at formatBytes32String (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/@ethersproject/strings/src.ts/bytes32.ts:12:30) at Object.<anonymous> (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/src/hooks/__tests__/useContractDelegate.test.ts:45:50) at Promise.then.completed (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/utils.js:289:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/utils.js:222:10) at _callCircusTest (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:248:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:184:3) at _runTestsForDescribeBlock (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:86:9) at _runTestsForDescribeBlock (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:81:9) at run (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:26:3) at runAndTransformResultsToJestFormat (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:120:21) at jestAdapter (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-runner/build/testWorker.js:106:12)
_getContractDelegate() > should encode the correct data and fetch the delegate on-chain once: src/hooks/__tests__/useContractDelegate.test.ts#L63
TypeError: Cannot read properties of undefined (reading 'length') at toUtf8Bytes (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/@ethersproject/strings/src.ts/utf8.ts:210:29) at formatBytes32String (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/@ethersproject/strings/src.ts/bytes32.ts:12:30) at Object.<anonymous> (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/src/hooks/__tests__/useContractDelegate.test.ts:64:50) at Promise.then.completed (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/utils.js:289:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/utils.js:222:10) at _callCircusTest (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:248:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:184:3) at _runTestsForDescribeBlock (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:86:9) at _runTestsForDescribeBlock (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:81:9) at run (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/run.js:26:3) at runAndTransformResultsToJestFormat (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:120:21) at jestAdapter (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/safe-dao-governance-app/safe-dao-governance-app/node_modules/jest-runner/build/testWorker.js:106:12)
CLAAssistant
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: contributor-assistant/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CLAAssistant
The following actions uses node12 which is deprecated and will be forced to run on node16: contributor-assistant/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/