Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Feb 1, 2025
1 parent 2742f21 commit 2e464f4
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions src/named.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,17 +440,11 @@ pub enum NamedChain {
BerachainArtio = 80085,

#[strum(to_string = "superposition-testnet")]
#[cfg_attr(
feature = "serde",
serde(alias = "superposition-testnet")
)]
#[cfg_attr(feature = "serde", serde(alias = "superposition-testnet"))]
SuperpositionTestnet = 98985,

#[strum(to_string = "superposition")]
#[cfg_attr(
feature = "serde",
serde(alias = "superposition")
)]
#[cfg_attr(feature = "serde", serde(alias = "superposition"))]
Superposition = 55244,
}

Expand Down Expand Up @@ -1496,8 +1490,13 @@ impl NamedChain {
),
BerachainBartio => ("https://bartio.beratrail.io/api", "https://bartio.beratrail.io"),
BerachainArtio => ("https://artio.beratrail.io/api", "https://artio.beratrail.io"),
SuperpositionTestnet => ("https://testnet-explorer.superposition.so/api", "https://testnet-explorer.superposition.so"),
Superposition => ("https://explorer.superposition.so/api", "https://explorer.superposition.so")
SuperpositionTestnet => (
"https://testnet-explorer.superposition.so/api",
"https://testnet-explorer.superposition.so",
),
Superposition => {
("https://explorer.superposition.so/api", "https://explorer.superposition.so")
}
})
}

Expand Down Expand Up @@ -1580,9 +1579,7 @@ impl NamedChain {
| KaruraTestnet | Mode | ModeSepolia | Pgn | PgnSepolia | Shimmer | Zora
| ZoraGoerli | ZoraSepolia | Darwinia | Crab | Koi | Immutable | ImmutableTestnet
| Soneium | SoneiumMinatoTestnet | World | WorldSepolia | Curtis | Ink | InkSepolia
| SuperpositionTestnet | Superposition => {
"BLOCKSCOUT_API_KEY"
}
| SuperpositionTestnet | Superposition => "BLOCKSCOUT_API_KEY",

Boba => "BOBASCAN_API_KEY",

Expand Down

0 comments on commit 2e464f4

Please sign in to comment.