chain_test

package
v0.1.0-dev.a53b6d4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	NodeClient        NodeConfig
	Client            cosmosclient.Client
	QueryEmissions    emissionstypes.QueryClient
	QueryAuth         authtypes.QueryClient
	QueryDistribution distributiontypes.QueryClient
	QueryBank         banktypes.QueryClient
	QueryMint         minttypes.QueryClient
	AliceAcc          cosmosaccount.Account
	AliceAddr         string
	BobAcc            cosmosaccount.Account
	BobAddr           string
	Cdc               codec.Codec
}

handle to various node data

func NewNode

func NewNode(t *testing.T, nc NodeConfig) (Node, error)

create a new appchain client that we can use

type NodeConfig

type NodeConfig struct {
	NodeRPCAddress string // rpc node to attach to
	AlloraHomeDir  string // home directory for the allora keystore
}

where to get ahold of a node

Jump to

Keyboard shortcuts

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