Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.26 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.26 KB

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