Versions in this module Expand all Collapse all v0 v0.0.4 Jan 15, 2025 v0.0.1 Jan 15, 2025 Changes in this version + var ErrForkNotFound = errors.New("version found in fork schedule but can't be matched to a named fork") + type VersionedUnmarshaler struct + Config *params.BeaconChainConfig + Fork int + Version [fieldparams.VersionLength]byte + func FromForkVersion(cv [fieldparams.VersionLength]byte) (*VersionedUnmarshaler, error) + func FromState(marshaled []byte) (*VersionedUnmarshaler, error) + func (cf *VersionedUnmarshaler) UnmarshalBeaconBlock(marshaled []byte) (interfaces.ReadOnlySignedBeaconBlock, error) + func (cf *VersionedUnmarshaler) UnmarshalBeaconState(marshaled []byte) (s state.BeaconState, err error) + func (cf *VersionedUnmarshaler) UnmarshalBlindedBeaconBlock(marshaled []byte) (interfaces.ReadOnlySignedBeaconBlock, error)