File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -413,6 +413,8 @@ func (g *Genesis) configOrDefault(ghash common.Hash) *params.ChainConfig {
413413 return g .Config
414414 case ghash == params .MainnetGenesisHash :
415415 return params .MainnetChainConfig
416+ case ghash == params .HoleskyGenesisHash :
417+ return params .HoleskyChainConfig
416418 case ghash == params .SepoliaGenesisHash :
417419 return params .SepoliaChainConfig
418420 case ghash == params .GoerliGenesisHash :
Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ func (c *ChainConfig) CheckConfigForkOrder() error {
642642 lastFork .name , cur .name , cur .block )
643643 } else {
644644 return fmt .Errorf ("unsupported fork ordering: %v not enabled, but %v enabled at timestamp %v" ,
645- lastFork .name , cur .name , cur .timestamp )
645+ lastFork .name , cur .name , * cur .timestamp )
646646 }
647647
648648 // Fork (whether defined by block or timestamp) must follow the fork definition sequence
@@ -652,7 +652,7 @@ func (c *ChainConfig) CheckConfigForkOrder() error {
652652 lastFork .name , lastFork .block , cur .name , cur .block )
653653 } else if lastFork .timestamp != nil && * lastFork .timestamp > * cur .timestamp {
654654 return fmt .Errorf ("unsupported fork ordering: %v enabled at timestamp %v, but %v enabled at timestamp %v" ,
655- lastFork .name , lastFork .timestamp , cur .name , cur .timestamp )
655+ lastFork .name , * lastFork .timestamp , cur .name , * cur .timestamp )
656656 }
657657
658658 // Timestamp based forks can follow block based ones, but not the other way around
You can’t perform that action at this time.
0 commit comments