action

package
v0.20.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FundAccount

func FundAccount(account sdk.AccAddress, amount sdk.Coins) testutil.Action

func IncreaseBlockNumberBy

func IncreaseBlockNumberBy(numBlocks int64) testutil.Action

IncreaseBlockNumberBy increases the block number by the given number of blocks

func IncreaseBlockTimeBy

func IncreaseBlockTimeBy(numSeconds time.Duration) testutil.Action

func MoveToNextBlock

func MoveToNextBlock() testutil.Action

func SetBlockNumber

func SetBlockNumber(blockNumber int64) testutil.Action

SetBlockNumber sets the block number to the given value

func SetBlockTime

func SetBlockTime(blockTime time.Time) testutil.Action

SetBlockTime sets the block time to the given value

Types

type BalanceEqualAction

type BalanceEqualAction struct {
	Account sdk.AccAddress
	Amount  sdk.Coins
}

func BalanceShouldBeEqual

func BalanceShouldBeEqual(account sdk.AccAddress, amount sdk.Coins) *BalanceEqualAction

func (BalanceEqualAction) Do

Jump to

Keyboard shortcuts

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