-
Notifications
You must be signed in to change notification settings - Fork 11
follow up relayer update about parallelizing chain prove #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v0.5
Are you sure you want to change the base?
Conversation
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Follow-up update introduces debug relayer modules and test scenarios (including a new service test) to exercise parallelized chain prove logic with optional "fakelost" (debug) behavior.
- Adds debug chain and prover modules to the relayer binary and updates relayer dependency.
- Wraps existing mock prover configs with a debug prover layer in test JSON configs and enables fakelost-related env vars in test scripts.
- Adds utility script, new test (test-service), and supporting Makefile / docker-compose adjustments.
Reviewed Changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/chains/ethereum/Makefile | Adds clean target for Ethereum test artifacts. |
| tests/cases/tm2eth/scripts/utils | New helper functions for querying and sending packets. |
| tests/cases/tm2eth/scripts/test-service | New end-to-end service mode test with fakelost debug env support. |
| tests/cases/tm2eth/scripts/test-mockapp-packet-relay | Reuses utility function for Ethereum packet sending and adds fakelost env handling. |
| tests/cases/tm2eth/scripts/test-ics20-packet-relay | Adds fakelost debug env handling. |
| tests/cases/tm2eth/scripts/test-channel-upgrade | Adds fakelost debug env handling. |
| tests/cases/tm2eth/scripts/handshake | Adds fakelost debug env handling. |
| tests/cases/tm2eth/configs/template/ibc-1.template.json | Wraps mock prover with debug prover configuration. |
| tests/cases/tm2eth/configs/demo/ibc-0.json | Wraps mock prover with debug prover configuration. |
| tests/cases/tm2eth/Makefile | Exports USE_FAKELOST default and adds new test script to sequence. |
| tests/cases/docker-compose-test.yaml | Extends channel upgrade timeout for mock Tendermint services. |
| relayer/main.go | Registers debug chain and prover modules. |
| go.mod | Updates yui-relayer dependency via replace to newer pseudo-version. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Daisuke Kanda <daisuke.kanda@datachain.jp>
Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
siburu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
| environment: | ||
| USE_MOCK_CLIENT: 1 | ||
| IBC_CHANNEL_UPGRADE_TIMEOUT: 30000000000 | ||
| IBC_CHANNEL_UPGRADE_TIMEOUT: 480000000000 #480 sec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dai1975 I think this timeout could be set shorter. What would be a appropriate value?
update relayer version and add fakelost test