shuffle

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 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 TestCase added in v4.2.0

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