cosmos-sdk: github.com/cosmos/cosmos-sdk/simapp/helpers Index | Files

package helpers

import "github.com/cosmos/cosmos-sdk/simapp/helpers"

Index

Package Files

test_helpers.go

Constants

const (
    DefaultGenTxGas = 1000000
    SimAppChainID   = "simulation-app"
)

SimAppChainID hardcoded chainID for simulation

func GenTx Uses

func GenTx(gen client.TxConfig, msgs []sdk.Msg, feeAmt sdk.Coins, gas uint64, chainID string, accnums []uint64, seq []uint64, priv ...crypto.PrivKey) (sdk.Tx, error)

GenTx generates a signed mock transaction.

Package helpers imports 8 packages (graph) and is imported by 17 packages. Updated 2020-07-26. Refresh now. Tools for package owners.