tests

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestKey1 = newSecp256k1TestKey("emerald-web3-gateway/test-keys: 1")
	TestKey2 = newSecp256k1TestKey("emerald-web3-gateway/test-keys: 2")
	TestKey3 = newSecp256k1TestKey("emerald-web3-gateway/test-keys: 3")
)
View Source
var TestsConfig *conf.Config

Functions

func InitTestsConfig

func InitTestsConfig() (err error)

InitTestsConfig initializes configuration file for tests.

func MustInitConfig

func MustInitConfig()

MustInitConfig initializes configuration for tests or exits.

Types

type TestKey

type TestKey struct {
	Private      *ecdsa.PrivateKey
	EthAddress   common.Address
	OasisAddress types.Address
}

TestKey is a key used for testing.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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