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

Set up code migration tests #193

Open
3 tasks
stiiifff opened this issue Apr 5, 2024 · 1 comment
Open
3 tasks

Set up code migration tests #193

stiiifff opened this issue Apr 5, 2024 · 1 comment

Comments

@stiiifff
Copy link
Contributor

stiiifff commented Apr 5, 2024

Quoting original issue #180 :

Set up tests to simulate hypothetical situations where code migration would be needed to recover the funds from any
contract. this will likely involve extending contracts with a new method that would recover the funds to a specified address, migrating the contract, and asserting that everything goes well.

Closing criteria (applies per contract):

  • unit tests for migrations
  • mainnet test for migration
  • local interchain test for migration (nice to have)
@bekauz
Copy link
Collaborator

bekauz commented May 5, 2024

this branch contains our latest release contracts with an additional RecoverFunds { denoms: Vec<String> } execute msg variant.

with that branch we can deploy both pre- and post-migration contracts, perform the code migrations, and execute the newly added methods in our unit tests.

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

No branches or pull requests

2 participants