Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT.
Index ¶
- func BeaconFuzzAttestation(b []byte) ([]byte, bool)
- func BeaconFuzzAttesterSlashing(b []byte) ([]byte, bool)
- func BeaconFuzzBlock(b []byte) ([]byte, bool)
- func BeaconFuzzBlockHeader(b []byte) ([]byte, bool)
- func BeaconFuzzDeposit(b []byte) ([]byte, bool)
- func BeaconFuzzP2PRPCStatus(b []byte)
- func BeaconFuzzSSZCache(input []byte)
- func BeaconFuzzVoluntaryExit(b []byte) ([]byte, bool)
- type InputAttestationWrapper
- type InputAttesterSlashingWrapper
- type InputBlockHeader
- type InputDepositWrapper
- type InputProposerSlashingWrapper
- type InputVoluntaryExitWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeaconFuzzAttestation ¶
BeaconFuzzAttestation implements libfuzzer and beacon fuzz interface.
func BeaconFuzzAttesterSlashing ¶
BeaconFuzzAttesterSlashing implements libfuzzer and beacon fuzz interface.
func BeaconFuzzBlock ¶
BeaconFuzzBlock using the corpora from sigp/beacon-fuzz.
func BeaconFuzzBlockHeader ¶
BeaconFuzzBlockHeader using the corpora from sigp/beacon-fuzz.
func BeaconFuzzDeposit ¶
BeaconFuzzDeposit implements libfuzzer and beacon fuzz interface.
func BeaconFuzzP2PRPCStatus ¶
func BeaconFuzzP2PRPCStatus(b []byte)
BeaconFuzzP2PRPCStatus implements libfuzzer and beacon fuzz interface.
func BeaconFuzzSSZCache ¶
func BeaconFuzzSSZCache(input []byte)
BeaconFuzzSSZCache for testing critical paths along the ssz cache for beacon state HTR.
func BeaconFuzzVoluntaryExit ¶
BeaconFuzzVoluntaryExit implements libfuzzer and beacon fuzz interface.
Types ¶
type InputAttestationWrapper ¶
type InputAttestationWrapper struct { StateID uint16 Attestation *ethpb.Attestation }
InputAttestationWrapper for fuzz testing attestations.
func (*InputAttestationWrapper) MarshalSSZ ¶
func (i *InputAttestationWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputAttestationWrapper object
func (*InputAttestationWrapper) MarshalSSZTo ¶
func (i *InputAttestationWrapper) MarshalSSZTo(dst []byte) ([]byte, error)
MarshalSSZTo ssz marshals the InputAttestationWrapper object to a target array
func (*InputAttestationWrapper) SizeSSZ ¶
func (i *InputAttestationWrapper) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the InputAttestationWrapper object
func (*InputAttestationWrapper) UnmarshalSSZ ¶
func (i *InputAttestationWrapper) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the InputAttestationWrapper object
type InputAttesterSlashingWrapper ¶
type InputAttesterSlashingWrapper struct { StateID uint16 AttesterSlashing *ethpb.AttesterSlashing }
InputAttesterSlashingWrapper for fuzz testing attester slashing.
func (*InputAttesterSlashingWrapper) MarshalSSZ ¶
func (i *InputAttesterSlashingWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputAttesterSlashingWrapper object
func (*InputAttesterSlashingWrapper) MarshalSSZTo ¶
func (i *InputAttesterSlashingWrapper) MarshalSSZTo(dst []byte) ([]byte, error)
MarshalSSZTo ssz marshals the InputAttesterSlashingWrapper object to a target array
func (*InputAttesterSlashingWrapper) SizeSSZ ¶
func (i *InputAttesterSlashingWrapper) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the InputAttesterSlashingWrapper object
func (*InputAttesterSlashingWrapper) UnmarshalSSZ ¶
func (i *InputAttesterSlashingWrapper) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the InputAttesterSlashingWrapper object
type InputBlockHeader ¶
type InputBlockHeader struct { StateID uint16 Block *ethpb.BeaconBlock }
InputBlockHeader for fuzz testing beacon block headers.
func (*InputBlockHeader) MarshalSSZ ¶
func (i *InputBlockHeader) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputBlockHeader object
func (*InputBlockHeader) MarshalSSZTo ¶
func (i *InputBlockHeader) MarshalSSZTo(dst []byte) ([]byte, error)
MarshalSSZTo ssz marshals the InputBlockHeader object to a target array
func (*InputBlockHeader) SizeSSZ ¶
func (i *InputBlockHeader) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the InputBlockHeader object
func (*InputBlockHeader) UnmarshalSSZ ¶
func (i *InputBlockHeader) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the InputBlockHeader object
type InputDepositWrapper ¶
InputDepositWrapper for fuzz testing deposits.
func (*InputDepositWrapper) MarshalSSZ ¶
func (i *InputDepositWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputDepositWrapper object
func (*InputDepositWrapper) MarshalSSZTo ¶
func (i *InputDepositWrapper) MarshalSSZTo(dst []byte) ([]byte, error)
MarshalSSZTo ssz marshals the InputDepositWrapper object to a target array
func (*InputDepositWrapper) SizeSSZ ¶
func (i *InputDepositWrapper) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the InputDepositWrapper object
func (*InputDepositWrapper) UnmarshalSSZ ¶
func (i *InputDepositWrapper) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the InputDepositWrapper object
type InputProposerSlashingWrapper ¶
type InputProposerSlashingWrapper struct { StateID uint16 ProposerSlashing *ethpb.ProposerSlashing }
InputProposerSlashingWrapper for fuzz testing proposer slashings.
func (*InputProposerSlashingWrapper) MarshalSSZ ¶
func (i *InputProposerSlashingWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputProposerSlashingWrapper object
func (*InputProposerSlashingWrapper) MarshalSSZTo ¶
func (i *InputProposerSlashingWrapper) MarshalSSZTo(dst []byte) ([]byte, error)
MarshalSSZTo ssz marshals the InputProposerSlashingWrapper object to a target array
func (*InputProposerSlashingWrapper) SizeSSZ ¶
func (i *InputProposerSlashingWrapper) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the InputProposerSlashingWrapper object
func (*InputProposerSlashingWrapper) UnmarshalSSZ ¶
func (i *InputProposerSlashingWrapper) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the InputProposerSlashingWrapper object
type InputVoluntaryExitWrapper ¶
type InputVoluntaryExitWrapper struct { StateID uint16 VoluntaryExit *ethpb.VoluntaryExit }
InputVoluntaryExitWrapper for fuzz testing voluntary exits.
func (*InputVoluntaryExitWrapper) MarshalSSZ ¶
func (i *InputVoluntaryExitWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputVoluntaryExitWrapper object
func (*InputVoluntaryExitWrapper) MarshalSSZTo ¶
func (i *InputVoluntaryExitWrapper) MarshalSSZTo(dst []byte) ([]byte, error)
MarshalSSZTo ssz marshals the InputVoluntaryExitWrapper object to a target array
func (*InputVoluntaryExitWrapper) SizeSSZ ¶
func (i *InputVoluntaryExitWrapper) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the InputVoluntaryExitWrapper object
func (*InputVoluntaryExitWrapper) UnmarshalSSZ ¶
func (i *InputVoluntaryExitWrapper) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the InputVoluntaryExitWrapper object