testutil

package
v4.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

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