Documentation ¶
Index ¶
- func GetAbortedAmount(cctx types.CrossChainTx) sdkmath.Uint
- func MigrateStore(ctx sdk.Context, crosschainKeeper crosschainKeeper, ...) error
- func ResetTestnetNonce(ctx sdk.Context, observerKeeper types.ObserverKeeper)
- func SetZetaAccounting(ctx sdk.Context, crosschainKeeper crosschainKeeper, ...) error
- type TestnetNonce
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
Click to show internal directories.
Click to hide internal directories.