e2e

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultChainID        = "tacchain_2391337-1"
	DefaultDenom          = "utac"
	DefaultKeyringBackend = "test"
)

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(ctx context.Context, params CommandParams, args ...string) (string, error)

func GetAddress

func GetAddress(ctx context.Context, s *TacchainTestSuite, keyName string) (string, error)

func GetValidatorAddress

func GetValidatorAddress(ctx context.Context, s *TacchainTestSuite) (string, error)

func ParseBoolField

func ParseBoolField(output string, fieldName string) (bool, bool)

func QueryBankBalances

func QueryBankBalances(ctx context.Context, s *TacchainTestSuite, address string) (string, error)

func TxBankSend

func TxBankSend(ctx context.Context, s *TacchainTestSuite, from, to string, utacAmount string) (string, error)

func UTacAmount

func UTacAmount(amount string) string

Types

type CommandParams

type CommandParams struct {
	ChainID        string
	HomeDir        string
	KeyringBackend string
	TacchaindPath  string
}

type TacchainTestSuite

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

func (*TacchainTestSuite) CommandParamsChainIDHomeDir

func (s *TacchainTestSuite) CommandParamsChainIDHomeDir() CommandParams

func (*TacchainTestSuite) CommandParamsHomeDir

func (s *TacchainTestSuite) CommandParamsHomeDir() CommandParams

func (*TacchainTestSuite) DefaultCommandParams

func (s *TacchainTestSuite) DefaultCommandParams() CommandParams

Jump to

Keyboard shortcuts

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