v3

package
v20.0.0-...-da339d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

TODO Write stuff

Should include description about this version, compatibility with v1 until height {...}, and fork code here.

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

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

func FixMinDepositDenom(ctx sdk.Context, gov *govkeeper.Keeper)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL