Documentation ¶
Index ¶
- func CreateAuctionTx(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce, timeout uint64, ...) (sdk.Tx, []sdk.Tx, error)
- func CreateAuctionTxWithSignerBz(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce, timeout uint64, ...) ([]byte, error)
- func CreateAuctionTxWithSigners(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce, timeout uint64, ...) (authsigning.Tx, error)
- func CreateBaseSDKContext(t *testing.T) sdk.Context
- func CreateFreeTx(txCfg client.TxConfig, account Account, nonce, timeout uint64, ...) (authsigning.Tx, error)
- func CreateMsgAuctionBid(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce uint64, ...) (*auctiontypes.MsgAuctionBid, error)
- func CreateRandomMsgs(acc sdk.AccAddress, numberMsgs int) []sdk.Msg
- func CreateRandomTx(txCfg client.TxConfig, account Account, nonce, numberMsgs, timeout uint64, ...) (authsigning.Tx, error)
- func CreateRandomTxBz(txCfg client.TxConfig, account Account, ...) ([]byte, error)
- func CreateRandomTxMultipleSigners(txCfg client.TxConfig, accounts []Account, nonce, numberMsgs, timeout uint64, ...) (authsigning.Tx, error)
- func CreateTx(txCfg client.TxConfig, account Account, nonce, timeout uint64, msgs []sdk.Msg, ...) (authsigning.Tx, error)
- func CreateTxWithSigners(txCfg client.TxConfig, nonce, timeout uint64, signers []Account) (authsigning.Tx, error)
- type Account
- type EncodingConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAuctionTx ¶
func CreateBaseSDKContext ¶
CreateBaseSDKContext creates a base sdk context with the default store key and transient key.
func CreateFreeTx ¶
func CreateMsgAuctionBid ¶
func CreateMsgAuctionBid(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce uint64, numberMsgs int) (*auctiontypes.MsgAuctionBid, error)
func CreateRandomMsgs ¶
func CreateRandomMsgs(acc sdk.AccAddress, numberMsgs int) []sdk.Msg
func CreateRandomTx ¶
func CreateRandomTxBz ¶
func CreateTxWithSigners ¶
Types ¶
type Account ¶
type Account struct { PrivKey cryptotypes.PrivKey PubKey cryptotypes.PubKey Address sdk.AccAddress ConsKey cryptotypes.PrivKey }
type EncodingConfig ¶
type EncodingConfig struct { InterfaceRegistry types.InterfaceRegistry Codec codec.Codec TxConfig client.TxConfig Amino *codec.LegacyAmino }
func CreateTestEncodingConfig ¶
func CreateTestEncodingConfig() EncodingConfig
Directories ¶
Path | Synopsis |
---|---|
Package keeper provides methods to initialize SDK keepers with local storage for test purposes
|
Package keeper provides methods to initialize SDK keepers with local storage for test purposes |
Package networksuite provides a base test suite for tests that need a local network instance
|
Package networksuite provides a base test suite for tests that need a local network instance |
Click to show internal directories.
Click to hide internal directories.