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.
Click to show internal directories.
Click to hide internal directories.