Documentation ¶
Index ¶
- Constants
- Variables
- func MakeMockApp(balances []banktypes.Balance) *simapp.SimApp
- func MakeMockGenesisState(cdc codec.JSONCodec, balances []banktypes.Balance) simapp.GenesisState
- func MakeRandomAddress() sdk.AccAddress
- func MakeRandomConsensusPubKey() cryptotypes.PubKey
- func MakeRandomPubKey() cryptotypes.PubKey
- func MakeSimpleMockApp() *simapp.SimApp
- type EmptyAppOptions
Constants ¶
View Source
const DefaultBondDenom = "utoken"
Variables ¶
View Source
var DefaultConsensusParams = &tmproto.ConsensusParams{ Block: &tmproto.BlockParams{ MaxBytes: 200000, MaxGas: 10000000, }, Evidence: &tmproto.EvidenceParams{ MaxAgeNumBlocks: 302400, MaxAgeDuration: 504 * time.Hour, MaxBytes: 10000, }, Validator: &tmproto.ValidatorParams{ PubKeyTypes: []string{ tmtypes.ABCIPubKeyTypeEd25519, }, }, }
Functions ¶
func MakeMockGenesisState ¶
func MakeRandomAddress ¶
func MakeRandomAddress() sdk.AccAddress
func MakeRandomConsensusPubKey ¶
func MakeRandomConsensusPubKey() cryptotypes.PubKey
func MakeRandomPubKey ¶
func MakeRandomPubKey() cryptotypes.PubKey
func MakeSimpleMockApp ¶
Types ¶
type EmptyAppOptions ¶
type EmptyAppOptions struct{}
func (EmptyAppOptions) Get ¶
func (opts EmptyAppOptions) Get(_ string) interface{}
Click to show internal directories.
Click to hide internal directories.