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

automated test harness of upgrading Pismo to Vaults #7499

Closed
Tracked by #7491
turadg opened this issue Apr 24, 2023 · 1 comment
Closed
Tracked by #7491

automated test harness of upgrading Pismo to Vaults #7499

turadg opened this issue Apr 24, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request vaults_triage DO NOT USE

Comments

@turadg
Copy link
Member

turadg commented Apr 24, 2023

What is the Problem Being Solved?

Need a test harness for the process of bulldozing Pismo Swingset on a running chain and starting up Vaults with the same state .

Description of the Design

lightweight using this shell script - https://www.notion.so/agoric/Testing-Upgrades-b2e003b2121244508930d995ee2abd5c?pvs=4

  1. Start a new Pismo chain
  2. Do a handful of transactions to get state to preserve
  • Has to be all the state we care about checking
  • Provision wallets
  • Have Cosmos/vbank balances
  • Change governance parameters
  • EC purses with invitations (to make sure it doesn’t break anything when it’s no longer present)
  1. Swapping out the binary
  2. Do the upgrade
  3. Check that the state from transactions is still present
  • e..g provisioned wallets are restored
  1. Check EC restore
  • They can accept fresh invitations
  • Change parameters
  1. PSM functionality
  • Trade again. Vbank updates

Security Considerations

Scaling Considerations

Test Plan

@turadg turadg added the enhancement New feature or request label Apr 24, 2023
@ivanlei ivanlei added the vaults_triage DO NOT USE label Apr 27, 2023
@ivanlei ivanlei added this to the Vaults Validation milestone Apr 28, 2023
@turadg turadg changed the title automated test of upgrading Pismo to Vaults automated test harness of upgrading Pismo to Vaults May 8, 2023
@ivanlei
Copy link
Contributor

ivanlei commented May 10, 2023

With the framework in place, we'll track further test cases added to it as part of #7640

@ivanlei ivanlei closed this as completed May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vaults_triage DO NOT USE
Projects
None yet
Development

No branches or pull requests

3 participants