testsuite

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockedAddresses added in v2.2.0

func BlockedAddresses(maccPerms map[string][]string) map[string]bool

Types

type TestProtocolVersionSetter added in v2.0.5

type TestProtocolVersionSetter struct{}

func NewTestProtocolVersionSetter added in v2.0.5

func NewTestProtocolVersionSetter() TestProtocolVersionSetter

func (TestProtocolVersionSetter) SetProtocolVersion added in v2.0.5

func (vs TestProtocolVersionSetter) SetProtocolVersion(v uint64)

type TestSuite

type TestSuite struct {
	suite.Suite

	Ctx sdk.Context

	AccountKeeper    authkeeper.AccountKeeper
	StakingKeeper    *stakingkeeper.Keeper
	AolKeeper        aolkeeper.Keeper
	AolMsgServer     aoltypes.MsgServer
	BankKeeper       bankkeeper.Keeper
	BurnKeeper       burnkeeper.Keeper
	CapabilityKeeper *capabilitykeeper.Keeper
	DistrKeeper      distrkeeper.Keeper
	IBCKeeper        *ibckeeper.Keeper
	TransferKeeper   ibctransferkeeper.Keeper
	DIDMsgServer     didtypes.MsgServer
	DIDKeeper        didkeeper.Keeper
	UpgradeKeeper    *upgradekeeper.Keeper
}

func (*TestSuite) AfterTest

func (suite *TestSuite) AfterTest(suiteName, testName string)

func (*TestSuite) BeforeTest

func (suite *TestSuite) BeforeTest(suiteName, testName string)

func (*TestSuite) FundAccount added in v2.0.5

func (suite *TestSuite) FundAccount(ctx sdk.Context, addr sdk.AccAddress, amounts sdk.Coins) error

func (*TestSuite) GetAccAddress

func (suite *TestSuite) GetAccAddress() sdk.AccAddress

func (*TestSuite) SetupTest

func (suite *TestSuite) SetupTest()

Jump to

Keyboard shortcuts

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