Documentation ¶
Index ¶
- func SetupTestingApp() (ibctesting.TestingApp, map[string]json.RawMessage)
- func SignAndDeliver(txCfg client.TxConfig, app *baseapp.BaseApp, header tmproto.Header, ...) (sdk.GasInfo, *sdk.Result, error)
- type TestChain
- func (chain *TestChain) GetMokitaApp() *app.MokitaApp
- func (chain *TestChain) InstantiateContract(suite *suite.Suite, msg string) sdk.AccAddress
- func (chain *TestChain) InstantiateRLContract(suite *suite.Suite, quotas string) sdk.AccAddress
- func (chain *TestChain) MoveEpochsToTheFuture() error
- func (chain *TestChain) QueryContract(suite *suite.Suite, contract sdk.AccAddress, key []byte) string
- func (chain *TestChain) RegisterRateLimitingContract(addr []byte)
- func (chain *TestChain) SendMsgsNoCheck(msgs ...sdk.Msg) (*sdk.Result, error)
- func (chain *TestChain) StoreContractCode(suite *suite.Suite, path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupTestingApp ¶
func SetupTestingApp() (ibctesting.TestingApp, map[string]json.RawMessage)
func SignAndDeliver ¶
func SignAndDeliver( txCfg client.TxConfig, app *baseapp.BaseApp, header tmproto.Header, msgs []sdk.Msg, chainID string, accNums, accSeqs []uint64, priv ...cryptotypes.PrivKey, ) (sdk.GasInfo, *sdk.Result, error)
SignAndDeliver signs and delivers a transaction without asserting the results. This overrides the function from ibctesting
Types ¶
type TestChain ¶
type TestChain struct {
*ibctesting.TestChain
}
func (*TestChain) GetMokitaApp ¶
GetMokitaApp returns the current chain's app as an MokitaApp
func (*TestChain) InstantiateContract ¶
func (*TestChain) InstantiateRLContract ¶
func (*TestChain) MoveEpochsToTheFuture ¶
Move epochs to the future to avoid issues with minting
func (*TestChain) QueryContract ¶
func (*TestChain) RegisterRateLimitingContract ¶
func (*TestChain) SendMsgsNoCheck ¶
SendMsgsNoCheck overrides ibctesting.TestChain.SendMsgs so that it doesn't check for errors. That should be handled by the caller
Click to show internal directories.
Click to hide internal directories.