testutil

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: Apache-2.0 Imports: 26 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsgLiquidStakeExec

func MsgLiquidStakeExec(clientCtx client.Context, from string, stakingCoin string,
	extraArgs ...string) (testutil.BufferWriter, error)

MsgLiquidStakeExec creates a transaction for liquid-staking coin.

func MsgLiquidUnstakeExec

func MsgLiquidUnstakeExec(clientCtx client.Context, from string, unstakingCoin string,
	extraArgs ...string) (testutil.BufferWriter, error)

MsgLiquidUnstakeExec creates a transaction for liquid-unstaking coin.

func MsgParamChangeProposalExec

func MsgParamChangeProposalExec(clientCtx client.Context, from string, file string) (testutil.BufferWriter, error)

MsgParamChangeProposalExec creates a transaction for submitting param change proposal

func MsgSubmitProposal

func MsgSubmitProposal(clientCtx client.Context, from, title, description, proposalType string, extraArgs ...string) (testutil.BufferWriter, error)

MsgSubmitProposal creates a tx for submit proposal

func MsgVote

func MsgVote(clientCtx client.Context, from, id, vote string, extraArgs ...string) (testutil.BufferWriter, error)

MsgVote votes for a proposal

func NewAppConstructor

func NewAppConstructor(encodingCfg params.EncodingConfig) network.AppConstructor

Types

type IntegrationTestSuite

type IntegrationTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func (*IntegrationTestSuite) SetupSuite

func (s *IntegrationTestSuite) SetupSuite()

func (*IntegrationTestSuite) TearDownSuite

func (s *IntegrationTestSuite) TearDownSuite()

func (*IntegrationTestSuite) TestCmdParams

func (s *IntegrationTestSuite) TestCmdParams()

func (*IntegrationTestSuite) TestLiquidStaking

func (s *IntegrationTestSuite) TestLiquidStaking()

Jump to

Keyboard shortcuts

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