Versions in this module Expand all Collapse all v5 v5.0.0 Aug 18, 2023 Changes in this version + var ABCIConsensusParams = &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 MintBlock(myApp *app.App, ctx sdk.Context, block ...int64) sdk.Context + 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 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 SkipTest(t *testing.T, msg ...any) + 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) + type TestingApp struct + TxConfig client.TxConfig + func (app *TestingApp) GetBaseApp() *baseapp.BaseApp + func (app *TestingApp) GetIBCKeeper() *ibckeeper.Keeper + func (app *TestingApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper + func (app *TestingApp) GetStakingKeeper() ibctestingtypes.StakingKeeper + func (app *TestingApp) GetTxConfig() client.TxConfig v5.0.0-rc0 Aug 8, 2023 Other modules containing this package github.com/functionx/fx-core/v3 github.com/functionx/fx-core/v4 github.com/functionx/fx-core/v6 github.com/functionx/fx-core/v7