testing

package
v0.0.0-...-bb812c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2023 License: Apache-2.0, GPL-3.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSignedBeaconBlockFromGeneric

func NewSignedBeaconBlockFromGeneric(gb *eth.GenericSignedBeaconBlock) (interfaces.ReadOnlySignedBeaconBlock, error)

NewSignedBeaconBlockFromGeneric creates a signed beacon block from a protobuf generic signed beacon block.

func SetBlockParentRoot

func SetBlockParentRoot(b interfaces.SignedBeaconBlock, pr [32]byte) (interfaces.SignedBeaconBlock, error)

SetBlockParentRoot modifies the block's parent root.

func SetBlockSlot

SetBlockSlot modifies the block's slot.

func SetBlockStateRoot

func SetBlockStateRoot(b interfaces.SignedBeaconBlock, sr [32]byte) (interfaces.SignedBeaconBlock, error)

SetBlockStateRoot modifies the block's state root.

func SetProposerIndex

SetProposerIndex modifies the block's proposer index.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL