Documentation
¶
Index ¶
- func FundModuleAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, recipientMod string, ...) error
- func GetTmConsPubKey(v types.Validator) (tmcrypto.PubKey, error)
- func NewValidator(t testing.TB, operator sdk.ValAddress, pubKey cryptotypes.PubKey) types.Validator
- func ToTmValidator(v types.Validator) (*tmtypes.Validator, error)
- func ToTmValidators(v types.Validators) ([]*tmtypes.Validator, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FundModuleAccount ¶
func GetTmConsPubKey ¶
GetTmConsPubKey gets the validator's public key as a tmcrypto.PubKey.
func NewValidator ¶
func NewValidator(t testing.TB, operator sdk.ValAddress, pubKey cryptotypes.PubKey) types.Validator
NewValidator is a testing helper method to create validators in tests
func ToTmValidator ¶
ToTmValidator casts an SDK validator to a tendermint type Validator.
func ToTmValidators ¶
func ToTmValidators(v types.Validators) ([]*tmtypes.Validator, error)
ToTmValidators casts all validators to the corresponding tendermint type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.