testutil

package
v0.45.11-ics Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsgRedelegateExec added in v0.40.0

func MsgRedelegateExec(clientCtx client.Context, from, src, dst, amount fmt.Stringer,
	extraArgs ...string,
) (testutil.BufferWriter, error)

MsgRedelegateExec creates a redelegate message.

func MsgUnbondExec added in v0.40.0

func MsgUnbondExec(clientCtx client.Context, from fmt.Stringer, valAddress,
	amount fmt.Stringer, extraArgs ...string,
) (testutil.BufferWriter, error)

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) TestNewRedelegateCmd added in v0.43.0

func (s *IntegrationTestSuite) TestNewRedelegateCmd()

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