tests

package
v0.2202.10 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package tests si 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,
	backend beacon.Backend,
	epoch beacon.EpochTime,
)

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

func RootHashImplementationTests

func RootHashImplementationTests(t *testing.T, backend api.Backend, consensus consensusAPI.Backend, 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