@@ -23,6 +23,7 @@ pub enum ForkName {
2323 EuclidV2 ,
2424 Feynman ,
2525 Galileo ,
26+ GalileoV2 ,
2627}
2728
2829impl fmt:: Display for ForkName {
@@ -32,6 +33,7 @@ impl fmt::Display for ForkName {
3233 ForkName :: EuclidV2 => "euclidv2" ,
3334 ForkName :: Feynman => "feynman" ,
3435 ForkName :: Galileo => "galileo" ,
36+ ForkName :: GalileoV2 => "galileov2" ,
3537 } ;
3638 write ! ( f, "{}" , s)
3739 }
@@ -45,6 +47,7 @@ impl ForkName {
4547 ForkName :: EuclidV2 => "euclidv2" ,
4648 ForkName :: Feynman => "feynman" ,
4749 ForkName :: Galileo => "galileo" ,
50+ ForkName :: GalileoV2 => "galileov2" ,
4851 }
4952 }
5053}
@@ -57,6 +60,7 @@ impl From<Option<&str>> for ForkName {
5760 Some ( "euclidv2" ) => ForkName :: EuclidV2 ,
5861 Some ( "feynman" ) => ForkName :: Feynman ,
5962 Some ( "galileo" ) => ForkName :: Galileo ,
63+ Some ( "galileov2" ) => ForkName :: GalileoV2 ,
6064 Some ( s) => unreachable ! ( "hardfork not accepted: {s}" ) ,
6165 }
6266 }
@@ -69,6 +73,7 @@ impl From<&str> for ForkName {
6973 "euclidv2" => ForkName :: EuclidV2 ,
7074 "feynman" => ForkName :: Feynman ,
7175 "galileo" => ForkName :: Galileo ,
76+ "galileov2" => ForkName :: GalileoV2 ,
7277 s => unreachable ! ( "hardfork not accepted: {s}" ) ,
7378 }
7479 }
0 commit comments