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

Beta & RC Testing Ops #9129

Closed
2 tasks
clevinson opened this issue Apr 16, 2021 · 1 comment
Closed
2 tasks

Beta & RC Testing Ops #9129

clevinson opened this issue Apr 16, 2021 · 1 comment

Comments

@clevinson
Copy link
Contributor

clevinson commented Apr 16, 2021

Some pieces we should add for smoother testing of SDK upgrades:

  • A) devnets running in CI that can be used for functional testing. Add devnets in CI #9183
  • B) scripts for taking a live chain and performing upgrade migration testing with minute-long voting period. Story Points: 34

B) migration test script

The migration test script basically needs to:

  • take an exported genesis from a live chain
  • change the chain-id
  • change the validator set and staking power to run with 1+ test nodes
  • change the voting period to a short time (minutes rather than weeks)
  • spin up a local network on a single machine with each node running the old binary + cosmovisor provisioned with the new binary
  • run an upgrade proposal
  • run some functional tests after the nodes upgrade with cosmovisor. This may need to be done manually...

This script probably can't be run in CI because of the need to have an exported genesis from a full node and two different binaries. So we need manual testing for this.

@jackzampolin
Copy link
Member

@clevinson I think we can spin up make localnet-start in a GH actions environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants