v301

package
v3.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UpgradeName defines the on-chain upgrade name.
	UpgradeName = "v3.0.1"

	AuctionParamsMaxBundleSize          = 4
	AuctionParamsFrontRunningProtection = false
)

Variables

View Source
var (
	Upgrade = upgrades.Upgrade{
		UpgradeName:          UpgradeName,
		CreateUpgradeHandler: CreateUpgradeHandler,
		StoreUpgrades: storetypes.StoreUpgrades{
			Added: []string{auctiontypes.ModuleName},
		},
	}
	AuctionParamsReserveFee      = sdk.Coin{Denom: "untrn", Amount: sdk.NewInt(500_000)}
	AuctionParamsMinBidIncrement = sdk.Coin{Denom: "untrn", Amount: sdk.NewInt(100_000)}
	AuctionParamsProposerFee     = math.LegacyNewDecWithPrec(25, 2)
)

Functions

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	keepers *upgrades.UpgradeKeepers,
	_ upgrades.StoreKeys,
	_ codec.Codec,
) upgradetypes.UpgradeHandler

CreateUpgradeHandler is an upgrade major version 2 -> 3 Upgrade v3.0.0 was applied on pion-1 chain and later renamed to v3.0.1 Upgrade v3.0.1 is in a nutshell the same v3.0.0 but with additional storage migrations specially for neutron-1 chain - setICSParams and removeDiscrepancies

Types

This section is empty.

Jump to

Keyboard shortcuts

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