mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-12 20:50:05 +00:00
78a25f99c3
* Update fastssz * Merge branch 'master' of github.com:prysmaticlabs/prysm into update-fssz * fmt * gaz * Merge refs/heads/master into update-fssz * goimports * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Fix * fix ethereumapis * fix again * kafka * fix gen file * fix compute signing root * gofmt * checkpoint progress * progress * checkpoint * progress * Fix build * checkpoint * helpers * Another test fixed * gaz * another test fix * gofmt * some fixes * Merge branch 'master' of github.com:prysmaticlabs/prysm into update-fssz * fix one test * Merge branch 'master' of github.com:prysmaticlabs/prysm into update-fssz * fill empty checkpoint roots * more padding * more padding * Fix //beacon-chain/rpc/debug:go_default_test * fix //beacon-chain/core/state:go_default_test * fix //beacon-chain/core/state:go_default_test * fix some htr errors * fix //slasher/rpc:go_default_test * Progress on //beacon-chain/core/blocks:go_default_test * Progress on //beacon-chain/core/blocks:go_default_test * Progress on //beacon-chain/core/blocks:go_default_test * fix //slasher/db/kv:go_default_test * progress * fix //beacon-chain/sync/initial-sync:go_raceon_test * gofmt and gaz * fix one more test, taking a break * Fix //beacon-chain/core/blocks:go_default_test * Complete beacon-chain/powchain * Do most of beacon-chain/rpc/beacon/ * Do most of beacon-chain/blockchain * fix //beacon-chain/operations/attestations/kv:go_default_test * Fix //beacon-chain/cache/depositcache:go_default_test * Fix //slasher/detection:go_default_test * Progress * fix //beacon-chain/rpc/validator:go_default_test * gofmt * fix //validator/client:go_default_test * fix * fix //beacon-chain/blockchain:go_raceoff_test * fix //beacon-chain/rpc/beacon:go_default_test * fix 1 of 4 shards in //beacon-chain/sync:go_default_test * Fix //beacon-chain/sync:go_default_test and gofmt * prevent panic * fix //beacon-chain/state/stategen:go_default_test * fix * Merge branch 'master' of github.com:prysmaticlabs/prysm into update-fssz * fix most tests * Self review, go mod tidy, run regen scripts * fix slasher * Update ethereumapis * disable spawn strategy override * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Remove extra line in imports * Remove extra line in imports * Gofmt * PR feedback from @nisdas
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
|
|
}
|