Skip to content

datachainlab/ibc-parlia-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f079253 · Feb 25, 2025

History

66 Commits
Dec 20, 2024
Feb 14, 2025
Feb 20, 2025
Oct 16, 2024
Jul 12, 2023
Feb 20, 2025
Nov 27, 2024
Jun 1, 2023
Aug 20, 2024
Aug 20, 2024
Aug 20, 2024
Feb 20, 2025
Feb 20, 2025

Repository files navigation

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