Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNilBeaconBlockInRequest is an error for when // the beacon block in an abci request is nil. ErrNilBeaconBlockInRequest = errors.New("nil beacon block in abci request") // ErrNoBeaconBlockInRequest is an error for when // there is no beacon block in an abci request. ErrNoBeaconBlockInRequest = errors.New("no beacon block in abci request") // ErrBzIndexOutOfBounds is an error for when the index // is out of bounds. ErrBzIndexOutOfBounds = errors.New("bzIndex out of bounds") // ErrNilABCIRequest is an error for when the abci request // is nil. ErrNilABCIRequest = errors.New("nil abci request") )
Functions ¶
func GetBlobSideCars ¶
func GetBlobSideCars( req ABCIRequest, bzIndex uint, ) (*datypes.BlobSidecars, error)
func ReadOnlyBeaconBlockFromABCIRequest ¶
func ReadOnlyBeaconBlockFromABCIRequest( req ABCIRequest, bzIndex uint, forkVersion uint32, ) (beacontypes.ReadOnlyBeaconBlock, error)
ReadOnlyBeaconBlockFromABCIRequest assembles a new read-only beacon block by extracting a marshalled block out of an ABCI request.
Types ¶
Click to show internal directories.
Click to hide internal directories.