v1_1

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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