Documentation
¶
Index ¶
Constants ¶
View Source
const ( // UpgradeName is the shared upgrade plan name for testnet UpgradeName = "v1.1.0" // TestUpgradeHeight defines the Astra testnet block height on which the upgrade will take place TestUpgradeHeight = 390000 // UpgradeInfo defines the binaries that will be used for the upgrade UpgradeInfo = `` /* 582-byte string literal not displayed */ AvgBlockTime = 3 * time.Second NewMaxGas = int64(40_000_000) )
Variables ¶
This section is empty.
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, sk stakingkeeper.Keeper, pk paramskeeper.Keeper, ) upgradetypes.UpgradeHandler
CreateUpgradeHandler creates an SDK upgrade handler for v1_1
func UpdateConsensusParams ¶
func UpdateConsensusParams(ctx sdk.Context, sk stakingkeeper.Keeper, pk paramskeeper.Keeper)
UpdateConsensusParams updates the Tendermint Consensus Evidence params (MaxAgeDuration and MaxAgeNumBlocks) to match the unbonding period and use the expected avg block time based on the node configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.