v3

package
v22.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 5 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 Osmosis v3 upgrade.
	UpgradeName = "v3"

	// UpgradeHeight defines the block height at which the Osmosis 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 osmo". 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 Osmosis 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