Skip to content

test: add connector fund migration e2e test using contracts only #3976

Merged
kingpinXD merged 26 commits intodevelopfrom
connector-v2-migration-contract-only
Jun 19, 2025
Merged

test: add connector fund migration e2e test using contracts only #3976
kingpinXD merged 26 commits intodevelopfrom
connector-v2-migration-contract-only

Conversation

@kingpinXD
Copy link
Member

@kingpinXD kingpinXD commented Jun 12, 2025

Description

Depends on : #3976 to be merged to show accurate changes

Closes : #3946

  • Adds a new runner that runs the migration of funds from V1 to V2
  • Post-run, it validates that v1 deposits still work.

The ChainParams are not updated as the protocol changes for v2 have not been added yet

How Has This Been Tested?

  • Tested CCTX in localnet
  • Tested in development environment
  • Go unit tests
  • Go integration tests
  • Tested via GitHub Actions

Summary by CodeRabbit

  • New Features

    • Introduced end-to-end tests for migrating funds between old and new Ethereum connector contracts.
    • Added support for V2 Zeta token deposit testing in the end-to-end test suite.
    • Enhanced test runner and configuration to support new contract addresses and migration flows.
  • Bug Fixes

    • Improved error reporting for failed outbound transactions in protocol version 2.
  • Chores

    • Updated workflows and Makefile to include new migration test targets.
    • Upgraded protocol contract dependencies.
  • Documentation

    • Added changelog entry for new connector migration end-to-end test.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 12, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

This update introduces a new end-to-end test suite for V2 connector migration, involving Makefile, workflow, and test code changes. It adds contract deployment, migration logic, and configuration for the new connector contract, with supporting helpers and workflow automation. Minor dependency, error message, and import adjustments are also included.

Changes

File(s) Change Summary
.github/workflows/e2e.yml Added V2 connector migration test category to the workflow, including matrix, outputs, and conditional logic.
Makefile Introduced start-v2-connector-migration-test target for light upgrade testing with V2 connector migration.
changelog.md Documented the new connector fund migration E2E test under unreleased changes.
cmd/zetae2e/config/config.go Added export of ConnectorNativeAddr in contract configuration.
cmd/zetae2e/config/contracts.go Updated imports and logic to support ConnectorNativeAddr and its contract instance initialization.
cmd/zetae2e/local/local.go Added CLI flag and logic to trigger V2 connector migration tests after emissions withdrawal.
contrib/localnet/docker-compose.yml Expanded service profiles for zetacore-new-validator and zetaclient-new-validator to include all.
contrib/rpctest/main.go Changed import from aliased to direct for zeta.eth.sol.
e2e/config/config.go Added ConnectorNativeAddr field to EVM config struct.
e2e/e2etests/e2etests.go Registered new tests: migrate_connector_funds and v2_zeta_deposit.
e2e/e2etests/helpers.go Added requireCctxStatus helper for cross-chain transaction status assertions.
e2e/e2etests/test_erc20_withdraw_and_call_revert_with_call.go Refactored status check to use requireCctxStatus.
e2e/e2etests/test_migrate_connector_funds.go Implemented E2E test for migrating connector funds from V1 to V2 contracts, with supporting helper functions.
e2e/e2etests/test_v2_zeta_deposit.go Added E2E test for V2 Zeta deposit flow with chain param updates and deposit logic.
e2e/runner/evm.go Added ZETADeposit and ApproveZetaOnEVM methods for Zeta token operations.
e2e/runner/legacy_setup_evm.go, e2e/runner/runner.go, e2e/runner/setup_evm.go Updated imports and added deployment, address, and instance management for ZetaConnectorNative contract in runner and setup logic.
e2e/runner/legacy_zevm.go Added paused-state check before legacy Zeta deposit operation.
go.mod Updated protocol-contracts dependency version and made gjson a direct dependency.
pkg/constant/constant.go Removed an unnecessary blank line after a constant declaration.
x/crosschain/keeper/cctx_orchestrator_validate_outbound.go Improved error propagation for failed outbound V2 transactions; minor error message rewording.
x/fungible/keeper/evm_gateway.go Changed invoked method from depositAndRevert to depositAndRevert0 in EVM gateway calls.
zetaclient/chains/evm/observer/v2_inbound.go Removed a redundant comment regarding coin type assignment logic.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant GitHub Actions
    participant Makefile
    participant Localnet
    participant E2E Test Runner
    participant Contracts

    Developer->>GitHub Actions: Push with V2_CONNECTOR_MIGRATION_TESTS label
    GitHub Actions->>Makefile: Run start-v2-connector-migration-test
    Makefile->>Localnet: Launch upgrade test environment
    Localnet->>E2E Test Runner: Execute migration tests (flag enabled)
    E2E Test Runner->>Contracts: Deploy V2 Connector, migrate funds, verify
    E2E Test Runner->>Contracts: Run V2 Zeta deposit test
    Contracts-->>E2E Test Runner: Return results
    E2E Test Runner-->>GitHub Actions: Report test outcome
Loading

Suggested labels

V2_TESTS

Suggested reviewers

  • lumtis
  • swift1337

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added ci Changes to CI pipeline or github actions breaking:cli labels Jun 12, 2025
@kingpinXD kingpinXD changed the base branch from develop to connector-v2-setup June 12, 2025 05:29
@kingpinXD kingpinXD closed this Jun 12, 2025
@kingpinXD kingpinXD reopened this Jun 12, 2025
@kingpinXD kingpinXD changed the base branch from connector-v2-setup to develop June 12, 2025 05:37
@codecov
Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.82%. Comparing base (d43f906) to head (c904987).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #3976   +/-   ##
========================================
  Coverage    64.82%   64.82%           
========================================
  Files          474      474           
  Lines        34809    34808    -1     
========================================
  Hits         22566    22566           
+ Misses       11192    11191    -1     
  Partials      1051     1051           
Files with missing lines Coverage Δ
...hain/keeper/cctx_orchestrator_validate_outbound.go 88.41% <100.00%> (ø)
zetaclient/chains/evm/observer/v2_inbound.go 0.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kingpinXD kingpinXD marked this pull request as ready for review June 12, 2025 18:25
@kingpinXD kingpinXD requested review from a team as code owners June 12, 2025 18:25
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7

🔭 Outside diff range comments (1)
go.mod (1)

3-3: ⚠️ Potential issue

Invalid go directive

go 1.22.11 is not allowed; the directive must be just major.minor (e.g., go 1.22). Tooling such as go vet, go test, and CI pipelines will fail.

-go 1.22.11
+go 1.22
♻️ Duplicate comments (1)
e2e/runner/runner.go (1)

271-293: Address copy omission (see previous comment)
ConnectorNativeAddr is missing from the bulk-copy block, leading to zero-value propagation.
Once the fix above is applied, include the copy here as well.

🧹 Nitpick comments (12)
changelog.md (1)

21-23: Nit: maintain section ordering

Elsewhere in the changelog “Tests” follows “Refactor”. Consider moving the new entry accordingly to preserve the document’s structure.

e2e/config/config.go (1)

169-178: Consider follow-up validation for the new connector_native field

The extra ConnectorNativeAddr field is necessary, but nothing in this file (or its Validate method) ensures the value is present / well-formed when V2 flows are enabled.
If the address is mandatory for certain test modes, add a quick sanity check similar to the account validations to fail fast when the YAML omits it.

@@ func (c Config) Validate() error {
   // existing policy account checks…
+
+  // validate mandatory contract addresses when native connector tests run
+  if os.Getenv("E2E_ENABLE_V2_CONNECTOR") == "true" &&
+     !ethcommon.IsHexAddress(c.Contracts.EVM.ConnectorNativeAddr.String()) {
+     return errors.New("invalid or missing connector_native address in config")
+  }
e2e/runner/legacy_zevm.go (1)

54-57: Race-window remains after the paused check

The added guard prevents deposits while the connector is paused – good catch.
Two minor considerations:

  1. The state could change between Paused() and Send(). Using the contract’s built-in revert on paused state already protects you, so the pre-check mainly saves one failed tx. Acceptable for tests, but document this intent.

  2. bind.CallOpts{} uses a background context; if tests hang, consider wiring Ctx:

-paused, err := r.ConnectorEth.Paused(&bind.CallOpts{})
+paused, err := r.ConnectorEth.Paused(&bind.CallOpts{Context: r.Ctx})

Not a blocker, just a robustness tweak.

x/fungible/keeper/evm_gateway.go (1)

198-207: Doc-string no longer matches the invoked contract method

The implementation now calls depositAndRevert0, which (per the comment above depositAndCallZRC20) is the ZRC20 variant.
However, the header comment for CallDepositAndRevert still describes the generic depositAndRevert signature. This will quickly become misleading for anyone reading godocs or grepping the codebase.

-// CallDepositAndRevert calls the depositAndRevert function on the gateway contract
+// CallDepositAndRevert calls the depositAndRevert0 (ZRC20 variant) function on the gateway

Please update the comment (and, if needed, the surrounding explanation) to reflect the new selector.
Optionally consider renaming the Go method to CallDepositAndRevertZRC20 to keep the vocabulary consistent with CallDepositAndCallZRC20.

Also applies to: 239-239

e2e/runner/runner.go (1)

32-35: Alias typo in import ‑ will confuse future readers

zetaconnnectornative (three “n”) is very likely an unintended typo. While Go allows any alias, deviating from the package name without a clear reason reduces readability.

-	zetaconnnectornative "github.com/zeta-chain/protocol-contracts/pkg/zetaconnectornative.sol"
+	zetaconnectornative "github.com/zeta-chain/protocol-contracts/pkg/zetaconnectornative.sol"
Makefile (1)

408-413: Target message & env flags inconsistent with intent

The new target is specifically for the V2 connector migration test, yet it re-uses the log message from the “light upgrade” target, which can confuse CI logs.

-	@echo "--> Starting light upgrade test (no ZetaChain state populating before upgrade)"
+	@echo "--> Starting V2 connector migration test (light upgrade, no pre-state)"

Consider also appending --skip-regular to E2E_ARGS (as done in other focused test targets) unless running the regular suite is intentional.

e2e/e2etests/helpers.go (1)

41-57: Helper should mark itself as testing helper

To keep stack traces clean, test helpers generally call t.Helper().
E2ERunner implements the required methods, so you can signal Testify to skip this frame:

 func requireCctxStatus(
 	r *runner.E2ERunner,
 	expectedStatus crosschaintypes.CctxStatus,
 	cctx *crosschaintypes.CrossChainTx,
 ) {
+	r.Helper() // mark helper
 	if expectedStatus == cctx.CctxStatus.Status {
 		return
 	}

(If E2ERunner does not yet expose Helper(), add a trivial func (r *E2ERunner) Helper() {}.)

.github/workflows/e2e.yml (1)

128-130: Missing final newline triggers YAML-lint warning

yamllint complains about “no new line character at the end of file”.
Add a single \n after the last line to silence the linter and avoid tooling noise.

e2e/e2etests/test_v2_zeta_deposit.go (1)

33-35: Left-over TODO comment

The explanatory comment is fine, but spelling/spacing is off and the link is already present in the commit message. Tighten it or remove to keep the file crisp.

e2e/runner/setup_evm.go (1)

107-108: Duplicate receipt check – second call is redundant

txCustody is already checked for success at line 80.
The second invocation at lines 107-108 is a no-op that adds noise and can be safely removed.

-	ensureTxReceipt(txCustody, "ERC20Custody deployment failed")
cmd/zetae2e/local/local.go (1)

576-592: Graceful failure path missing context cancellation

On migration-test failure the process exits immediately (os.Exit(1)), but the surrounding goroutines (block-monitor, stress tests, etc.) keep running until forcibly killed.
Invoke deployerRunner.CtxCancel(err) before os.Exit to release resources and have a single shutdown path.

-			logger.Print("❌ %v", err)
-			logger.Print("❌ v2 connector migration failed")
-			os.Exit(1)
+			deployerRunner.CtxCancel(err)
+			logger.Print("❌ %v", err)
+			logger.Print("❌ v2 connector migration failed")
+			os.Exit(1)
e2e/e2etests/test_migrate_connector_funds.go (1)

103-119: Dead code – updateChainParams is never invoked

The helper is defined but not used; retaining it adds cognitive overhead.
Either remove it or call it after a successful migration.

-// updateChainParams updates the chain parameters to use the new connector address
-func updateChainParams(…)
-
-}
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0d69ef1 and 18ef52f.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (24)
  • .github/workflows/e2e.yml (5 hunks)
  • Makefile (2 hunks)
  • changelog.md (1 hunks)
  • cmd/zetae2e/config/config.go (1 hunks)
  • cmd/zetae2e/config/contracts.go (2 hunks)
  • cmd/zetae2e/local/local.go (4 hunks)
  • contrib/localnet/docker-compose.yml (2 hunks)
  • contrib/rpctest/main.go (1 hunks)
  • e2e/config/config.go (1 hunks)
  • e2e/e2etests/e2etests.go (4 hunks)
  • e2e/e2etests/helpers.go (2 hunks)
  • e2e/e2etests/test_erc20_withdraw_and_call_revert_with_call.go (1 hunks)
  • e2e/e2etests/test_migrate_connector_funds.go (1 hunks)
  • e2e/e2etests/test_v2_zeta_deposit.go (1 hunks)
  • e2e/runner/evm.go (2 hunks)
  • e2e/runner/legacy_setup_evm.go (1 hunks)
  • e2e/runner/legacy_zevm.go (2 hunks)
  • e2e/runner/runner.go (2 hunks)
  • e2e/runner/setup_evm.go (3 hunks)
  • go.mod (2 hunks)
  • pkg/constant/constant.go (0 hunks)
  • x/crosschain/keeper/cctx_orchestrator_validate_outbound.go (2 hunks)
  • x/fungible/keeper/evm_gateway.go (1 hunks)
  • zetaclient/chains/evm/observer/v2_inbound.go (1 hunks)
💤 Files with no reviewable changes (1)
  • pkg/constant/constant.go
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.go`: Review the Go code, point out issues relative to principles of clean code, expressiveness, and performance.

**/*.go: Review the Go code, point out issues relative to principles of clean code, expressiveness, and performance.

  • contrib/rpctest/main.go
  • cmd/zetae2e/config/config.go
  • e2e/runner/legacy_setup_evm.go
  • zetaclient/chains/evm/observer/v2_inbound.go
  • e2e/e2etests/test_erc20_withdraw_and_call_revert_with_call.go
  • e2e/config/config.go
  • x/fungible/keeper/evm_gateway.go
  • e2e/runner/legacy_zevm.go
  • e2e/e2etests/helpers.go
  • cmd/zetae2e/config/contracts.go
  • e2e/e2etests/test_v2_zeta_deposit.go
  • cmd/zetae2e/local/local.go
  • e2e/runner/runner.go
  • e2e/runner/setup_evm.go
  • e2e/runner/evm.go
  • x/crosschain/keeper/cctx_orchestrator_validate_outbound.go
  • e2e/e2etests/e2etests.go
  • e2e/e2etests/test_migrate_connector_funds.go
🧬 Code Graph Analysis (6)
cmd/zetae2e/config/config.go (1)
e2e/config/config.go (3)
  • Contracts (128-134)
  • EVM (168-178)
  • DoubleQuotedString (27-27)
e2e/e2etests/helpers.go (2)
e2e/runner/runner.go (1)
  • E2ERunner (81-213)
testutil/sample/crosschain.go (1)
  • CrossChainTx (266-280)
cmd/zetae2e/config/contracts.go (1)
e2e/config/config.go (2)
  • Contracts (128-134)
  • EVM (168-178)
e2e/e2etests/test_v2_zeta_deposit.go (3)
e2e/runner/runner.go (1)
  • E2ERunner (81-213)
e2e/utils/parsing.go (1)
  • ParseBigInt (27-32)
e2e/utils/zetacore.go (1)
  • WaitCctxMinedByInboundHash (53-65)
cmd/zetae2e/local/local.go (1)
e2e/e2etests/e2etests.go (2)
  • TestMigrateConnectorFundsName (203-203)
  • TestLegacyZetaDepositName (261-261)
e2e/e2etests/e2etests.go (3)
e2e/runner/e2etest.go (2)
  • NewE2ETest (41-58)
  • ArgDefinition (88-91)
e2e/e2etests/test_v2_zeta_deposit.go (1)
  • TestV2ZetaDeposit (14-35)
e2e/e2etests/test_migrate_connector_funds.go (1)
  • TestMigrateConnectorFunds (17-35)
🪛 YAMLlint (1.37.1)
.github/workflows/e2e.yml

[error] 389-389: no new line character at the end of file

(new-line-at-end-of-file)

🔇 Additional comments (12)
contrib/rpctest/main.go (1)

20-21: Consistent import style – looks good

Dropping the explicit alias in favour of the package’s own name keeps imports uniform and removes an unnecessary indirection. No further action required.

zetaclient/chains/evm/observer/v2_inbound.go (1)

176-181: Comment removal OK

Behaviour is unchanged; coinType is still resolved correctly based on event.Asset.

e2e/runner/legacy_setup_evm.go (1)

11-12: Alias dropped – clean import

Matching the package’s declared name (zetaeth) eliminates redundant aliasing and keeps usage intact.

e2e/e2etests/test_erc20_withdraw_and_call_revert_with_call.go (1)

43-43: Refactor aligns tests – nice consolidation

Switching to requireCctxStatus centralises status assertions and improves readability/re-use across tests. No issues spotted.

cmd/zetae2e/config/config.go (1)

78-80: Symmetry check: make sure setContractsFromConfig populates the runner

You export ConnectorNativeAddr here, but the inverse path (setContractsFromConfig) must also assign r.ConnectorNativeAddr when the runner is initialised from an existing config. Otherwise, subsequent tests that rely on the address will receive a zero address and silently mis-behave.
Please verify that file includes:

r.ConnectorNativeAddr, _ = conf.Contracts.EVM.ConnectorNativeAddr.AsEVMAddress()

and that contract bindings are initialised accordingly.

contrib/localnet/docker-compose.yml (1)

71-76: Profiles broadened – no blocking concerns

Adding the all profile to extra validator / client services is harmless and improves composability of docker-compose invocations. Ports, volumes and health-checks remain unchanged, so nothing else to flag.

Also applies to: 89-94, 181-182, 198-199

x/crosschain/keeper/cctx_orchestrator_validate_outbound.go (1)

240-241: 👍 Better error propagation

Passing the actual err into the JSON error message and clarifying the wrap text greatly improves observability. No further action required.

Also applies to: 433-434

cmd/zetae2e/config/contracts.go (1)

170-179: ConnectorNative wiring looks solid

The new ConnectorNative address parsing and contract binding are consistent with the existing pattern used for the other EVM contracts. Nothing to flag here.

e2e/e2etests/e2etests.go (2)

285-295: v2_zeta_deposit test is always registered despite the “not-used” comment

The block is commented as not used yet the test is still inserted into AllE2ETests.
If the protocol logic is indeed incomplete, registering it un-conditionally will cause CI failures once the test is selected by any target (e.g. default-test).

Consider one of:

- runner.NewE2ETest(
+ // TODO: enable once protocol supports ZETA in V2
+ /*runner.NewE2ETest(- ),
+ ),*/

or gate it behind runner.WithMinimumVersion(...) / a dedicated label.


1412-1417: Connector-funds migration test added

Looks good and follows the existing admin-test pattern. No issues spotted.

e2e/runner/evm.go (1)

100-116: ZETADeposit: good addition

The ZETA token address sanity-check is a nice touch; implementation mirrors ERC20 deposit flow.

e2e/e2etests/test_migrate_connector_funds.go (1)

55-57: Typo in comment

messaagemessage.

@kingpinXD kingpinXD self-assigned this Jun 18, 2025
@kingpinXD kingpinXD added UPGRADE_TESTS Run make start-upgrade-tests ADMIN_TESTS Run make start-admin-tests labels Jun 18, 2025
@kingpinXD kingpinXD requested a review from lumtis June 18, 2025 02:19
Copy link
Contributor

@lumtis lumtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be good @s2imonovic you have a look at this one

Copy link
Member

@s2imonovic s2imonovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@kingpinXD kingpinXD added this pull request to the merge queue Jun 19, 2025
@github-actions github-actions bot added the MERGE_FAILED Merge Queue CI failed label Jun 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 19, 2025
@kingpinXD kingpinXD added this pull request to the merge queue Jun 19, 2025
Merged via the queue into develop with commit 13d2a28 Jun 19, 2025
48 checks passed
@kingpinXD kingpinXD deleted the connector-v2-migration-contract-only branch June 19, 2025 17:43
lumtis pushed a commit that referenced this pull request Jul 2, 2025
* update go mod

* add a new message for migrating funds

* add migrate funds to e2e

* rebase from develop

* add v2 e2e test to check flow

* add zeta gateway deposit to zetaclient

* add github workflow

* update comments

* fix code formating

* fix code formating

* fix code formating

* fix unit tests

* fix unit tests

* revert to old command to start e2e test

* remove message for migration and refactor to using contract directly

* add changelog

* generate files after removing new message

* update generated files

* update generated files

* resolve comments 1

* remove v2 from naming

* generate files
github-merge-queue bot pushed a commit that referenced this pull request Jul 9, 2025
* add empty test dapp

* add test

* generate

* update gomod

* fix imports

* smaller message

* fix size

* ci: generate TypeScript types (#3978)

* test: lower Bitcoin E2E deposit tx fee to make nightly test cheaper (#3989)

lower Bitcoin E2E deposit test tx fee

* test: add connector fund migration e2e test using contracts only  (#3976)

* update go mod

* add a new message for migrating funds

* add migrate funds to e2e

* rebase from develop

* add v2 e2e test to check flow

* add zeta gateway deposit to zetaclient

* add github workflow

* update comments

* fix code formating

* fix code formating

* fix code formating

* fix unit tests

* fix unit tests

* revert to old command to start e2e test

* remove message for migration and refactor to using contract directly

* add changelog

* generate files after removing new message

* update generated files

* update generated files

* resolve comments 1

* remove v2 from naming

* generate files

* chore: fix some comments (#3993)

Signed-off-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>

* feat(ton): integrate new functionality (#3977)

* Add ton.call operation

* vote inbound call

* update ton's gateway code

* e2e: ton_to_zevm_call

* Add increaseSeqno parsing

* ton: signer: increase_seqno integration

* ton: observer: increase_seqno integration

* Fix bugs. E2E for increase_seqno

* Update changelog

* Address PR comments

* Simplify inbound voting

* outbounds: validate nonce & simplify code

* bump gw

* refactor: update generated files (#4000)

update generated files

* ci: run simualtion tests nightly (#3999)

* update sim.yml

* add changelog

* update generated files

* generate

* add test for deposit with big payload

* generate

* update contract version

* try removing test

* fix wrong method called

* remove redundant log

* generate

* add version condition

---------

Signed-off-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>
Co-authored-by: Denis Fadeev <denis@fadeev.org>
Co-authored-by: Charlie Chen <34498985+ws4charlie@users.noreply.github.com>
Co-authored-by: Tanmay <tanmay@zetachain.com>
Co-authored-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>
Co-authored-by: Dmitry S <11892559+swift1337@users.noreply.github.com>
@coderabbitai coderabbitai bot mentioned this pull request Sep 8, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ADMIN_TESTS Run make start-admin-tests breaking:cli ci Changes to CI pipeline or github actions MERGE_FAILED Merge Queue CI failed UPGRADE_TESTS Run make start-upgrade-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a ZETAConnector migration E2E test

4 participants