Skip to content

Fix: Delegator with no power can create proposal and batch vote #2751

Fix: Delegator with no power can create proposal and batch vote

Fix: Delegator with no power can create proposal and batch vote #2751

Triggered via pull request May 15, 2024 03:55
Status Failure
Total duration 2m 53s
Artifacts

ci-main-tests.yml

on: pull_request
Static Security Tests
2m 43s
Static Security Tests
Dependency Scan
35s
Dependency Scan
Run Tests
59s
Run Tests
All tests pass
0s
All tests pass
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 15 warnings
Run Tests: pages/dao/[symbol]/index.tsx#L83
'ownVoterWeight' is assigned a value but never used
Run Tests
Process completed with exit code 1.
Dependency Scan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Dependency Scan
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Run Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Tests: HeliumVotePlugin/components/LockTokensAccount.tsx#L160
React Hook useAsync has missing dependencies: 'config?.account.communityTokenConfig.voterWeightAddin', 'connection', 'getPositions', 'realm.account.communityMint', 'realm.pubkey', 'votingClients', and 'wallet.publicKey'. Either include them or remove the dependency array
Run Tests: PythVotePlugin/components/PythVotingPower.tsx#L65
React Hook useMemo has a missing dependency: 'pythScalingFactor'. Either include it or remove the dependency array
Run Tests: VoterWeightPlugins/hooks/useCalculatedMaxVoterWeight.ts#L21
React Hook useAsync has a missing dependency: 'args'. Either include it or remove the dependency array
Run Tests: VoterWeightPlugins/hooks/useCalculatedMaxVoterWeight.ts#L22
React Hook useAsync has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: VoterWeightPlugins/hooks/useCalculatedMaxVoterWeight.ts#L23
React Hook useAsync has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: VoterWeightPlugins/hooks/useCalculatedVoterWeights.ts#L38
React Hook useAsync has a missing dependency: 'args'. Either include it or remove the dependency array
Run Tests: VoterWeightPlugins/hooks/useCalculatedVoterWeights.ts#L39
React Hook useAsync has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: VoterWeightPlugins/hooks/useCalculatedVoterWeights.ts#L40
React Hook useAsync has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: VoterWeightPlugins/hooks/useCalculatedVoterWeights.ts#L41
React Hook useAsync has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: VoterWeightPlugins/hooks/useCalculatedVoterWeights.ts#L42
React Hook useAsync has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Static Security Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Security Tests
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/