package
5.10.6
Repository: https://github.com/zenrock-foundation/zrchain.git
Documentation: pkg.go.dev

# Functions

GetCmtConsPubKey gets the validator's public key as a cmtcrypto.PubKey.
NewHelper creates a new instance of Helper.
NewMockAccountKeeper creates a new mock instance.
NewMockBankKeeper creates a new mock instance.
NewMockDelegationSet creates a new mock instance.
NewMockStakingHooks creates a new mock instance.
NewMockValidatorSet creates a new mock instance.
NewValidator is a testing helper method to create validators in tests.
ToCmtValidator casts an SDK validator to a CometBFT type Validator.
ToCmtValidators casts all validators to the corresponding CometBFT type.
ZeroCommission constructs a commission rates with all zeros.

# Variables

No description provided by the author

# Structs

Helper is a structure which wraps the staking message server and provides methods useful in tests.
MockAccountKeeper is a mock of AccountKeeper interface.
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
MockBankKeeper is a mock of BankKeeper interface.
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
MockDelegationSet is a mock of DelegationSet interface.
MockDelegationSetMockRecorder is the mock recorder for MockDelegationSet.
MockStakingHooks is a mock of StakingHooks interface.
MockStakingHooksMockRecorder is the mock recorder for MockStakingHooks.
MockValidatorSet is a mock of ValidatorSet interface.
MockValidatorSetMockRecorder is the mock recorder for MockValidatorSet.