safemoon swap fix #484
ci-main-tests.yml
on: pull_request
Static Security Tests
2m 12s
Dependency Scan
24s
Run Tests
2m 6s
All tests pass
2s
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
|