Giter Site home page Giter Site logo

ChainID 101 conflict about chains HOT 13 CLOSED

ethereum-lists avatar ethereum-lists commented on June 19, 2024
ChainID 101 conflict

from chains.

Comments (13)

pedrouid avatar pedrouid commented on June 19, 2024 1

It's no big deal as these two chain look the same, so it could be either a typo or a duplicate entry.

There can only be one chain per chainId as per EIP-155 spec so we need to be the judges of conflicting scenarios like this. This is not the official list of EVM as there will never an official list but it's a trusted signal for listing EVM chains.

I checked and these two chains were part of the same commit: 9acc67d

Hi @hackmod, could you review this chainId conflict and tell us where we could verify if this is a typo, duplicate or something else?

from chains.

pedrouid avatar pedrouid commented on June 19, 2024 1

Thanks @hackmod! This makes it clearer that they are not the same chain and there is indeed a chainId conflict

  {
    "name": "Webchain",
    "short_name": "web",
    "chain": "WEB",
    "network": "mainnet",
    "chain_id": 101,
    "network_id": 37129,
    "rpc": ["https://node1.webchain.network"]
  },
  {
    "name": "EtherInc",
    "short_name": "eti",
    "chain": "ETI",
    "network": "mainnet",
    "chain_id": 101,
    "network_id": 1,
    "rpc": ["https://api.einc.io/jsonrpc/mainnet"]
  }

Now we need to decide how we handle these and apply process for the future. Given that there is a clear lack of resources on these chainIds.

I propose that we list both conflicting chains and highlight active conflicts on the chainId.network website. This way we have a good signal of these events happening in the future and we can kickstart the process to solve them.

In my opinion, the first chain to use the chainId should not have to change the chainId. Therefore when these conflicts appear we should contact and/or open a Github issue to request the second chain to change their chainId.

In this specific conflict, WebChain should change their chainId since EtherInc had the chainId first as reported by @suryanshkumr on issue mintme-com/webchaind#1

from chains.

pedrouid avatar pedrouid commented on June 19, 2024 1

Cool, just updated the list on commit 09c24317a22c56f92a5460793b704f362aadd7b9

from chains.

ligi avatar ligi commented on June 19, 2024 1

I signal to remove webchain. IMHO we should really discourage duplicate chainIDs as it leads to possible replay attacks and ugly code.
Etherinc produced the first block before webchain - this is the root of my signaling. And IMHO we should also use this as a guideline for the future.

what do you think @pedrouid @bmann

would be great to have a decision on this soon as #40 depends on it

from chains.

ligi avatar ligi commented on June 19, 2024

I do not really want to be the judge of this. Can't there be both?

from chains.

bmann avatar bmann commented on June 19, 2024

It’s a really interesting case. I think informing both “owners” and helping them pick an un-used chain IDs is something we can help with.

They don’t have to listen to us of course, but I think it’s the exact sort of thing that’s helpful for us to do.

eg “before picking a ChainID, review ChainID.network and select an unused ChainID”

from chains.

bmann avatar bmann commented on June 19, 2024

Great. This is great info for the About page re: EIP-155 and to explain the goal here.

from chains.

hackmod avatar hackmod commented on June 19, 2024

unfortunately, it is not a typo.
Please see MyEtherWallet/etherwallet#2145

cc: @suryanshkumr @lukaszmatczak @mk

from chains.

lukaszmatczak avatar lukaszmatczak commented on June 19, 2024

I agree that we need to resolve it somehow. But I think that root of this problem is inside EIP-155 specification. I've created issue about it: ethereum/EIPs#1747

We need to wait and see how it will be fixed in specification and then resolve this conflict properly.

BTW. And of course there is a typo in list. EtherInc has "web" as "Short Name" and "Chain".

from chains.

ligi avatar ligi commented on June 19, 2024

BTW. And of course there is a typo in list. EtherInc has "web" as "Short Name" and "Chain".

what should these be instead?

from chains.

hackmod avatar hackmod commented on June 19, 2024

BTW. And of course there is a typo in list. EtherInc has "web" as "Short Name" and "Chain".

what should these be instead?

oops my mistake! that's ETI.

from chains.

pedrouid avatar pedrouid commented on June 19, 2024

Hey @lukaszmatczak, do you have an update on the chain_id fork for Webchain?

from chains.

lukaszmatczak avatar lukaszmatczak commented on June 19, 2024

@pedrouid Yes. We've just released new version of our daemon. Hardfork is planned on April 8th (height 2,022,222).

from chains.

Related Issues (20)

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.