Skip to content

Commit

Permalink
Update Arbitrum, BSC and BSC Testnet names and aliases (#121)
Browse files Browse the repository at this point in the history
* Update Arbitrum, BSC and BSC Testnet names and aliases

* Keep aliases the same. Only update the names
  • Loading branch information
andreogle authored Nov 6, 2023
1 parent 477462d commit dfe1dc2
Show file tree
Hide file tree
Showing 5 changed files with 346 additions and 346 deletions.
2 changes: 1 addition & 1 deletion chains/arbitrum.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"browserUrl": "https://arbiscan.io/"
},
"id": "42161",
"name": "Arbitrum",
"name": "Arbitrum One",
"providers": [
{
"alias": "default",
Expand Down
2 changes: 1 addition & 1 deletion chains/bsc-testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"browserUrl": "https://testnet.bscscan.com/"
},
"id": "97",
"name": "BSC testnet",
"name": "BNB Smart Chain testnet",
"providers": [
{
"alias": "default",
Expand Down
2 changes: 1 addition & 1 deletion chains/bsc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"browserUrl": "https://bscscan.com/"
},
"id": "56",
"name": "BSC",
"name": "BNB Smart Chain",
"providers": [
{
"alias": "default",
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jsonFiles.forEach((filePath: string, index: number) => {
const chain = jsonChains[index]!;
if (filePath.replace('.json', '') !== chain.alias) {
logs.push("JSON file name must match the chain's alias");
logs.push(`Current value: ${filePath}.json. Expected: ${chain.alias}.json\n`);
logs.push(`Current value: ${filePath}. Expected: ${chain.alias}.json\n`);
}
});

Expand Down
Loading

0 comments on commit dfe1dc2

Please sign in to comment.