prysm-pulse/fuzz/inputs.go
Preston Van Loon b7175b3482
Update fastssz: Attempt 2 (#7115)
* Revert "Revert "Update fastssz" (#7100)"

This reverts commit b954db97041094d6f876ac25ca1542a39b33b6e0.
* Preston's patch
* Merge branch 'master' of github.com:prysmaticlabs/prysm into revert-7100-revert-6760-update-fssz
* Update fssz, add regression test case
* more HTR with fssz
* fix some tests
* only one test left
* Make it so that HTR will work
* gofmt, imports
* gofmt, imports
* fix
* Merge branch 'master' of github.com:prysmaticlabs/prysm into revert-7100-revert-6760-update-fssz
* fix
* Merge branch 'master' into revert-7100-revert-6760-update-fssz
* Merge refs/heads/master into revert-7100-revert-6760-update-fssz
* gaz
* Merge branch 'revert-7100-revert-6760-update-fssz' of github.com:prysmaticlabs/prysm into revert-7100-revert-6760-update-fssz
* Merge refs/heads/master into revert-7100-revert-6760-update-fssz
* fix test
* Merge branch 'revert-7100-revert-6760-update-fssz' of github.com:prysmaticlabs/prysm into revert-7100-revert-6760-update-fssz
* Merge refs/heads/master into revert-7100-revert-6760-update-fssz
2020-08-27 18:13:32 +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 uint64
Block *ethpb.BeaconBlock
}
// InputAttesterSlashingWrapper for fuzz testing attester slashing.
type InputAttesterSlashingWrapper struct {
StateID uint64
AttesterSlashing *ethpb.AttesterSlashing
}
// InputAttestationWrapper for fuzz testing attestations.
type InputAttestationWrapper struct {
StateID uint64
Attestation *ethpb.Attestation
}
// InputDepositWrapper for fuzz testing deposits.
type InputDepositWrapper struct {
StateID uint64
Deposit *ethpb.Deposit
}
// InputVoluntaryExitWrapper for fuzz testing voluntary exits.
type InputVoluntaryExitWrapper struct {
StateID uint64
VoluntaryExit *ethpb.VoluntaryExit
}
// InputProposerSlashingWrapper for fuzz testing proposer slashings.
type InputProposerSlashingWrapper struct {
StateID uint64
ProposerSlashing *ethpb.ProposerSlashing
}