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)
}
}
- 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 .
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