diff --git a/core/forkid/forkid.go b/core/forkid/forkid.go index 7406a3f53a..113cc5362d 100644 --- a/core/forkid/forkid.go +++ b/core/forkid/forkid.go @@ -268,6 +268,11 @@ func gatherForks(config *params.ChainConfig, genesis uint64) ([]uint64, []uint64 } } } + // Berachain-specific: include nested Prague1 fork time in the fork id set + // so that clients using it (e.g. reth) compute the same fork checksum. + if config != nil && config.Berachain.Prague1.Time != nil { + forksByTime = append(forksByTime, *config.Berachain.Prague1.Time) + } slices.Sort(forksByBlock) slices.Sort(forksByTime)