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

Light Client integration testing with Cosmos Hub #846

Open
thanethomson opened this issue Mar 26, 2021 · 0 comments
Open

Light Client integration testing with Cosmos Hub #846

thanethomson opened this issue Mar 26, 2021 · 0 comments
Labels
ci Related to continuous integration enhancement New feature or request light-client Issues/features which involve the light client light-node

Comments

@thanethomson
Copy link
Member

thanethomson commented Mar 26, 2021

We should be automatically testing the Light Client against a live network on a regular basis, and it probably makes the most sense to test against the Cosmos Hub.

To do this we have 2 options:

  1. Run a daily scheduled job in CI to test the Light Node against the Hub. This could start at some arbitrary height and sync up to the latest.
  2. Run a long-running process somewhere that continuously synchronizes with multiple validators across the Hub.

Option (2) starts leaning more towards running a "production" Light Client that's continuously checking for evidence of malfeasance, so it's probably not the best course of action to address our immediate concerns, but is definitely something we should investigate.

As such, option (1) would probably be the best course of action here.

Both options will effectively act as integration tests for #834 and #842.

What's the definition of "done" for this issue?

When we have a daily scheduled job running the Light Client in some form (e.g. the Light Node) against the Cosmos Hub, sync'ing from some arbitrary height (perhaps the latest minus 20 blocks?) up to the latest block.

@thanethomson thanethomson added enhancement New feature or request light-client Issues/features which involve the light client ci Related to continuous integration light-node labels Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Related to continuous integration enhancement New feature or request light-client Issues/features which involve the light client light-node
Projects
None yet
Development

No branches or pull requests

1 participant