Versions in this module Expand all Collapse all v2 v2.0.1 Nov 8, 2023 v2.0.0 Oct 23, 2023 Changes in this version + const DenomLink + const DenomStake + const UserBrian + const UserEvelyn + const UserKevin + const UserRinah + const UserSam + const UserTina + var TotalCoins = sdk.NewCoins(...) + func MarshalTx(t *testing.T, stdTx tx.Tx) []byte + func UnmarshalTx(t *testing.T, s []byte) (stdTx tx.Tx) + func UnmarshalTxResponse(t *testing.T, s []byte) (txResp sdk.TxResponse) + func WaitForStart(url string) + func WaitForTMStart(port string) + func WriteToNewTempFile(t *testing.T, s string) *os.File + type FixtureGroup struct + BaseDir string + Network *testnet.Network + T *testing.T + func InitFixturesGroup(t *testing.T, numOfNodes ...int) *FixtureGroup + func NewFixtureGroup(t *testing.T) *FixtureGroup + func (fg *FixtureGroup) AddFullNode(flags ...string) *Fixtures + func (fg *FixtureGroup) Cleanup() + func (fg *FixtureGroup) FinschiaStartCluster(minGasPrices string, flags ...string) + func (fg *FixtureGroup) Fixture(index int) *Fixtures + type Fixtures struct + ChainID string + GRPCAddr string + GRPCPort string + Home string + Moniker string + P2PAddr string + P2PPort string + Port string + RPCAddr string + T *testing.T + TMAddr string + TMPort string + func InitFixtures(t *testing.T) (f *Fixtures) + func NewFixtures(t *testing.T, homeDir string) *Fixtures + func (f *Fixtures) AddGenesisAccount(address sdk.AccAddress, coins sdk.Coins, flags ...string) + func (f *Fixtures) Cleanup(dirs ...string) + func (f *Fixtures) CollectGenTxs(flags ...string) + func (f *Fixtures) FnsadInit(moniker string, flags ...string) + func (f *Fixtures) FnsadOstracon(query string) string + func (f *Fixtures) FnsadStart(minGasPrices string) *testnet.Network + func (f *Fixtures) GenTx(name string, flags ...string) + func (f *Fixtures) KeyAddress(name string) sdk.AccAddress + func (f *Fixtures) KeysAdd(name string, flags ...string) + func (f *Fixtures) KeysAddRecover(name, mnemonic string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) KeysAddRecoverHDPath(name, mnemonic string, account uint32, index uint32, flags ...string) + func (f *Fixtures) KeysDelete(name string, flags ...string) + func (f *Fixtures) KeysShow(name string, flags ...string) keyring.KeyOutput + func (f *Fixtures) LogResult(isSuccess bool, stdOut, stdErr string) + func (f *Fixtures) MempoolNumUnconfirmedTxs(flags ...string) *ostctypes.ResultUnconfirmedTxs + func (f *Fixtures) NetInfo(flags ...string) *ostctypes.ResultNetInfo + func (f *Fixtures) QueryAccount(address sdk.AccAddress, flags ...string) authtypes.BaseAccount + func (f *Fixtures) QueryBalances(address sdk.AccAddress, flags ...string) banktypes.QueryAllBalancesResponse + func (f *Fixtures) QueryBlockWithHeight(height int, flags ...string) *ostctypes.ResultBlock + func (f *Fixtures) QueryCodeWasm(codeID uint64, flags ...string) + func (f *Fixtures) QueryContractStateSmartWasm(contractAddress string, reqJSON string, flags ...string) string + func (f *Fixtures) QueryFoundationInfo(flags ...string) (info foundation.QueryFoundationInfoResponse) + func (f *Fixtures) QueryGovDeposit(proposalID int, depositor sdk.AccAddress, flags ...string) gov.Deposit + func (f *Fixtures) QueryGovDeposits(propsalID int, flags ...string) gov.QueryDepositsResponse + func (f *Fixtures) QueryGovParamDeposit(flags ...string) gov.DepositParams + func (f *Fixtures) QueryGovParamTallying(flags ...string) gov.TallyParams + func (f *Fixtures) QueryGovParamVoting(flags ...string) gov.VotingParams + func (f *Fixtures) QueryGovProposal(proposalID int, flags ...string) gov.Proposal + func (f *Fixtures) QueryGovProposals(flags ...string) gov.QueryProposalsResponse + func (f *Fixtures) QueryGovVote(proposalID int, voter sdk.AccAddress, flags ...string) gov.Vote + func (f *Fixtures) QueryGovVotes(proposalID int, flags ...string) gov.QueryVotesResponse + func (f *Fixtures) QueryLatestBlock(flags ...string) *ostctypes.ResultBlock + func (f *Fixtures) QueryListCodeWasm(flags ...string) wasmtypes.QueryCodesResponse + func (f *Fixtures) QueryListContractByCodeWasm(codeID uint64, flags ...string) wasmtypes.QueryContractsByCodeResponse + func (f *Fixtures) QueryRewards(delAddr sdk.AccAddress, flags ...string) disttypes.QueryDelegatorTotalRewardsResponse + func (f *Fixtures) QuerySigningInfo(val string, flags ...string) slashing.ValidatorSigningInfo + func (f *Fixtures) QuerySlashingParams(flags ...string) slashing.Params + func (f *Fixtures) QueryStakingDelegationsTo(valAddr sdk.ValAddress, flags ...string) staking.QueryValidatorDelegationsResponse + func (f *Fixtures) QueryStakingParameters(flags ...string) staking.Params + func (f *Fixtures) QueryStakingPool(flags ...string) staking.Pool + func (f *Fixtures) QueryStakingUnbondingDelegationsFrom(valAddr sdk.ValAddress, flags ...string) staking.QueryValidatorUnbondingDelegationsResponse + func (f *Fixtures) QueryStakingValidator(valAddr sdk.ValAddress, flags ...string) staking.Validator + func (f *Fixtures) QueryTotalSupply(flags ...string) (totalSupply banktypes.QueryTotalSupplyResponse) + func (f *Fixtures) QueryTotalSupplyOf(denom string, flags ...string) sdk.Coin + func (f *Fixtures) QueryTx(hash string, flags ...string) *sdk.TxResponse + func (f *Fixtures) QueryTxInvalid(expectedErr error, hash string, flags ...string) + func (f *Fixtures) QueryTxs(page, limit int, flags ...string) *sdk.SearchTxsResult + func (f *Fixtures) QueryTxsInvalid(expectedErr error, page, limit int, flags ...string) + func (f *Fixtures) Status() *ostctypes.ResultStatus + func (f *Fixtures) TxBroadcast(fileName string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxEncode(fileName string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxExecuteWasm(contractAddress string, msgJSON string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxFoundationGrant(members []sdk.AccAddress, grantee sdk.AccAddress, ...) (testutil.BufferWriter, error) + func (f *Fixtures) TxFoundationGrantCreateValidator(members []sdk.AccAddress, grantee sdk.AccAddress, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxFoundationSubmitProposal(proposers []sdk.AccAddress, msgs []sdk.Msg, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxGovDeposit(proposalID int, from string, amount sdk.Coin, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxGovSubmitCommunityPoolSpendProposal(from, proposalPath string, deposit sdk.Coin, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxGovSubmitParamChangeProposal(from, proposalPath string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxGovSubmitProposal(from, typ, title, description string, deposit sdk.Coin, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxGovVote(proposalID int, option gov.VoteOption, from string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxInstantiateWasm(codeID uint64, msgJSON string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxMultisign(fileName, name string, signaturesFiles []string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxSend(from string, to sdk.AccAddress, amount sdk.Coin, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxSign(signer, fileName string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxStakingCreateValidator(from, consPubKey string, amount sdk.Coin, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxStakingUnbond(from, shares string, validator sdk.ValAddress, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) TxStoreWasm(wasmFilePath string, flags ...string) (testutil.BufferWriter, error) + func (f *Fixtures) UnsafeResetAll(flags ...string) + func (f *Fixtures) ValidateGenesis(genFile string, flags ...string) + func (f Fixtures) Clone() *Fixtures + func (f Fixtures) GenesisFile() string + func (f Fixtures) GenesisState() app.GenesisState + func (f Fixtures) PrivValidatorKeyFile() string Other modules containing this package github.com/Finschia/finschia-proxy/v3 github.com/Finschia/finschia-proxy/v4