Documentation ¶
Index ¶
- func GenAndDeliverTx(app *baseapp.BaseApp, txGen client.TxConfig, msg legacytx.LegacyMsg, ...) (simtypes.OperationMsg, []simtypes.FutureOperation, error)
- func GenAndDeliverTxWithRandFees(r *rand.Rand, app *baseapp.BaseApp, txGen client.TxConfig, ...) (simtypes.OperationMsg, []simtypes.FutureOperation, error)
- type SimulationContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenAndDeliverTx ¶
func GenAndDeliverTx( app *baseapp.BaseApp, txGen client.TxConfig, msg legacytx.LegacyMsg, fees sdk.Coins, ctx sdk.Context, simAccount simtypes.Account, ak stakingTypes.AccountKeeper, moduleName string) (simtypes.OperationMsg, []simtypes.FutureOperation, error)
func GenAndDeliverTxWithRandFees ¶
func GenAndDeliverTxWithRandFees( r *rand.Rand, app *baseapp.BaseApp, txGen client.TxConfig, msg legacytx.LegacyMsg, coinsSpentInMsg sdk.Coins, ctx sdk.Context, simAccount simtypes.Account, ak stakingTypes.AccountKeeper, bk stakingTypes.BankKeeper, moduleName string) (simtypes.OperationMsg, []simtypes.FutureOperation, error)
Types ¶
type SimulationContext ¶
type SimulationContext struct { R *rand.Rand SdkCtx sdk.Context App *baseapp.BaseApp Accs []simtypes.Account // contains filtered or unexported fields }
func NewSimulationContext ¶
func (*SimulationContext) GetMsgSender ¶
func (ctx *SimulationContext) GetMsgSender() simtypes.Account
Click to show internal directories.
Click to hide internal directories.