Remaining Slasher Beacon Node Changes (#9701)

* slasher beacon node changes

* remaining beacon node items

* moar changes

* gaz

* flag fix

* rem slashable

* builds

* imports

* fix up

* pruning faster test

* deepsource

* fix wrong item

* node node feature flags

* broken test

* preston review

* more preston comments

* comment

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Raul Jordan
2021-09-29 13:17:37 -05:00
committed by GitHub
parent 86efa87101
commit df33ce3309
53 changed files with 916 additions and 434 deletions

View File

@@ -39,7 +39,7 @@ func TestPruneAttestations_NoPruning(t *testing.T) {
}
func TestPruneAttestations_OK(t *testing.T) {
numKeys := uint64(2048)
numKeys := uint64(64)
pks := make([][48]byte, 0, numKeys)
for i := uint64(0); i < numKeys; i++ {
pks = append(pks, bytesutil.ToBytes48(bytesutil.ToBytes(i, 48)))