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.
Click to show internal directories.
Click to hide internal directories.