mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-06 01:32:18 +00:00
b954db9704
* Revert "Update fastssz (#6760)"
This reverts commit 78a25f99c3
.
* Merge refs/heads/master into revert-6760-update-fssz
42 lines
1.0 KiB
Go
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
|
|
}
|