Skip to content

Conversation

@dai1975
Copy link

@dai1975 dai1975 commented Sep 19, 2025

update relayer version and add fakelost test

Daisuke Kanda added 5 commits September 19, 2025 06:14
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>
@dai1975 dai1975 requested review from Copilot and siburu September 19, 2025 08:36
Copy link

Copilot AI left a 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.

dai1975 and others added 2 commits September 19, 2025 17:55
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dai1975 dai1975 marked this pull request as draft September 19, 2025 08:59
Daisuke Kanda added 6 commits September 29, 2025 02:33
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>
@dai1975 dai1975 marked this pull request as ready for review October 3, 2025 05:57
Daisuke Kanda and others added 4 commits October 6, 2025 09:05
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>
Copy link
Contributor

@siburu siburu left a 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
Copy link
Contributor

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?

@siburu siburu self-requested a review December 11, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants