v5

package
v0.0.0-...-1929ff6 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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