shuffle

package
v4.0.0-...-b8b0360 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package shuffle contains all conformity specification tests for validator shuffling logic according to the Ethereum Beacon Node spec.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunShuffleTests

func RunShuffleTests(t *testing.T, config string)

RunShuffleTests executes "shuffling/core/shuffle" tests.

Types

type ShuffleTestCase

type ShuffleTestCase struct {
	Seed    string                      `yaml:"seed"`
	Count   uint64                      `yaml:"count"`
	Mapping []primitives.ValidatorIndex `yaml:"mapping"`
}

ShuffleTestCase --

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL