uluwatu

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package uluwatu defines the first omni consensus chain upgrade named after the iconic surf spot in Bali. It only includes attest module migration including constructor and logic changes. It doesn't include any store migrations.

Index

Constants

View Source
const UpgradeName = "1_uluwatu"

Variables

View Source
var (
	// SlashingParams as per https://github.com/omni-network/omni/issues/2018.
	SlashingParams = sltypes.Params{
		SignedBlocksWindow:      2000,
		MinSignedPerWindow:      math.LegacyNewDecWithPrec(5, 1),
		DowntimeJailDuration:    12 * time.Hour,
		SlashFractionDoubleSign: math.LegacyNewDec(0),
		SlashFractionDowntime:   math.LegacyNewDec(0),
	}
)

Functions

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	slashing slkeeper.Keeper,
) upgradetypes.UpgradeHandler

func GenesisState added in v0.13.0

func GenesisState(cdc codec.JSONCodec) (map[string]json.RawMessage, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳