sushiswap-interface icon indicating copy to clipboard operation
sushiswap-interface copied to clipboard

"Invalid RPC URL: undefined" When Connecting To Nova Through New TrustWallet Plugin

Open 0xMaka opened this issue 2 years ago • 1 comments

Screenshot_2022-11-30_18-17-31.png

Steps to reproduce: Install new TrustWallet plugin Add Nova as a custom network Connect to Sushi via Metamask (injected) option Open console window Perform an action such as select tokens for swap

Actual result: Endless fetching See in console: "'Invalid RPC URL: undefined'" Expanded: {method: 'eth_getBlockByNumber', origin: 'https://app.sushi.com', params: Array(2)}

Expected result: Make connection See price quote appear

Note:

  • The new TrustWallet plugin can connect to other sites such as https://arbswap.io/
  • Nova via Metamask can connect to Sushi.

Issue effects v1 and v2


Source URL: https://app.sushi.com/swap?inputCurrency=0x750ba8b76187092B0D1E87E28daaf484d1b5273b&outputCurrency=0x0057Ac2d777797d31CD3f8f13bF5e927571D6Ad0

Issue details: Open in Marker.io

Console: 📃 0 logs

Device typedesktop
BrowserChrome 107.0.0.0
Screen Size1680 x 1050
OSWindows 10.0.0
Viewport Size1866 x 1058
Zoom Level90%
Pixel Ratio@​0.8999999761581421x

Attached files:

- 7sDo3e2.png (42.2KB)

- KJXGCLH.png (22.9KB)

0xMaka avatar Nov 30 '22 18:11 0xMaka

Two RPC's were tested. The one here https://chainlist.org/chain/42170 and the one Sushi adds by default. Omitted to reduce spam.

0xMaka avatar Nov 30 '22 18:11 0xMaka