File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ pub struct AnvilEvmArgs {
581581 pub memory_limit : Option < u64 > ,
582582
583583 /// Enable Alphanet features
584- #[ arg( long, visible_alias = "alphanet " ) ]
584+ #[ arg( long, visible_alias = "odyssey " ) ]
585585 pub alphanet : bool ,
586586}
587587
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ pub struct CallArgs {
7474 json : bool ,
7575
7676 /// Enable Alphanet features.
77- #[ arg( long) ]
77+ #[ arg( long, alias = "odyssey" ) ]
7878 pub alphanet : bool ,
7979
8080 #[ command( subcommand) ]
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ pub struct RunArgs {
8484 pub no_rate_limit : bool ,
8585
8686 /// Enables Alphanet features.
87- #[ arg( long) ]
87+ #[ arg( long, alias = "odyssey" ) ]
8888 pub alphanet : bool ,
8989}
9090
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ pub struct EvmArgs {
147147 pub isolate : bool ,
148148
149149 /// Whether to enable Alphanet features.
150- #[ arg( long) ]
150+ #[ arg( long, alias = "odyssey" ) ]
151151 #[ serde( skip) ]
152152 pub alphanet : bool ,
153153}
Original file line number Diff line number Diff line change @@ -2447,6 +2447,10 @@ impl<P: Provider> Provider for BackwardsCompatTomlProvider<P> {
24472447 dict. insert ( "solc" . to_string ( ) , v) ;
24482448 }
24492449 }
2450+
2451+ if let Some ( v) = dict. remove ( "odyssey" ) {
2452+ dict. insert ( "alphanet" . to_string ( ) , v) ;
2453+ }
24502454 map. insert ( profile, dict) ;
24512455 }
24522456 Ok ( map)
You can’t perform that action at this time.
0 commit comments