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

Add ability to disable ZetaClient functionality at run time #3186

Open
lumtis opened this issue Nov 19, 2024 · 0 comments
Open

Add ability to disable ZetaClient functionality at run time #3186

lumtis opened this issue Nov 19, 2024 · 0 comments
Labels
zetaclient Issues related to ZetaClient

Comments

@lumtis
Copy link
Member

lumtis commented Nov 19, 2024

Describe the Issue

The following PR introduces test for inbound trackers: #3179

To effectively test trackers, the observation should be disable, the current solution is to disable in the code observation logic with an early return.
This solution is not scalable and doesn't allow to test in the CI (at least properly)

We should be able to disable through config or so functionality such as inbound observation at runtime.

So the inbound tracker test can be integrated in the CI

  • start e2e test
  • disable inbound observation
  • run tracker test
  • resume inbound observation

This is one example but the solution could be generalized to all the different functionality:

  • inbound observation
  • outbound observation
  • TSS keysigning
  • RPC watcher

Overall this would enable developer new class of E2E reliability test by simulating network downtime, etc...

Example:

  • Disable inbound observation
  • Run a large number of deposit
  • Resume observation and check all deposit are observed
@lumtis lumtis added the zetaclient Issues related to ZetaClient label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zetaclient Issues related to ZetaClient
Projects
None yet
Development

No branches or pull requests

1 participant