dclupgrade

package
v1.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApproveUpgrade

func ApproveUpgrade(
	suite *utils.TestSuite,
	msg *dclupgradetypes.MsgApproveUpgrade,
	signerName string,
	signerAccount *dclauthtypes.Account,
) (*sdk.TxResponse, error)

func ApproveUpgradeByNonTrustee

func ApproveUpgradeByNonTrustee(suite *utils.TestSuite)

func Demo added in v0.10.0

func Demo(suite *utils.TestSuite)

func GetApprovedUpgrade

func GetApprovedUpgrade(
	suite *utils.TestSuite,
	name string,
) (*dclupgradetypes.ApprovedUpgrade, error)

func GetApprovedUpgrades

func GetApprovedUpgrades(suite *utils.TestSuite) (res []dclupgradetypes.ApprovedUpgrade, err error)

func GetProposedUpgrade

func GetProposedUpgrade(
	suite *utils.TestSuite,
	name string,
) (*dclupgradetypes.ProposedUpgrade, error)

func GetProposedUpgrades

func GetProposedUpgrades(suite *utils.TestSuite) (res []dclupgradetypes.ProposedUpgrade, err error)

func GetRejectedUpgrade added in v0.11.0

func GetRejectedUpgrade(
	suite *utils.TestSuite,
	name string,
) (*dclupgradetypes.RejectedUpgrade, error)

func GetRejectedUpgrades added in v0.11.0

func GetRejectedUpgrades(suite *utils.TestSuite) (res []dclupgradetypes.RejectedUpgrade, err error)

func NewMsgApproveUpgrade

func NewMsgApproveUpgrade(signer string, name string) *dclupgradetypes.MsgApproveUpgrade

func NewMsgProposeUpgrade

func NewMsgProposeUpgrade(signer string, name string, height int64, info string) *dclupgradetypes.MsgProposeUpgrade

func NewMsgRejectUpgrade added in v0.11.0

func NewMsgRejectUpgrade(signer string, name string) *dclupgradetypes.MsgRejectUpgrade

func ProposeAndRejectUpgrade added in v1.1.1

func ProposeAndRejectUpgrade(suite *utils.TestSuite)

func ProposeUpgrade

func ProposeUpgrade(
	suite *utils.TestSuite,
	msg *dclupgradetypes.MsgProposeUpgrade,
	signerName string,
	signerAccount *dclauthtypes.Account,
) (*sdk.TxResponse, error)

func ProposeUpgradeByNonTrustee

func ProposeUpgradeByNonTrustee(suite *utils.TestSuite)

func ProposeUpgradeTwice

func ProposeUpgradeTwice(suite *utils.TestSuite)

func RejectUpgrade added in v0.11.0

func RejectUpgrade(
	suite *utils.TestSuite,
	msg *dclupgradetypes.MsgRejectUpgrade,
	signerName string,
	signerAccount *dclauthtypes.Account,
) (*sdk.TxResponse, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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