Versions in this module Expand all Collapse all v3 v3.0.0 Jan 14, 2023 Changes in this version + var DefaultConsensusParams = &abci.ConsensusParams + func AddTestAddr(myApp *app.App, ctx sdk.Context, addr sdk.AccAddress, coins sdk.Coins) + func AddTestAddrs(myApp *app.App, ctx sdk.Context, accNum int, coins sdk.Coins) []sdk.AccAddress + func AddTestAddrsIncremental(myApp *app.App, ctx sdk.Context, accNum int, coins sdk.Coins) []sdk.AccAddress + func CheckBalance(t *testing.T, myApp *app.App, addr sdk.AccAddress, balances sdk.Coins) + func CreateMultiECDSA(count int) []*ecdsa.PrivateKey + func CreateRandomAccounts(accNum int) []sdk.AccAddress + func DefGenesisState(cdc codec.Codec) app.GenesisState + func GenTx(gen client.TxConfig, msgs []sdk.Msg, gasPrice sdk.Coin, gas uint64, ...) (sdk.Tx, error) + func GenerateAddress() common.Address + func GenerateAddressByModule(module string) string + func GenerateGenesisValidator(validatorNum int, initCoins sdk.Coins) (valSet *tmtypes.ValidatorSet, genAccs authtypes.GenesisAccounts, ...) + func GenerateZeroAddressByModule(module string) string + func IsLocalTest() bool + func NewEthPrivKey() cryptotypes.PrivKey + func NewMnemonic() string + func NewPriKey() cryptotypes.PrivKey + func NewPubKeyFromHex(pk string) (res cryptotypes.PubKey) + func NewRandDenom() string + func NewRandSymbol() string + func PrivKeyFromMnemonic(mnemonic string, algo hd.PubKeyType, account, index uint32) (cryptotypes.PrivKey, error) + func Setup(isCheckTx bool, isShowLog bool) *app.App + func SetupTestingApp() (ibctesting.TestingApp, map[string]json.RawMessage) + func SetupWithGenesisAccounts(genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance) *app.App + func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, ...) *app.App + func SignCheckDeliver(t *testing.T, txCfg client.TxConfig, app *baseapp.BaseApp, ...) (sdk.GasInfo, *sdk.Result, error) + func TestAddr(addr string, bech string) (sdk.AccAddress, error) + type Signer struct + func NewSigner(sk cryptotypes.PrivKey) *Signer + func (s Signer) AccAddress() sdk.AccAddress + func (s Signer) Address() common.Address + func (s Signer) PrivKey() cryptotypes.PrivKey + func (s Signer) Sign(_ string, msg []byte) ([]byte, cryptotypes.PubKey, error) + func (s Signer) SignByAddress(address sdk.Address, msg []byte) ([]byte, cryptotypes.PubKey, error) v3.0.0-rc Jan 13, 2023 Other modules containing this package github.com/functionx/fx-core/v2