feat(e2e): add Union channel and ERC20 scenario runner - #251
Open
notJoon wants to merge 49 commits into
Open
Conversation
notJoon
force-pushed
the
refactor-union-e2e-scenarios
branch
from
July 23, 2026 11:39
c805961 to
368e29e
Compare
notJoon
had a problem deploying
to
union-relayer-e2e
July 23, 2026 11:48 — with
GitHub Actions
Failure
notJoon
had a problem deploying
to
union-relayer-e2e
July 24, 2026 00:22 — with
GitHub Actions
Failure
notJoon
had a problem deploying
to
union-relayer-e2e
July 24, 2026 02:59 — with
GitHub Actions
Failure
notJoon
had a problem deploying
to
union-relayer-e2e
July 24, 2026 09:41 — with
GitHub Actions
Failure
notJoon
had a problem deploying
to
union-relayer-e2e
July 24, 2026 10:47 — with
GitHub Actions
Failure
notJoon
had a problem deploying
to
union-relayer-e2e
August 3, 2026 04:58 — with
GitHub Actions
Failure
notJoon
had a problem deploying
to
union-relayer-e2e
August 3, 2026 08:25 — with
GitHub Actions
Failure
notJoon
had a problem deploying
to
union-relayer-e2e
August 3, 2026 09:21 — with
GitHub Actions
Failure
Contributor
|
channel-e2e-artifacts-20260804-164209/bin/gnokey (~36.8MB ELF binary) looks like a stray local artifact accidentally committed on this branch. .gitignore now covers this pattern going forward, but the existing blob should be dropped (git rm + rebase/squash) before this merges into main. |
Member
Author
@aronpark1007 thanks for checking. I just dropped that file in this commit 91d091b |
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Delay EVM indexing across the local beacon/geth finality boundary, refresh stale EVM state modules, and track exact repaired client events. Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: Codex
Assisted-By: OpenAI Codex
Assisted-By: OpenAI Codex <codex@openai.com>
Assisted-By: OpenAI Codex <codex@openai.com>
Assisted-By: Codex
Assisted-By: OpenAI Codex
Vendor ignored third-party Gno packages before fallback image builds. Reuse gnokey from the pinned Gno image, resolve images concurrently, and run the suite in one Voyager lifecycle. Assisted-By: OpenAI Codex
Assisted-By: OpenAI Codex
Assisted-By: OpenAI Codex
Assisted-By: OpenAI Codex
Assisted-By: OpenAI Codex
Assisted-By: OpenAI Codex
Assisted-By: OpenAI Codex
Assisted-By: OpenAI Codex
notJoon
force-pushed
the
refactor-union-e2e-scenarios
branch
from
August 6, 2026 02:21
6fc0be8 to
4fbf629
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a resumable Go-based E2E runner for the live
Union–EVM–Gno IBC path.
It manages a pinned Voyager runtime, establishes the IBC topology, runs the
selected packet scenarios, and stores checkpoints and review evidence. Chains,
PostgreSQL, Gno realms, and EVM contracts must already be deployed.
Structure
scenario.Runnerowns the execution order. Chain-specific behavior is kept inthe EVM, Gno, Union, and Voyager adapters. All external commands pass through
internal/process, allowing tests to replace them with deterministic fakes.Execution flow
--apply, a fresh run performs read-only preflight.--applyenables broadcasts.--resumevalidatesstate.jsonagainst the current topology and continueswithout repeating completed writes.
IBC topology
The base scenario creates four underlying clients:
cometblsgnotrusted/evm/mptcometblsIt then creates the composed Gno ↔ EVM clients:
state-lens/ics23/mptproof-lensAfter verifying the client relationships and statuses, the runner establishes
the Gno ↔ EVM connection and the
ucs03-zkgm-0channel. Both sides' IDs,ports, versions, counterparty fields, and
OPENstate are checked.Scenarios
Scenarios execute in the following order:
--forged-proof-rejection--erc20-to-gno--amount-boundariesint64maximum, maximum-plus-one refund, and cumulative overflow behavior.--gno-to-evm--amount-boundariesand--gno-to-evmrequire a successful--erc20-to-gnoscenario.Checkpoint and resume behavior
state.jsonstores the environment identity, topology IDs, failed-workbaseline, and packet progress.
Handshake and packet writes are checkpointed as
*-submittingand*-submitted. If a previous write cannot be identified unambiguously, resumefails instead of broadcasting it again. Connection and channel resumes advance
only when matching external state is visible.
State and evidence files are written atomically with private permissions.
Evidence containing configured private keys or credential-bearing URLs is
rejected.
Supporting changes