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 BeaconFuzzVoluntaryExit(b []byte) ([]byte, bool)
- type InputAttestationWrapper
- func (i *InputAttestationWrapper) HashTreeRoot() ([32]byte, error)
- func (i *InputAttestationWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (i *InputAttestationWrapper) MarshalSSZ() ([]byte, error)
- func (i *InputAttestationWrapper) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *InputAttestationWrapper) SizeSSZ() (size int)
- func (i *InputAttestationWrapper) UnmarshalSSZ(buf []byte) error
- type InputAttesterSlashingWrapper
- func (i *InputAttesterSlashingWrapper) HashTreeRoot() ([32]byte, error)
- func (i *InputAttesterSlashingWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (i *InputAttesterSlashingWrapper) MarshalSSZ() ([]byte, error)
- func (i *InputAttesterSlashingWrapper) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *InputAttesterSlashingWrapper) SizeSSZ() (size int)
- func (i *InputAttesterSlashingWrapper) UnmarshalSSZ(buf []byte) error
- type InputBlockHeader
- func (i *InputBlockHeader) HashTreeRoot() ([32]byte, error)
- func (i *InputBlockHeader) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (i *InputBlockHeader) MarshalSSZ() ([]byte, error)
- func (i *InputBlockHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *InputBlockHeader) SizeSSZ() (size int)
- func (i *InputBlockHeader) UnmarshalSSZ(buf []byte) error
- type InputDepositWrapper
- func (i *InputDepositWrapper) HashTreeRoot() ([32]byte, error)
- func (i *InputDepositWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (i *InputDepositWrapper) MarshalSSZ() ([]byte, error)
- func (i *InputDepositWrapper) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *InputDepositWrapper) SizeSSZ() (size int)
- func (i *InputDepositWrapper) UnmarshalSSZ(buf []byte) error
- type InputProposerSlashingWrapper
- func (i *InputProposerSlashingWrapper) HashTreeRoot() ([32]byte, error)
- func (i *InputProposerSlashingWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (i *InputProposerSlashingWrapper) MarshalSSZ() ([]byte, error)
- func (i *InputProposerSlashingWrapper) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *InputProposerSlashingWrapper) SizeSSZ() (size int)
- func (i *InputProposerSlashingWrapper) UnmarshalSSZ(buf []byte) error
- type InputVoluntaryExitWrapper
- func (i *InputVoluntaryExitWrapper) HashTreeRoot() ([32]byte, error)
- func (i *InputVoluntaryExitWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (i *InputVoluntaryExitWrapper) MarshalSSZ() ([]byte, error)
- func (i *InputVoluntaryExitWrapper) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *InputVoluntaryExitWrapper) SizeSSZ() (size int)
- func (i *InputVoluntaryExitWrapper) UnmarshalSSZ(buf []byte) error
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 BeaconFuzzVoluntaryExit ¶
BeaconFuzzVoluntaryExit implements libfuzzer and beacon fuzz interface.
Types ¶
type InputAttestationWrapper ¶
type InputAttestationWrapper struct { StateID uint64 Attestation *ethpb.Attestation }
InputAttestationWrapper for fuzz testing attestations.
func (*InputAttestationWrapper) HashTreeRoot ¶
func (i *InputAttestationWrapper) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the InputAttestationWrapper object
func (*InputAttestationWrapper) HashTreeRootWith ¶
func (i *InputAttestationWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the InputAttestationWrapper object with a hasher
func (*InputAttestationWrapper) MarshalSSZ ¶
func (i *InputAttestationWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputAttestationWrapper object
func (*InputAttestationWrapper) MarshalSSZTo ¶
func (i *InputAttestationWrapper) MarshalSSZTo(buf []byte) (dst []byte, err 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 uint64 AttesterSlashing *ethpb.AttesterSlashing }
InputAttesterSlashingWrapper for fuzz testing attester slashing.
func (*InputAttesterSlashingWrapper) HashTreeRoot ¶
func (i *InputAttesterSlashingWrapper) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the InputAttesterSlashingWrapper object
func (*InputAttesterSlashingWrapper) HashTreeRootWith ¶
func (i *InputAttesterSlashingWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the InputAttesterSlashingWrapper object with a hasher
func (*InputAttesterSlashingWrapper) MarshalSSZ ¶
func (i *InputAttesterSlashingWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputAttesterSlashingWrapper object
func (*InputAttesterSlashingWrapper) MarshalSSZTo ¶
func (i *InputAttesterSlashingWrapper) MarshalSSZTo(buf []byte) (dst []byte, err 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 uint64 Block *ethpb.BeaconBlock }
InputBlockHeader for fuzz testing beacon block headers.
func (*InputBlockHeader) HashTreeRoot ¶
func (i *InputBlockHeader) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the InputBlockHeader object
func (*InputBlockHeader) HashTreeRootWith ¶
func (i *InputBlockHeader) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the InputBlockHeader object with a hasher
func (*InputBlockHeader) MarshalSSZ ¶
func (i *InputBlockHeader) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputBlockHeader object
func (*InputBlockHeader) MarshalSSZTo ¶
func (i *InputBlockHeader) MarshalSSZTo(buf []byte) (dst []byte, err 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) HashTreeRoot ¶
func (i *InputDepositWrapper) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the InputDepositWrapper object
func (*InputDepositWrapper) HashTreeRootWith ¶
func (i *InputDepositWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the InputDepositWrapper object with a hasher
func (*InputDepositWrapper) MarshalSSZ ¶
func (i *InputDepositWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputDepositWrapper object
func (*InputDepositWrapper) MarshalSSZTo ¶
func (i *InputDepositWrapper) MarshalSSZTo(buf []byte) (dst []byte, err 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 uint64 ProposerSlashing *ethpb.ProposerSlashing }
InputProposerSlashingWrapper for fuzz testing proposer slashings.
func (*InputProposerSlashingWrapper) HashTreeRoot ¶
func (i *InputProposerSlashingWrapper) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the InputProposerSlashingWrapper object
func (*InputProposerSlashingWrapper) HashTreeRootWith ¶
func (i *InputProposerSlashingWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the InputProposerSlashingWrapper object with a hasher
func (*InputProposerSlashingWrapper) MarshalSSZ ¶
func (i *InputProposerSlashingWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputProposerSlashingWrapper object
func (*InputProposerSlashingWrapper) MarshalSSZTo ¶
func (i *InputProposerSlashingWrapper) MarshalSSZTo(buf []byte) (dst []byte, err 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 uint64 VoluntaryExit *ethpb.VoluntaryExit }
InputVoluntaryExitWrapper for fuzz testing voluntary exits.
func (*InputVoluntaryExitWrapper) HashTreeRoot ¶
func (i *InputVoluntaryExitWrapper) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the InputVoluntaryExitWrapper object
func (*InputVoluntaryExitWrapper) HashTreeRootWith ¶
func (i *InputVoluntaryExitWrapper) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the InputVoluntaryExitWrapper object with a hasher
func (*InputVoluntaryExitWrapper) MarshalSSZ ¶
func (i *InputVoluntaryExitWrapper) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the InputVoluntaryExitWrapper object
func (*InputVoluntaryExitWrapper) MarshalSSZTo ¶
func (i *InputVoluntaryExitWrapper) MarshalSSZTo(buf []byte) (dst []byte, err 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