client

package
v9.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package client implements the ICS 02 - Client Semantics specification (https://github.com/cosmos/ibc/tree/master/spec/core/ics-002-client-semantics). This concrete implementation defines types and methods to store and update light clients which tracks on other chain's state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginBlocker

func BeginBlocker(ctx sdk.Context, k *keeper.Keeper)

BeginBlocker is used to perform IBC client upgrades

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k *keeper.Keeper) types.GenesisState

ExportGenesis returns the ibc client submodule's exported genesis. NOTE: the export process is not optimized, it will iterate three times over the 02-client sub-store.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns no root query command for the IBC client

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the root tx command for 02-client.

func InitGenesis

func InitGenesis(ctx sdk.Context, k *keeper.Keeper, gs types.GenesisState)

InitGenesis initializes the ibc client submodule's state from a provided genesis state.

func Name

func Name() string

Name returns the IBC client name

Types

This section is empty.

Directories

Path Synopsis
client
cli
migrations
v7
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages.
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages.

Jump to

Keyboard shortcuts

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