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: try-runtime loop #4267

Merged
merged 7 commits into from Nov 21, 2023
Merged

feat: try-runtime loop #4267

merged 7 commits into from Nov 21, 2023

Conversation

kylezs
Copy link
Contributor

@kylezs kylezs commented Nov 21, 2023

Pull Request

Part one of: PRO-956

  • Will include in the upgrade tool next, this is useful as is, so thought I'd get this out now. Small PRs etc.

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

Provides an easy way to test migrations more thoroughly. This currently just uses live which might be quite slow for non-localnets, but we can optimise this later to use snapshots. Being able to start a localnet run bouncer and then test the migration for all the blocks super simply is already quite powerful.

Will also look at including something in CI.

@kylezs kylezs enabled auto-merge (squash) November 21, 2023 12:38
@kylezs kylezs merged commit d56e28d into main Nov 21, 2023
39 checks passed
@kylezs kylezs deleted the feat/try-runtime-check-localnet branch November 21, 2023 12:48
msgmaxim pushed a commit that referenced this pull request Nov 21, 2023
* chore: remove stale comment

* feat: try-runtime command

* feat: last N and all

* doc: add doc for try_runtime_upgrade command

* chore: linting

* fix: use correct starting number

* doc: fix the docs
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.

None yet

2 participants