Documentation ¶
Index ¶
- func TestRegressionBadBlocks(store *forkchoice.ForkChoiceStore, block *cltypes.SignedBeaconBlock) error
- func TestRegressionWithValidation(store *forkchoice.ForkChoiceStore, block *cltypes.SignedBeaconBlock) error
- func TestRegressionWithoutValidation(store *forkchoice.ForkChoiceStore, block *cltypes.SignedBeaconBlock) error
- type RegressionTester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestRegressionBadBlocks ¶
func TestRegressionBadBlocks(store *forkchoice.ForkChoiceStore, block *cltypes.SignedBeaconBlock) error
Test fullValidation=false, one badBlock, one good block (intervaled)
func TestRegressionWithValidation ¶
func TestRegressionWithValidation(store *forkchoice.ForkChoiceStore, block *cltypes.SignedBeaconBlock) error
Test fullValidation=true
func TestRegressionWithoutValidation ¶
func TestRegressionWithoutValidation(store *forkchoice.ForkChoiceStore, block *cltypes.SignedBeaconBlock) error
Test fullValidation=false
Types ¶
type RegressionTester ¶
type RegressionTester struct {
// contains filtered or unexported fields
}
func NewRegressionTester ¶
func NewRegressionTester(testDirectory string) (*RegressionTester, error)
func (*RegressionTester) Run ¶
func (r *RegressionTester) Run(name string, fn func(*forkchoice.ForkChoiceStore, *cltypes.SignedBeaconBlock) error, step int) error
Click to show internal directories.
Click to hide internal directories.