shuffle

package
v4.0.0-...-ae7b6de Latest Latest
Warning

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

Go to latest
Published: Nov 8, 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 TestCase

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

TestCase --

Jump to

Keyboard shortcuts

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