chain-registry icon indicating copy to clipboard operation
chain-registry copied to clipboard

should we enforce testnets have unique names?

Open pyramation opened this issue 3 years ago • 2 comments

    "chain_name": "cheqd",

appears in both main and testnets...

the problem is that assetlist has no way of telling if network_type is mainnet or testnet. I would suggest instead of adding network_type to assetlist, we try to enforce testnets are named uniquely from the mainnet name.

pyramation avatar Aug 31 '22 20:08 pyramation

related https://github.com/cosmos/chain-registry/pull/680

pyramation avatar Aug 31 '22 20:08 pyramation

Yes, I think so. I also am considering whether the folder titles should be the corresponding mainnet folder name + "testnet". So, e.g., kujira's testnet should have a folder and chainname of kujiratestnet/, but the pretty_name can be "harpoon".

JeremyParish69 avatar Sep 01 '22 18:09 JeremyParish69

I believe this has been enforced to all existing testnet folders and would be simple to maintain

JeremyParish69 avatar Dec 20 '22 19:12 JeremyParish69