mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-20 16:41:11 +00:00
b7175b3482
* 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
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 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
|
|
}
|