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::PolygonMumbai => "polygon-mumbai",
|
||||
Chain::Avalanche => "avalanche",
|
||||
Chain::AvalancheFuji => "avalanche-fuji",
|
||||
Chain::AvalancheFuji => "fuji",
|
||||
Chain::Sepolia => "sepolia",
|
||||
Chain::Moonbeam => "moonbeam",
|
||||
Chain::Moonbase => "moonbase",
|
||||
|
@ -355,7 +355,7 @@ impl FromStr for Chain {
|
|||
"polygon" => Chain::Polygon,
|
||||
"mumbai" | "polygon-mumbai" => Chain::PolygonMumbai,
|
||||
"avalanche" => Chain::Avalanche,
|
||||
"avalanche-fuji" => Chain::AvalancheFuji,
|
||||
"fuji" | "avalanche-fuji" => Chain::AvalancheFuji,
|
||||
"sepolia" => Chain::Sepolia,
|
||||
"moonbeam" => Chain::Moonbeam,
|
||||
"moonbase" => Chain::Moonbase,
|
||||
|
|
Loading…
Reference in New Issue