Skip to content
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

Work on an admin E2E test to simulate adding a new chain and removing chain support #1896

Closed
Tracked by #1720
lumtis opened this issue Mar 14, 2024 · 0 comments · Fixed by #1900
Closed
Tracked by #1720

Work on an admin E2E test to simulate adding a new chain and removing chain support #1896

lumtis opened this issue Mar 14, 2024 · 0 comments · Fixed by #1900
Assignees
Labels
E2E E2E tests related

Comments

@lumtis
Copy link
Member

lumtis commented Mar 14, 2024

Describe the Issue
In anticipation to Sepolia support, we should replicate the situation where a new chain is added and another one is removed.

The E2E test should be part of the admin test suite and test the following:

  • Setup the whole environment with 2 EVM chain
  • Interact with an chain 1
  • Deploy contract on chain 2
  • Add chain params for chain 2
  • Deploy gas token for chain 2
  • Deploy ERC20 for chain 2
  • Enable chain supported in chain params
  • Restart ZetaClient
  • Try deposit/withdraw with gas, erc20 and Zeta
  • Toggle IsSupported for chain for support to be removed
  • Check cctx are no longer available

Requirement:

  • Ability to setup a second chain in the E2E test
@lumtis lumtis added the E2E E2E tests related label Mar 14, 2024
@lumtis lumtis self-assigned this Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E E2E tests related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant