Git Product home page Git Product logo

gbc-deposit-ui's Introduction

Gnosis Beacon Chain deposit UI

Simple tool to deposit tokens to the Gnosis Beacon Chain

gbc-deposit-ui's People

Contributors

4rgon4ut avatar adrifdez avatar albertoelias avatar alebanzas avatar atifather avatar beemeeupnow avatar dapplion avatar elias-garcia avatar filoozom avatar giacomognosis avatar giacomolicari avatar gmonty030 avatar maxaleks avatar pablomendezroyo avatar petertheone avatar wagalidoom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gbc-deposit-ui's Issues

could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.5.0)

With deposit.gnosischain.com, I can't claim the validators on the DAppNode tab.

Steps to reproduce

  1. Configure Gnosis chain in Metamask (settings from gnosisscan.io)
{
   rpcUrl: "https://rpc.gnosischain.com", 
   chainId: 100, 
   symbol: "xDai", 
   explorer: "https://gnosisscan.io"
}
  1. Upload deposit_data.json on the DAppNode tab

Expected Result
Claim succeeds

Actual Result
The website stays in Validating and then shows the error msg: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.6.8)

Additional Notes

  1. The browser console shows that the website is trying to connect to https://rpc-deposit.gnosischain.com/, which seems to be unreachable. The error in the console is: OPTIONS https://rpc-deposit.gnosischain.com/ CORS Missing Allow Origin.
  2. This issue is a duplicate of #3, which has been resolved in June. The issue now seems to resurface.

could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.5.0)

Hey, a few dappnode users are experiencing the following error while uploading the deposit data file

could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.5.0)

I was wondering if the gnosis network was created with an outdated RPC, if so the UI should update to the latest RPC so users add the network gnosis to their wallet manager with a valid RPC

Make the tool single instance

Make the deposit tool ready to be deployed in a single instance.

Based on the user's network selection will automatically configure it, both for Gnosis Mainnet and Chiado Testnet.

  • Env variables by the network to code

chore: prettier + eslint

Formatting is missing from this repo and should be checked in CI. There are lint and lint:fix scripts, but they're not enforced at this time.

deposit ui freezing

Right now the cached "existing_deposits.json" was last updated at block 22673201. It is more then 6.1M blocks behind. Therefore the UI needs to fetch a lot of logs to update the pubkey list and validate a new deposit.
The way the "getPastLogs" function (use-deposit and use-dappnode-deposit) works, it create a lot of errors.

With each error thrown it has to re-fetch that chunk and it doubles the amount of async fetches. This made it impossible for me to deposit. Therefor the number of concurrent RPC calls should be limited.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.