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 {
413
413
return g .Config
414
414
case ghash == params .MainnetGenesisHash :
415
415
return params .MainnetChainConfig
416
+ case ghash == params .HoleskyGenesisHash :
417
+ return params .HoleskyChainConfig
416
418
case ghash == params .SepoliaGenesisHash :
417
419
return params .SepoliaChainConfig
418
420
case ghash == params .GoerliGenesisHash :
Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ func (c *ChainConfig) CheckConfigForkOrder() error {
642
642
lastFork .name , cur .name , cur .block )
643
643
} else {
644
644
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 )
646
646
}
647
647
648
648
// Fork (whether defined by block or timestamp) must follow the fork definition sequence
@@ -652,7 +652,7 @@ func (c *ChainConfig) CheckConfigForkOrder() error {
652
652
lastFork .name , lastFork .block , cur .name , cur .block )
653
653
} else if lastFork .timestamp != nil && * lastFork .timestamp > * cur .timestamp {
654
654
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 )
656
656
}
657
657
658
658
// 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