From ee1a283e77d75acf258237c517ab5d7d3354275d Mon Sep 17 00:00:00 2001 From: Ashutosh Kumar Date: Sun, 28 Aug 2022 16:24:53 +0000 Subject: [PATCH] Added `redFlags` in schema definition and in eip155-8080 --- _data/chains/eip155-8080.json | 30 ++++++------------------------ tools/schema/chainSchema.json | 8 ++++++++ 2 files changed, 14 insertions(+), 24 deletions(-) diff --git a/_data/chains/eip155-8080.json b/_data/chains/eip155-8080.json index a8691f3e..03003570 100644 --- a/_data/chains/eip155-8080.json +++ b/_data/chains/eip155-8080.json @@ -1,19 +1,8 @@ { -<<<<<<< HEAD - "name": "GeneChain Adenine Testnet", - "chain": "GeneChain", - "rpc": ["https://rpc-testnet.genechain.io"], - "faucets": ["https://faucet.genechain.io"], -======= "name": "Shardeum Liberty 1.3", "chain": "Shardeum", - "rpc": [ - "https://liberty10.shardeum.org/" - ], - "faucets": [ - "https://faucet.liberty10.shardeum.org" - ], ->>>>>>> 1a8f2e7 (Update eip155-8080.json) + "rpc": ["https://liberty10.shardeum.org/"], + "faucets": ["https://faucet.liberty10.shardeum.org"], "nativeCurrency": { "name": "Shardeum SHM", "symbol": "SHM", @@ -23,19 +12,12 @@ "shortName": "ShardeumSHM", "chainId": 8080, "networkId": 8080, -<<<<<<< HEAD "explorers": [ { - "name": "GeneChain Adenine Testnet Scan", - "url": "https://scan-testnet.genechain.io", + "name": "Sharedum Scan", + "url": "https://explorer.liberty10.shardeum.org", "standard": "EIP3091" } - ] -======= - "explorers": [{ - "name": "Sharedum Scan", - "url": "https://explorer.liberty10.shardeum.org", - "standard": "EIP3091" - }] ->>>>>>> 1a8f2e7 (Update eip155-8080.json) + ], + "redFlags": ["reusedChainId"] } diff --git a/tools/schema/chainSchema.json b/tools/schema/chainSchema.json index 144876e2..280e3e0c 100644 --- a/tools/schema/chainSchema.json +++ b/tools/schema/chainSchema.json @@ -117,6 +117,14 @@ }, "status":{ "type":"string" + }, + "redFlags":{ + "type":"array", + "items":{ + "type":"string", + "enum": ["reusedChainId"] + } + } }, "additionalProperties": false