chore: support fuji alias (#1723)
This commit is contained in:
parent
23171d9299
commit
afdab2a555
|
@ -228,7 +228,7 @@ impl fmt::Display for Chain {
|
||||||
Chain::Polygon => "polygon",
|
Chain::Polygon => "polygon",
|
||||||
Chain::PolygonMumbai => "polygon-mumbai",
|
Chain::PolygonMumbai => "polygon-mumbai",
|
||||||
Chain::Avalanche => "avalanche",
|
Chain::Avalanche => "avalanche",
|
||||||
Chain::AvalancheFuji => "avalanche-fuji",
|
Chain::AvalancheFuji => "fuji",
|
||||||
Chain::Sepolia => "sepolia",
|
Chain::Sepolia => "sepolia",
|
||||||
Chain::Moonbeam => "moonbeam",
|
Chain::Moonbeam => "moonbeam",
|
||||||
Chain::Moonbase => "moonbase",
|
Chain::Moonbase => "moonbase",
|
||||||
|
@ -355,7 +355,7 @@ impl FromStr for Chain {
|
||||||
"polygon" => Chain::Polygon,
|
"polygon" => Chain::Polygon,
|
||||||
"mumbai" | "polygon-mumbai" => Chain::PolygonMumbai,
|
"mumbai" | "polygon-mumbai" => Chain::PolygonMumbai,
|
||||||
"avalanche" => Chain::Avalanche,
|
"avalanche" => Chain::Avalanche,
|
||||||
"avalanche-fuji" => Chain::AvalancheFuji,
|
"fuji" | "avalanche-fuji" => Chain::AvalancheFuji,
|
||||||
"sepolia" => Chain::Sepolia,
|
"sepolia" => Chain::Sepolia,
|
||||||
"moonbeam" => Chain::Moonbeam,
|
"moonbeam" => Chain::Moonbeam,
|
||||||
"moonbase" => Chain::Moonbase,
|
"moonbase" => Chain::Moonbase,
|
||||||
|
|
Loading…
Reference in New Issue