ibc-parlia-relay

module
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0

README

ibc-parlia-relay

CI

Supported Versions

Setup Relayer

Add this module to yui-relayer and activate it.

package main

import (
	"log"
	"github.com/hyperledger-labs/yui-relayer/cmd"
	parlia "github.com/datachainlab/ibc-parlia-relay/module"
)

func main() {
	if err := cmd.Execute(
		// counterparty.Module{}, //counter party
		parlia.Module{}, // Parlia Prover Module 
    ); err != nil {
		log.Fatal(err)
	}
}

Change blocks per epoch

  • You can change blocks per epoch by build arguments.
  • This is only for local net.
go build -tags dev -ldflags="-X github.com/datachainlab/ibc-parlia-relay/module/constant.blocksPerEpoch=20" -o testrly .

Development

Generate proto buf with protobuf definition of parlia-elc.

cd $GOPATH/github.com/datachainlab
git clone https://github.com/datachainlab/parlia-elc
cd ibc-parlia-relay
make proto-import
make proto-gen

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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