Skip to content

safemoon swap fix

safemoon swap fix #484

Triggered via pull request June 16, 2025 11:10
Status Success
Total duration 2m 23s
Artifacts

ci-main-tests.yml

on: pull_request
Static Security Tests
2m 12s
Static Security Tests
Dependency Scan
24s
Dependency Scan
Run Tests
2m 6s
Run Tests
All tests pass
2s
All tests pass
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Run Tests: VoterWeightPlugins/hooks/useCalculatedVoterWeights.ts#L45
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#L44
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#L43
React Hook useAsync has a missing dependency: 'args'. Either include it or remove the dependency array
Run Tests: VoterWeightPlugins/hooks/useCalculatedMaxVoterWeight.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/useCalculatedMaxVoterWeight.ts#L38
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#L37
React Hook useAsync has missing dependencies: 'args' and 'configuredMaxVoteWeight'. Either include them or remove the dependency array
Run Tests: TokenVoterPlugin/components/BalanceCard.tsx#L61
React Hook useMemo has a missing dependency: 'communityOwnVoterWeight?.value'. Either include it or remove the dependency array
Run Tests: PythVotePlugin/components/PythVotingPower.tsx#L66
React Hook useMemo has a missing dependency: 'pythScalingFactor'. Either include it or remove the dependency array
Run Tests: ParclVotePlugin/components/ParclVotingPower.tsx#L68
React Hook useMemo has missing dependencies: 'parclScalingFactor' and 'role'. Either include them or remove the dependency array
Run Tests: HeliumVotePlugin/components/LockTokensAccount.tsx#L155
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