testutil

package
v0.0.0-...-825fd62 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: Apache-2.0 Imports: 18 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, valAddress,
	amount fmt.Stringer,
	extraArgs ...string,
) (testutil.BufferWriter, error)

MsgUnbondExec creates a unbond message.

Types

type E2ETestSuite

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

func NewE2ETestSuite

func NewE2ETestSuite(cfg network.Config) *E2ETestSuite

func (*E2ETestSuite) SetupSuite

func (s *E2ETestSuite) SetupSuite()

func (*E2ETestSuite) TearDownSuite

func (s *E2ETestSuite) TearDownSuite()

func (*E2ETestSuite) TestBlockResults

func (s *E2ETestSuite) 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.

Jump to

Keyboard shortcuts

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