Documentation ¶
Index ¶
- type Orchestrator
- func (o *Orchestrator) ExecCommand(cmd []string) error
- func (o *Orchestrator) InitResources(t *testing.T)
- func (o *Orchestrator) ProposalStatus(proposalID uint64) error
- func (o *Orchestrator) SubmitLegacyParamChangeProposal(filePath string) error
- func (o *Orchestrator) SubmitProposal(filePath string, govAddress string) error
- func (o *Orchestrator) TearDownResources(t *testing.T)
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[2] 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. updates the consensus params so vote extensions are enabled
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)
Click to show internal directories.
Click to hide internal directories.