testutil

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 22 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

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()

TODO: WIP add assertion

Jump to

Keyboard shortcuts

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