Fix complains and bad test (#11555)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terencechain
2022-10-17 09:20:26 -07:00
committed by GitHub
parent dcba27ffbc
commit e8400a0773
8 changed files with 8 additions and 105 deletions

View File

@@ -2206,7 +2206,7 @@ type newForkChoicer func() forkchoice.ForkChoicer
// 2 (and the merge block in this sequence). Block 18 justifies it and Block 19 returns
// INVALID from NewPayload, with LVH block 12. No head is viable. We check that
// the node can reboot from this state
func noViableHead_Reboot(t *testing.T) {
func TestNoViableHead_Reboot(t *testing.T) {
params.SetupTestConfigCleanup(t)
config := params.BeaconConfig()
config.SlotsPerEpoch = 6