Compare commits

...

1 Commits

Author SHA1 Message Date
Kasey Kirkham
80c6fe9f65 capella state version detection bug fix 2023-01-10 15:51:08 -06:00

View File

@@ -66,6 +66,8 @@ func FromForkVersion(cv [fieldparams.VersionLength]byte) (*VersionedUnmarshaler,
fork = version.Altair
case bytesutil.ToBytes4(cfg.BellatrixForkVersion):
fork = version.Bellatrix
case bytesutil.ToBytes4(cfg.CapellaForkVersion):
fork = version.Capella
default:
return nil, errors.Wrapf(ErrForkNotFound, "version=%#x", cv)
}