Documentation ¶
Index ¶
- Constants
- func ApproveDisableValidator(suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, ...) (*sdk.TxResponse, error)
- func CreateValidator(suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, ...) (*sdk.TxResponse, error)
- func Demo(suite *utils.TestSuite)
- func DisableValidator(suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, ...) (*sdk.TxResponse, error)
- func EnableValidator(suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, ...) (*sdk.TxResponse, error)
- func GetDisabledValidator(suite *utils.TestSuite, address sdk.ValAddress) (*validatortypes.DisabledValidator, error)
- func GetDisabledValidators(suite *utils.TestSuite) (res []validatortypes.DisabledValidator, err error)
- func GetProposedValidatorToDisable(suite *utils.TestSuite, address sdk.ValAddress) (*validatortypes.ProposedDisableValidator, error)
- func GetProposedValidatorsToDisable(suite *utils.TestSuite) (res []validatortypes.ProposedDisableValidator, err error)
- func GetRejectedValidatorToDisable(suite *utils.TestSuite, address sdk.ValAddress) (*validatortypes.RejectedDisableValidator, error)
- func GetRejectedValidatorsToDisable(suite *utils.TestSuite) (res []validatortypes.RejectedDisableValidator, err error)
- func ProposeDisableValidator(suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, ...) (*sdk.TxResponse, error)
- func RejectDisableValidator(suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, ...) (*sdk.TxResponse, error)
Constants ¶
View Source
const ( DCLValidatorDisabledNodesEndpoint = "/dcl/validator/disabled-nodes/" DCLValidatorProposedDisableNodeEndpoint = "/dcl/validator/proposed-disable-nodes/" DCLValidatorRejectedDisableNodeEndpoint = "/dcl/validator/rejected-disable-nodes/" )
Variables ¶
This section is empty.
Functions ¶
func ApproveDisableValidator ¶
func ApproveDisableValidator( suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, signerAccount *dclauthtypes.Account, info string, ) (*sdk.TxResponse, error)
func CreateValidator ¶
func CreateValidator( suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, signerAccount *dclauthtypes.Account, pubkey cryptotypes.PubKey, moniker string, ) (*sdk.TxResponse, error)
func DisableValidator ¶
func DisableValidator( suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, signerAccount *dclauthtypes.Account, ) (*sdk.TxResponse, error)
func EnableValidator ¶
func EnableValidator( suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, signerAccount *dclauthtypes.Account, ) (*sdk.TxResponse, error)
func GetDisabledValidator ¶
func GetDisabledValidator(suite *utils.TestSuite, address sdk.ValAddress) (*validatortypes.DisabledValidator, error)
func GetDisabledValidators ¶
func GetDisabledValidators(suite *utils.TestSuite) (res []validatortypes.DisabledValidator, err error)
func GetProposedValidatorToDisable ¶
func GetProposedValidatorToDisable(suite *utils.TestSuite, address sdk.ValAddress) (*validatortypes.ProposedDisableValidator, error)
func GetProposedValidatorsToDisable ¶
func GetProposedValidatorsToDisable(suite *utils.TestSuite) ( res []validatortypes.ProposedDisableValidator, err error, )
func GetRejectedValidatorToDisable ¶ added in v0.11.0
func GetRejectedValidatorToDisable( suite *utils.TestSuite, address sdk.ValAddress, ) (*validatortypes.RejectedDisableValidator, error)
func GetRejectedValidatorsToDisable ¶ added in v0.11.0
func GetRejectedValidatorsToDisable(suite *utils.TestSuite) ( res []validatortypes.RejectedDisableValidator, err error, )
func ProposeDisableValidator ¶
func ProposeDisableValidator( suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, signerAccount *dclauthtypes.Account, info string, ) (*sdk.TxResponse, error)
func RejectDisableValidator ¶ added in v0.11.0
func RejectDisableValidator( suite *utils.TestSuite, valAddr sdk.ValAddress, signerName string, signerAccount *dclauthtypes.Account, info string, ) (*sdk.TxResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.