v9

package
v17.1.0-20230810231521... Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ClaimsModuleName = "claim"

The historic name of the claims module, which is removed in this release. Cross-check against https://github.com/merlins-labs/merlins/blob/v7.2.0/x/claim/types/keys.go#L5

View Source
const UpgradeName = "v9"

UpgradeName defines the on-chain upgrade name for the Merlins v9 upgrade.

Variables

Functions

func ExecuteProp214

func ExecuteProp214(ctx sdk.Context, gamm *gammkeeper.Keeper)

Executes prop214, https://www.mintscan.io/merlins/proposals/214 Run `merlins q gov proposal 214` to see the text. It was voted in, and it has update instructions: Voting YES for this proposal would reduce the Pool 1 (FURY/ATOM) spread factor from 0.3% to 0.2%

Types

type MsgFilterDecorator

type MsgFilterDecorator struct{}

MsgFilterDecorator defines an AnteHandler decorator for the v9 upgrade that provide height-gated message filtering acceptance.

func (MsgFilterDecorator) AnteHandle

func (mfd MsgFilterDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)

AnteHandle performs an AnteHandler check that returns an error if the tx contains a message that is blocked. Right now, we block MsgTimeoutOnClose due to incorrect behavior that could occur if a packet is re-enabled.

Jump to

Keyboard shortcuts

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