tests

package
v0.2506.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package tests is a collection of roothash implementation test cases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustTransitionEpoch

func MustTransitionEpoch(
	t *testing.T,
	runtimeID common.Namespace,
	roothash api.Backend,
	beacon beaconAPI.Backend,
	epoch beaconAPI.EpochTime,
)

MustTransitionEpoch waits till the roothash's view is past the epoch transition for a given epoch.

func RootHashImplementationTests

func RootHashImplementationTests(t *testing.T, roothash api.Backend, consensus consensusAPI.Service, identity *identity.Identity)

RootHashImplementationTests exercises the basic functionality of a roothash backend.

Types

This section is empty.

Jump to

Keyboard shortcuts

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