testutil

package
v0.45.16-ics-lsm Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCmdAndCheckSuccess

func ExecuteCmdAndCheckSuccess(t *testing.T, clientContext client.Context, cmd *cobra.Command, extraArgs []string)

func MsgRedelegateExec added in v0.40.0

func MsgRedelegateExec(
	t *testing.T, clientCtx client.Context,
	from, src, dst, amount fmt.Stringer,
	extraArgs ...string,
)

MsgRedelegateExec creates a redelegate message.

func MsgTokenizeSharesExec

func MsgTokenizeSharesExec(
	t *testing.T, clientCtx client.Context,
	from fmt.Stringer, valAddress, rewardOwner, amount fmt.Stringer,
	extraArgs ...string,
)

MsgTokenizeSharesExec creates a delegation message.

func MsgUnbondExec added in v0.40.0

func MsgUnbondExec(
	t *testing.T, clientCtx client.Context,
	from fmt.Stringer, valAddress, amount fmt.Stringer,
	extraArgs ...string,
)

MsgUnbondExec creates a unbond message.

Types

type IntegrationTestSuite added in v0.43.0

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

func NewIntegrationTestSuite added in v0.43.0

func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite

func (*IntegrationTestSuite) SetupSuite added in v0.43.0

func (s *IntegrationTestSuite) SetupSuite()

func (*IntegrationTestSuite) TearDownSuite added in v0.43.0

func (s *IntegrationTestSuite) TearDownSuite()

func (*IntegrationTestSuite) TestBlockResults added in v0.43.0

func (s *IntegrationTestSuite) TestBlockResults()

TestBlockResults tests that the validator updates correctly show when calling the /block_results RPC endpoint. ref: https://github.com/cosmos/cosmos-sdk/issues/7401.

func (*IntegrationTestSuite) TestEditValidatorMoniker added in v0.45.6

func (s *IntegrationTestSuite) TestEditValidatorMoniker()

https://github.com/cosmos/cosmos-sdk/issues/10660

func (*IntegrationTestSuite) TestGetCmdQueryDelegation added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryDelegation()

func (*IntegrationTestSuite) TestGetCmdQueryDelegations added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryDelegations()

func (*IntegrationTestSuite) TestGetCmdQueryHistoricalInfo added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryHistoricalInfo()

func (*IntegrationTestSuite) TestGetCmdQueryParams added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryParams()

func (*IntegrationTestSuite) TestGetCmdQueryPool added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryPool()

func (*IntegrationTestSuite) TestGetCmdQueryRedelegation added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryRedelegation()

func (*IntegrationTestSuite) TestGetCmdQueryRedelegations added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryRedelegations()

func (*IntegrationTestSuite) TestGetCmdQueryUnbondingDelegation added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryUnbondingDelegation()

func (*IntegrationTestSuite) TestGetCmdQueryUnbondingDelegations added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryUnbondingDelegations()

func (*IntegrationTestSuite) TestGetCmdQueryValidator added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryValidator()

func (*IntegrationTestSuite) TestGetCmdQueryValidatorDelegations added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryValidatorDelegations()

func (*IntegrationTestSuite) TestGetCmdQueryValidatorRedelegations added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryValidatorRedelegations()

func (*IntegrationTestSuite) TestGetCmdQueryValidatorUnbondingDelegations added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryValidatorUnbondingDelegations()

func (*IntegrationTestSuite) TestGetCmdQueryValidators added in v0.43.0

func (s *IntegrationTestSuite) TestGetCmdQueryValidators()

func (*IntegrationTestSuite) TestNewCreateValidatorCmd added in v0.43.0

func (s *IntegrationTestSuite) TestNewCreateValidatorCmd()

func (*IntegrationTestSuite) TestNewDelegateCmd added in v0.43.0

func (s *IntegrationTestSuite) TestNewDelegateCmd()

func (*IntegrationTestSuite) TestNewEditValidatorCmd added in v0.43.0

func (s *IntegrationTestSuite) TestNewEditValidatorCmd()

func (*IntegrationTestSuite) TestNewRedeemTokensCmd

func (s *IntegrationTestSuite) TestNewRedeemTokensCmd()

func (*IntegrationTestSuite) TestNewRedelegateCmd added in v0.43.0

func (s *IntegrationTestSuite) TestNewRedelegateCmd()

func (*IntegrationTestSuite) TestNewTokenizeSharesCmd

func (s *IntegrationTestSuite) TestNewTokenizeSharesCmd()

func (*IntegrationTestSuite) TestNewTransferTokenizeShareRecordCmd

func (s *IntegrationTestSuite) TestNewTransferTokenizeShareRecordCmd()

func (*IntegrationTestSuite) TestNewUnbondCmd added in v0.43.0

func (s *IntegrationTestSuite) TestNewUnbondCmd()

Jump to

Keyboard shortcuts

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