Skip to content

Make BeaconChain::kzg mandatory #6260

Description

@michaelsproul

Description

The kzg field of the BeaconChain is unnecessarily wrapped in an Option.

/// The KZG trusted setup used by this chain.
pub kzg: Option<Arc<Kzg>>,

Removing this would simplify some error handling because we don't need to handle the case where the kzg setup is not initialized.

Version

Lighthouse v5.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-qualityv6.0.0New major release for hierarchical state diffs

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions