Skip to content

Merge pull request #1838 from solana-labs:agrippa/legend-bug-report #1549

Merge pull request #1838 from solana-labs:agrippa/legend-bug-report

Merge pull request #1838 from solana-labs:agrippa/legend-bug-report #1549

Triggered via push September 27, 2023 20:49
Status Failure
Total duration 4m 14s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Matrix: Static Security Tests
All tests pass
0s
All tests pass
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Run Tests: components/GovernancePower/Vanilla/VanillaVotingPower.tsx#L38
'realmInfo' is assigned a value but never used
Run Tests
Process completed with exit code 1.
Run Tests: HeliumVotePlugin/components/LockTokensAccount.tsx#L155
React Hook useAsync has missing dependencies: 'config?.account.communityTokenConfig.voterWeightAddin', 'connection', 'currentClient', 'getPositions', 'realm.account.communityMint', 'realm.pubkey', and 'wallet.publicKey'. Either include them or remove the dependency array
Run Tests: components/NewRealmWizard/components/NFTCollectionModal.tsx#L85
React Hook useAsync has a missing dependency: 'network'. Either include it or remove the dependency array
Run Tests: components/TreasuryAccount/MangoModal.tsx#L44
React Hook useEffect has missing dependencies: 'account.extensions.transferAddress', 'mangoClient', and 'mangoGroup'. Either include them or remove the dependency array
Run Tests: components/TreasuryAccount/MangoModal.tsx#L44
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: components/TreasuryAccount/Trade.tsx#L344
React Hook useCallback has missing dependencies: 'anchorProvider', 'fmtUrlWithCluster', 'handleCreateProposal', 'mintAccount.account.decimals', 'router', 'tokenAccount.pubkey', and 'voteByCouncil'. Either include them or remove the dependency array
Run Tests: components/treasuryV2/WalletList/WalletListItem/AssetList/index.tsx#L166
React Hook useEffect has missing dependencies: 'realm.account.communityMint' and 'realm.account.config.councilMint'. Either include them or remove the dependency array
Run Tests: hooks/queries/plugins/vsr.ts#L184
React Hook useAsync has missing dependencies: 'connection', 'realm', and 'wallets'. Either include them or remove the dependency array
Run Tests: hooks/useMangoV4.tsx#L61
React Hook useEffect has missing dependencies: 'GROUP', 'connection', 'getClient', and 'wallet'. Either include them or remove the dependency array
Run Tests: hooks/useMangoV4.tsx#L61
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: hooks/useVoteRecords.ts#L111
React Hook useAsync has a missing dependency: 'connection.endpoint'. Either include it or remove the dependency array