shuffle

package
v4.0.4-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 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