cmd

package
v0.0.0-...-2eef473 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: LGPL-3.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicChannelLeafProofFn

func BasicChannelLeafProofFn(cmd *cobra.Command, _ []string) error

func Execute

func Execute()

func GetBlockFn

func GetBlockFn(cmd *cobra.Command, _ []string) error

func LeafFn

func LeafFn(cmd *cobra.Command, _ []string) error

func ParachainHeadProofFn

func ParachainHeadProofFn(cmd *cobra.Command, _ []string) error

func ScanBeefyFn

func ScanBeefyFn(cmd *cobra.Command, _ []string) error

func SubBeefyFn

func SubBeefyFn(cmd *cobra.Command, _ []string) error

Types

type Data

type Data struct {
	CheckpointUpdate      beaconjson.CheckPoint
	SyncCommitteeUpdate   beaconjson.Update
	FinalizedHeaderUpdate beaconjson.Update
	HeaderUpdate          beaconjson.HeaderUpdate
	InboundMessage        parachain.MessageJSON
	TestCase              string
}

type Format

type Format string
const (
	RustFmt Format = "rust"
	JSONFmt Format = "json"
)

type InboundFixture

type InboundFixture struct {
	FinalizedHeaderUpdate beaconjson.Update     `json:"update"`
	Message               parachain.MessageJSON `json:"message"`
}

type MerkleProof

type MerkleProof struct {
	Root           types.H256
	Proof          []types.H256
	NumberOfLeaves uint64
	LeafIndex      uint64
	Leaf           []byte
}

Directories

Path Synopsis
run

Jump to

Keyboard shortcuts

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