substrate

package
v0.0.0-...-f006870 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TestSubEndpoint = "ws://localhost:9944"

Variables

View Source
var AliceKp = keystore.TestKeyRing.SubstrateKeys[keystore.AliceKey]
View Source
var BobKp = keystore.TestKeyRing.SubstrateKeys[keystore.BobKey]
View Source
var CharlieKp = keystore.TestKeyRing.SubstrateKeys[keystore.CharlieKey]
View Source
var DaveKp = keystore.TestKeyRing.SubstrateKeys[keystore.DaveKey]
View Source
var EveKp = keystore.TestKeyRing.SubstrateKeys[keystore.EveKey]
View Source
var RelayerSet = []types.AccountID{
	types.NewAccountID(BobKp.AsKeyringPair().PublicKey),
	types.NewAccountID(CharlieKp.AsKeyringPair().PublicKey),
	types.NewAccountID(DaveKp.AsKeyringPair().PublicKey),
}
View Source
var TestTimeout = time.Second * 30

Functions

func CreateConfig

func CreateConfig(key string, chain msg.ChainId) *core.ChainConfig

func HashInt

func HashInt(i int) types.Hash

func WaitForProposalSuccessOrFail

func WaitForProposalSuccessOrFail(t *testing.T, client *utils.Client, nonce types.U64, chain types.U8)

Types

This section is empty.

Jump to

Keyboard shortcuts

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