Documentation ¶
Index ¶
Constants ¶
View Source
const (
TestChainId = "chain-0"
)
Variables ¶
This section is empty.
Functions ¶
func CreateRandomAccounts ¶
func CreateRandomAccounts(numAccts int) []sdk.AccAddress
Generate random account addresss
func SetupConfig ¶
func SetupConfig()
Modifies sdk config to have stride address prefixes (used for non-keeper tests)
Types ¶
type AppTestHelper ¶
type AppTestHelper struct { suite.Suite App *app.SimApp QueryHelper *baseapp.QueryServiceTestHelper TestAccs []sdk.AccAddress Ctx sdk.Context }
func (*AppTestHelper) ConfirmUpgradeSucceededs ¶
func (s *AppTestHelper) ConfirmUpgradeSucceededs(upgradeName string, upgradeHeight int64)
Helper function to confirm the upgrade block processes without error
Click to show internal directories.
Click to hide internal directories.