Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork Uniswap for a new Ethereum chain gives MetaMask - RPC Error #1349

Closed
Ben-Haslam opened this issue Mar 30, 2021 · 0 comments
Closed

Fork Uniswap for a new Ethereum chain gives MetaMask - RPC Error #1349

Ben-Haslam opened this issue Mar 30, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Ben-Haslam
Copy link

Bug Description

I have forked the Uniswap interface for a private ethereum network, by adding another chain Id that the interface can use and modifying the right addresses. (this means rebuilding the sdk too and importing the dist into the uniswap-interface node modules. )

Upon loading the development build of the interface and connecting to a metamask wallet, the interface initially appears successful, displaying the balance of ETH and tokens, but then after a few seconds loses connection. If I look at the console in browser, I see that when it loses connection, I get the following error:

image

If anybody has seen this problem before and might know how to fix it I would be extremely thankful!

Steps to Reproduce

  1. Go to the repo for the forked interface here, or make your own fork for a new Ethereum network
  2. Run the script script.sh

Expected Behavior
The interface should work with the Autontiy Bakerloo network (or another network it has been forked for) without losing connection and giving this error.

Additional Context

I have also tried using a repo made by @tpmccallum to do the same thing here which led to the same outcome.

I believe I am not alone in having this error when attempting to fork the interface for another network, as these issues show the same problem:

makerdao/multicall#14
second-state/how_to_deploy_uniswap#4

@Ben-Haslam Ben-Haslam added the bug Something isn't working label Mar 30, 2021
@Uniswap Uniswap locked and limited conversation to collaborators Apr 19, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants