Versions in this module Expand all Collapse all v1 v1.0.1 Apr 21, 2023 Changes in this version + var ErrFromPositive = errors.New(`"from" must be positive number`) + var ErrIBFTConfigNotFound = errors.New(`"ibft" config doesn't exist in "engine" of genesis.json'`) + var ErrInvalidValidatorsUpdateHeight = errors.New(`cannot specify a less height than 2 for validators update`) + var ErrLessFromThanLastFrom = errors.New(`"from" must be greater than the beginning height of last fork`) + var ErrSameIBFTAndValidatorType = errors.New("cannot specify same IBFT type and validator type as the last fork") + func GetCommand() *cobra.Command + type IBFTSwitchResult struct + Chain string + Deployment *common.JSONNumber + From common.JSONNumber + MaxValidatorCount common.JSONNumber + MinValidatorCount common.JSONNumber + Type fork.IBFTType + ValidatorType validators.ValidatorType + func (r *IBFTSwitchResult) GetOutput() string