diff --git a/src/components/walletconnect/WcProposalForm/__tests__/useCompatibilityWarning.test.ts b/src/components/walletconnect/WcProposalForm/__tests__/useCompatibilityWarning.test.ts index 22a20f254e..d0c7d1c4af 100644 --- a/src/components/walletconnect/WcProposalForm/__tests__/useCompatibilityWarning.test.ts +++ b/src/components/walletconnect/WcProposalForm/__tests__/useCompatibilityWarning.test.ts @@ -92,8 +92,7 @@ describe('useCompatibilityWarning', () => { const { result } = renderHook(() => useCompatibilityWarning(proposal, true)) expect(result.current).toEqual({ - message: - 'Fake dApp does not support the Safe Account network. If you want to interact with Fake dApp, please switch to a Safe Account on a supported network.', + message: `Fake dApp does not support this Safe Account's network (this network). Please switch to a Safe Account on one of the supported networks below.`, severity: 'error', }) }) @@ -110,8 +109,7 @@ describe('useCompatibilityWarning', () => { const { result } = renderHook(() => useCompatibilityWarning(proposal, true)) expect(result.current).toEqual({ - message: - 'This dApp does not support the Safe Account network. If you want to interact with this dApp, please switch to a Safe Account on a supported network.', + message: `This dApp does not support this Safe Account's network (this network). Please switch to a Safe Account on one of the supported networks below.`, severity: 'error', }) }) diff --git a/src/components/walletconnect/WcProposalForm/useCompatibilityWarning.ts b/src/components/walletconnect/WcProposalForm/useCompatibilityWarning.ts index 1346305a92..bb003af567 100644 --- a/src/components/walletconnect/WcProposalForm/useCompatibilityWarning.ts +++ b/src/components/walletconnect/WcProposalForm/useCompatibilityWarning.ts @@ -21,7 +21,7 @@ const Warnings: Record = { }, UNSUPPORTED_CHAIN: { severity: 'error', - message: `${NAME_PLACEHOLDER} does not support this Safe Account's network (${CHAIN_PLACEHOLDER}). Please switch to a Safe Account on one of supported networks below.`, + message: `${NAME_PLACEHOLDER} does not support this Safe Account's network (${CHAIN_PLACEHOLDER}). Please switch to a Safe Account on one of the supported networks below.`, }, WRONG_CHAIN: { severity: 'info', diff --git a/src/services/walletconnect/__tests__/WalletConnectWallet.test.ts b/src/services/walletconnect/__tests__/WalletConnectWallet.test.ts index ef681c54f2..a36eaf4097 100644 --- a/src/services/walletconnect/__tests__/WalletConnectWallet.test.ts +++ b/src/services/walletconnect/__tests__/WalletConnectWallet.test.ts @@ -170,7 +170,15 @@ describe('WalletConnectWallet', () => { 'eip155:137', 'eip155:1101', ], - methods: ['eth_sendTransaction', 'personal_sign'], + methods: [ + 'eth_sendTransaction', + 'personal_sign', + 'eth_accounts', + 'eth_sign', + 'eth_signTypedData', + 'eth_signTypedData_v4', + 'wallet_switchEthereumChain', + ], events: ['chainChanged', 'accountsChanged'], accounts: [ `eip155:1:${hexZeroPad('0x123', 20)}`,