tests

package
v0.2101.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package tests contains genesis test helpers.

Index

Constants

View Source
const (
	// TestChainID is the chain ID that should be used in tests.
	TestChainID = "test: oasis-core tests"

	// TestStakingTokenSymbol is the token's ticker symbol that should be used
	// in tests.
	TestStakingTokenSymbol = "TEST"
	// TestStakingTokenValueExponent is the token's value base-10 exponent that
	// should be used in tests.
	TestStakingTokenValueExponent uint8 = 6
)

Variables

View Source
var TestChainContext string

TestChainContext is the chain domain separation context that should be used in tests.

Functions

func SetTestChainContext

func SetTestChainContext()

SetTestChainContext configures the TestChainID as the chain domain separation context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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