v5

package
v0.0.0-...-f5e5adb Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAbortedAmount

func GetAbortedAmount(cctx types.CrossChainTx) sdkmath.Uint

func MigrateStore

func MigrateStore(ctx sdk.Context, crosschainKeeper crosschainKeeper, observerKeeper types.ObserverKeeper) error

MigrateStore migrates the x/crosschain module state from the consensus version 4 to 5 It resets the aborted zeta amount to use the inbound tx amount instead in situations where the outbound cctx is never created.

func ResetTestnetNonce

func ResetTestnetNonce(
	ctx sdk.Context,
	observerKeeper types.ObserverKeeper,
)

func SetZetaAccounting

func SetZetaAccounting(
	ctx sdk.Context,
	crosschainKeeper crosschainKeeper,
	observerKeeper types.ObserverKeeper,
) error

Types

type TestnetNonce

type TestnetNonce struct {
	// contains filtered or unexported fields
}

func CurrentTestnetChains

func CurrentTestnetChains() []TestnetNonce

Jump to

Keyboard shortcuts

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