Skip to content

Fix CI

Fix CI #23

Triggered via push November 16, 2023 21:35
Status Failure
Total duration 2m 39s
Artifacts
Matrix: Static Security Tests
All tests pass
0s
All tests pass
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
Run Tests: hooks/queries/governancePower.ts#L40
'AnchorProvider' is defined but never used
Run Tests: hooks/queries/governancePower.ts#L40
'AnchorProvider' is defined 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#L46
React Hook useEffect has missing dependencies: 'account.extensions.token', 'mangoClient', and 'mangoGroup'. Either include them or remove the dependency array
Run Tests: components/TreasuryAccount/MangoModal.tsx#L46
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#L165
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/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
Run Tests: hooks/useVotingPlugins.ts#L268
React Hook useEffect has a missing dependency: 'pythClient'. Either include it or remove the dependency array