Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT.
Index ¶
- Constants
- func BeaconFuzzP2PRPCStatus(b []byte)
- func BeaconStateFuzz(input []byte)
- func FuzzP2PRPCStatus(b []byte) int
- func SszEncoderAttestationFuzz(b []byte)
- type InputBlockWithPrestate
- func (i *InputBlockWithPrestate) HashTreeRoot() ([32]byte, error)
- func (i *InputBlockWithPrestate) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (i *InputBlockWithPrestate) MarshalSSZ() ([]byte, error)
- func (i *InputBlockWithPrestate) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *InputBlockWithPrestate) SizeSSZ() (size int)
- func (i *InputBlockWithPrestate) UnmarshalSSZ(buf []byte) error
Constants ¶
const EnvBls = "BLS_ENABLED"
EnvBls defines an environment variable name to check whether BLS is enabled or not.
Variables ¶
This section is empty.
Functions ¶
func BeaconFuzzP2PRPCStatus ¶
func BeaconFuzzP2PRPCStatus(b []byte)
BeaconFuzzP2PRPCStatus implements libfuzzer and beacon fuzz interface.
func FuzzP2PRPCStatus ¶ added in v1.3.9
FuzzP2PRPCStatus wraps BeaconFuzzP2PRPCStatus in a go-fuzz compatible interface
func SszEncoderAttestationFuzz ¶
func SszEncoderAttestationFuzz(b []byte)
SszEncoderAttestationFuzz runs network encode/decode for attestations.
Types ¶
type InputBlockWithPrestate ¶
type InputBlockWithPrestate struct { State *pb.BeaconState Block *ethpb.SignedBeaconBlock }
InputBlockWithPrestate for fuzz testing beacon blocks.
func (*InputBlockWithPrestate) HashTreeRoot ¶
func (i *InputBlockWithPrestate) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the InputBlockWithPrestate object
func (*InputBlockWithPrestate) HashTreeRootWith ¶
func (i *InputBlockWithPrestate) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the InputBlockWithPrestate object with a hasher
func (*InputBlockWithPrestate) MarshalSSZ ¶
func (i *InputBlockWithPrestate) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputBlockWithPrestate object
func (*InputBlockWithPrestate) MarshalSSZTo ¶
func (i *InputBlockWithPrestate) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the InputBlockWithPrestate object to a target array
func (*InputBlockWithPrestate) SizeSSZ ¶
func (i *InputBlockWithPrestate) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the InputBlockWithPrestate object
func (*InputBlockWithPrestate) UnmarshalSSZ ¶
func (i *InputBlockWithPrestate) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the InputBlockWithPrestate object