Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UpgradeName defines the on-chain upgrade name for the Furya v3 upgrade. UpgradeName = "v3" // UpgradeHeight defines the block height at which the Furya v3 upgrade is // triggered. UpgradeHeight = 712_000 )
Variables ¶
View Source
var Fork = upgrades.Fork{ UpgradeName: UpgradeName, UpgradeHeight: UpgradeHeight, BeginForkLogic: RunForkLogic, }
Functions ¶
func FixMinCommisionRate ¶
func FixMinCommisionRate(ctx sdk.Context, staking *stakingkeeper.Keeper)
Fixes an error where validators can be created with a commission rate less than the network minimum rate.
func FixMinDepositDenom ¶
Fixes an error where minimum deposit was set to "500 fury". This denom does not exist, which makes it impossible for a proposal to go to a vote.
func RunForkLogic ¶
func RunForkLogic(ctx sdk.Context, keepers *keepers.AppKeepers)
RunForkLogic executes height-gated on-chain fork logic for the Furya v3 upgrade.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.