Documentation ¶
Overview ¶
Package testing includes useful helpers for slasher-related unit tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SignedBlockHeader ¶
func SignedBlockHeader(slot uint64, proposerIdx uint64) (*ethpb.SignedBeaconBlockHeader, error)
SignedBlockHeader given slot, proposer index this function generates signed block header. with random bytes as its signature.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.