testutil

package
v1.0.1-0...-86249ee Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsgRedelegateExec

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

MsgRedelegateExec creates a redelegate message.

func MsgUnbondExec

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

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

func NewIntegrationTestSuite

func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite

func (*IntegrationTestSuite) SetupSuite

func (s *IntegrationTestSuite) SetupSuite()

func (*IntegrationTestSuite) TearDownSuite

func (s *IntegrationTestSuite) TearDownSuite()

func (*IntegrationTestSuite) TestBlockResults

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

func (s *IntegrationTestSuite) TestGetCmdQueryDelegation()

func (*IntegrationTestSuite) TestGetCmdQueryDelegations

func (s *IntegrationTestSuite) TestGetCmdQueryDelegations()

func (*IntegrationTestSuite) TestGetCmdQueryHistoricalInfo

func (s *IntegrationTestSuite) TestGetCmdQueryHistoricalInfo()

func (*IntegrationTestSuite) TestGetCmdQueryParams

func (s *IntegrationTestSuite) TestGetCmdQueryParams()

func (*IntegrationTestSuite) TestGetCmdQueryPool

func (s *IntegrationTestSuite) TestGetCmdQueryPool()

func (*IntegrationTestSuite) TestGetCmdQueryRedelegation

func (s *IntegrationTestSuite) TestGetCmdQueryRedelegation()

func (*IntegrationTestSuite) TestGetCmdQueryRedelegations

func (s *IntegrationTestSuite) TestGetCmdQueryRedelegations()

func (*IntegrationTestSuite) TestGetCmdQueryUnbondingDelegation

func (s *IntegrationTestSuite) TestGetCmdQueryUnbondingDelegation()

func (*IntegrationTestSuite) TestGetCmdQueryUnbondingDelegations

func (s *IntegrationTestSuite) TestGetCmdQueryUnbondingDelegations()

func (*IntegrationTestSuite) TestGetCmdQueryValidator

func (s *IntegrationTestSuite) TestGetCmdQueryValidator()

func (*IntegrationTestSuite) TestGetCmdQueryValidatorDelegations

func (s *IntegrationTestSuite) TestGetCmdQueryValidatorDelegations()

func (*IntegrationTestSuite) TestGetCmdQueryValidatorRedelegations

func (s *IntegrationTestSuite) TestGetCmdQueryValidatorRedelegations()

func (*IntegrationTestSuite) TestGetCmdQueryValidatorUnbondingDelegations

func (s *IntegrationTestSuite) TestGetCmdQueryValidatorUnbondingDelegations()

func (*IntegrationTestSuite) TestGetCmdQueryValidators

func (s *IntegrationTestSuite) TestGetCmdQueryValidators()

func (*IntegrationTestSuite) TestNewCreateValidatorCmd

func (s *IntegrationTestSuite) TestNewCreateValidatorCmd()

func (*IntegrationTestSuite) TestNewDelegateCmd

func (s *IntegrationTestSuite) TestNewDelegateCmd()

func (*IntegrationTestSuite) TestNewEditValidatorCmd

func (s *IntegrationTestSuite) TestNewEditValidatorCmd()

func (*IntegrationTestSuite) TestNewRedelegateCmd

func (s *IntegrationTestSuite) TestNewRedelegateCmd()

func (*IntegrationTestSuite) TestNewUnbondCmd

func (s *IntegrationTestSuite) TestNewUnbondCmd()

Jump to

Keyboard shortcuts

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