Documentation ¶
Overview ¶
Package network contains utils to setup the chain network.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option is an option pattern function used fot the test network customisations.
func WithGenesisOverride ¶
func WithGenesisOverride(override func(map[string]json.RawMessage) map[string]json.RawMessage) Option
WithGenesisOverride returns genesis override Option.
type TestNetwork ¶
TestNetwork defines the test network wrapper.
func (*TestNetwork) TxValidator1Args ¶
func (testNetwork *TestNetwork) TxValidator1Args() []string
TxValidator1Args returns the tx params for the 1s network validator.
func (*TestNetwork) Validator1Address ¶
func (testNetwork *TestNetwork) Validator1Address() sdk.AccAddress
Validator1Address returns the address of the 1st validator in the network.
func (*TestNetwork) Validator1Ctx ¶
func (testNetwork *TestNetwork) Validator1Ctx() client.Context
Validator1Ctx returns the context of the 1st validator in the network.
Click to show internal directories.
Click to hide internal directories.