Skip to content

test(walletconnect): cover multichain permission/normalization regres…

955a50f
Select commit
Loading
Failed to load commit list.
Open

feat(walletconnect): add multichain routing and namespace approval for first non-EVM chain (Tron) #29428

test(walletconnect): cover multichain permission/normalization regres…
955a50f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 6, 2026 in 1m 49s

Quality Gate failed

Annotations

Check warning on line 421 in app/core/WalletConnect/multichain/tron/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ3Zdwtk384hUvdeVAya&open=AZ3Zdwtk384hUvdeVAya&pullRequest=29428

Check warning on line 271 in app/core/WalletConnect/multichain/tron/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ3Zdwtk384hUvdeVAyX&open=AZ3Zdwtk384hUvdeVAyX&pullRequest=29428

Check warning on line 22 in app/core/Permissions/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'getPermittedEthChainIds'.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ3Zdwdj384hUvdeVAyV&open=AZ3Zdwdj384hUvdeVAyV&pullRequest=29428

Check warning on line 29 in app/core/WalletConnect/multichain/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'normalizeCaipChainIdOutboundForWalletConnectTron'.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ34jh4ZJPAdnMVAWiXH&open=AZ34jh4ZJPAdnMVAWiXH&pullRequest=29428

Check warning on line 27 in app/core/WalletConnect/multichain/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'getCompatibleTronCaipChainIdsForWalletConnect'.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ34jh4ZJPAdnMVAWiXF&open=AZ34jh4ZJPAdnMVAWiXF&pullRequest=29428

Check warning on line 146 in app/core/WalletConnect/multichain/tron/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ3ZoEmDfDERzwLppCLp&open=AZ3ZoEmDfDERzwLppCLp&pullRequest=29428

Check warning on line 410 in app/core/WalletConnect/multichain/tron/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ3Zdwtk384hUvdeVAyZ&open=AZ3Zdwtk384hUvdeVAyZ&pullRequest=29428

Check failure on line 267 in app/core/WalletConnect/multichain/tron/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 32 to the 30 allowed.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ3Zdwtk384hUvdeVAyW&open=AZ3Zdwtk384hUvdeVAyW&pullRequest=29428

Check warning on line 426 in app/core/WalletConnect/multichain/tron/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the opposite operator (!==) instead.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ3Zdwtk384hUvdeVAyb&open=AZ3Zdwtk384hUvdeVAyb&pullRequest=29428

Check warning on line 28 in app/core/WalletConnect/multichain/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'normalizeCaipChainIdInboundForWalletConnectTron'.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ34jh4ZJPAdnMVAWiXG&open=AZ34jh4ZJPAdnMVAWiXG&pullRequest=29428

Check warning on line 274 in app/core/WalletConnect/multichain/tron/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZ3Zdwtk384hUvdeVAyY&open=AZ3Zdwtk384hUvdeVAyY&pullRequest=29428