prysm-pulse/fuzz/inputs.go
terence tsao b954db9704
Revert "Update fastssz" (#7100)
* Revert "Update fastssz (#6760)"

This reverts commit 78a25f99c3.
* Merge refs/heads/master into revert-6760-update-fssz
2020-08-24 20:06:28 +00:00

42 lines
1.0 KiB
Go

package fuzz
import (
ethpb "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1"
)
// InputBlockHeader for fuzz testing beacon block headers.
type InputBlockHeader struct {
StateID uint16
Block *ethpb.BeaconBlock
}
// InputAttesterSlashingWrapper for fuzz testing attester slashing.
type InputAttesterSlashingWrapper struct {
StateID uint16
AttesterSlashing *ethpb.AttesterSlashing
}
// InputAttestationWrapper for fuzz testing attestations.
type InputAttestationWrapper struct {
StateID uint16
Attestation *ethpb.Attestation
}
// InputDepositWrapper for fuzz testing deposits.
type InputDepositWrapper struct {
StateID uint16
Deposit *ethpb.Deposit
}
// InputVoluntaryExitWrapper for fuzz testing voluntary exits.
type InputVoluntaryExitWrapper struct {
StateID uint16
VoluntaryExit *ethpb.VoluntaryExit
}
// InputProposerSlashingWrapper for fuzz testing proposer slashings.
type InputProposerSlashingWrapper struct {
StateID uint16
ProposerSlashing *ethpb.ProposerSlashing
}