v9

package
v11.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 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/osmosis-labs/osmosis/blob/v7.2.0/x/claim/types/keys.go#L5

View Source
const UpgradeName = "v9"

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

Variables

Functions

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	keepers *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

func ExecuteProp214

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

Executes prop214, https://www.mintscan.io/osmosis/proposals/214 Run `osmosisd 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 (OSMO/ATOM) swap fee 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