orchestrator

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Orchestrator

type Orchestrator struct {
	OjoClient     *client.OjoClient // signs tx with val[0]
	AirdropClient *client.OjoClient // signs tx with account[0]
	// contains filtered or unexported fields
}

func (*Orchestrator) ExecCommand

func (o *Orchestrator) ExecCommand(cmd []string) error

ExecCommand executes a command on the validator container and outputs the stdout and stderr to the console

func (*Orchestrator) InitResources

func (o *Orchestrator) InitResources(t *testing.T)

SetupSuite initializes and runs all the resources needed for the e2e integration test suite 1. creates a temporary directory for the chain data and initializes keys for all validators 2. initializes the genesis files for all validators 3. starts up each validator in its own docker container with the 3rd validator holding the majority of the stake 4. initializes the ojo client used to send transactions and queries to the validators 5. delegates voting power from the majority share validator to another one for the price feeder 6. starts up the price feeder in its own docker container

func (*Orchestrator) ProposalStatus

func (o *Orchestrator) ProposalStatus(proposalID uint64) error

func (*Orchestrator) SubmitLegacyParamChangeProposal

func (o *Orchestrator) SubmitLegacyParamChangeProposal(filePath string) error

func (*Orchestrator) SubmitProposal

func (o *Orchestrator) SubmitProposal(filePath string, govAddress string) error

func (*Orchestrator) TearDownResources

func (o *Orchestrator) TearDownResources(t *testing.T)

Jump to

Keyboard shortcuts

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