Skip to content

Commit

Permalink
update chain labels
Browse files Browse the repository at this point in the history
  • Loading branch information
sslivkoff committed Oct 12, 2023
1 parent d1e3b00 commit 726ab18
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion crates/cli/src/parse/file_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,24 @@ pub(crate) fn parse_network_name(args: &Args, chain_id: u64) -> String {
Some(name) => name.clone(),
None => match chain_id {
1 => "ethereum".to_string(),
5 => "goerli".to_string(),
10 => "optimism".to_string(),
56 => "binance".to_string(),
56 => "bnb".to_string(),
69 => "optimism_kovan".to_string(),
100 => "gnosis".to_string(),
137 => "polygon".to_string(),
420 => "optimism_goerli".to_string(),
1101 => "polygon_zkevm".to_string(),
1442 => "polygon_zkevm_testnet".to_string(),
8453 => "base".to_string(),
10200 => "gnosis_chidao".to_string(),
17000 => "holesky".to_string(),
42161 => "arbitrum".to_string(),
42170 => "arbitrum_nova".to_string(),
43114 => "avalanche".to_string(),
80001 => "polygon_mumbai".to_string(),
84531 => "base_goerli".to_string(),
7777777 => "zora".to_string(),
11155111 => "sepolia".to_string(),
chain_id => "network_".to_string() + chain_id.to_string().as_str(),
},
Expand Down

0 comments on commit 726ab18

Please sign in to comment.