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

Feat: software upgrade via chain manager [NTRN-400] #352

Merged
merged 4 commits into from
Sep 18, 2024

Conversation

sotnikov-s
Copy link
Contributor

@sotnikov-s sotnikov-s commented Sep 17, 2024

task

https://hadronlabs.atlassian.net/browse/NTRN-400

this PR

  • adds tests for both MsgSoftwareUpgrade and MsgCancelSoftwareUpgrade adminmodule messages being sent via respestive introduced chain manager strategies;
  • refactors the cron MsgAddSchedule and MsgRemoveSchedule tests so they don't have SubDAO involved but an ordinary account. Decided to do that when handled accidentally failing add schedule test with a totally uninformative and untraceable error expected executed, got execution_failed on AddSchedule SubDAO proposal execution to 1) get rid of poor error; 2) speed the tests up (interaction with chain manager from an ordinary account is much faster than from the SubDAO). Viewing and understanding the cron-related diff will be much easier if you first check out the way the upgrade-related tests are written because the new cron-related tests are written the same way.

related PRs:

…ts into feat/software-upgrade-via-chain-manager
@sotnikov-s sotnikov-s changed the title Feat: software upgrade via chain manager Feat: software upgrade via chain manager [NTRN-400] Sep 17, 2024
@sotnikov-s sotnikov-s marked this pull request as ready for review September 17, 2024 19:29
@sotnikov-s
Copy link
Contributor Author

Copy link
Collaborator

@pr0n00gler pr0n00gler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a small question

@pr0n00gler pr0n00gler merged commit 5580522 into main Sep 18, 2024
15 checks passed
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

Successfully merging this pull request may close these issues.

2 participants