client

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdQueryAttestationByNonce added in v1.0.0

func CmdQueryAttestationByNonce() *cobra.Command

func GetQueryCmd added in v1.0.0

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the CLI query commands for this module

func VerifyCmd

func VerifyCmd() *cobra.Command

func VerifyDataRootInclusion

func VerifyDataRootInclusion(
	_ context.Context,
	qgbWrapper *wrapper.QuantumGravityBridge,
	nonce uint64,
	height uint64,
	dataRoot []byte,
	proof merkle.Proof,
) (bool, error)

func VerifyShares

func VerifyShares(ctx context.Context, logger tmlog.Logger, config VerifyConfig, height uint64, startShare uint64, endShare uint64) (isCommittedTo bool, err error)

Types

type VerifyConfig

type VerifyConfig struct {
	CelestiaChainID                  string
	EVMRPC, CelesGRPC, TendermintRPC string
	EVMChainID                       uint64
	ContractAddr                     ethcmn.Address
}

Jump to

Keyboard shortcuts

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