https://github.com/datachainlab/ibc-parlia-relay
https://github.com/datachainlab/ibc-parlia-relay
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/datachainlab/ibc-parlia-relay
- Owner: datachainlab
- License: apache-2.0
- Created: 2023-02-28T10:53:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-02T08:45:16.000Z (about 1 year ago)
- Last Synced: 2025-04-02T09:35:30.923Z (about 1 year ago)
- Language: Solidity
- Size: 565 KB
- Stars: 0
- Watchers: 17
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ibc-parlia-relay

## Supported Versions
- [yui-relayer v0.5.16](https://github.com/hyperledger-labs/yui-relayer/releases/tag/v0.5.16)
- [ethereum-ibc-relay-chain v0.3.17](https://github.com/datachainlab/ethereum-ibc-relay-chain/releases/tag/v0.3.17)
- [parlia-elc v0.3.10](https://github.com/datachainlab/parlia-elc/releases/tag/v0.3.10)
## Setup Relayer
Add this module to [yui-relayer](https://github.com/hyperledger-labs/yui-relayer) and activate it.
```go
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)
}
}
```
## Development
Generate proto buf with protobuf definition of [parlia-elc](https://github.com/datachainlab/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
```
## About ForkSpec
1. Set HF height as soon as possible
As soon as the HF height is determined, please modify the timestamp in the ForkSpec to the height as soon as possible.
HF height is calculated from timestamp, but the further away from the HF, the longer it takes to calculate.
2. Limitation of the CreateClient
When the latest HF height is not set it is impossible to create client if the latest finalize header is after latest HF timestamp