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

Add migrations prelude to frame umbrella crate #7119

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

PolkadotDom
Copy link
Contributor

I noticed that we don't yet have a migrations prelude, which felt prudent; This PR adds that. In addition, it also shuffles the try_runtime prelude into both the testing and migrations prelude, as it seemed it would be unclear where to source the try_runtime types from with the redundancy introduced by the migrations prelude. Also small update to multisig pallet to use new prelude.

@re-gius

@PolkadotDom PolkadotDom requested a review from a team as a code owner January 11, 2025 18:19
@@ -242,11 +244,6 @@ pub mod prelude {
};
}

#[cfg(any(feature = "try-runtime", test))]
pub mod try_runtime {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bit unsure if this is better removed or nested under testing and migrations prelude as I'm not familiar with Frame usage patterns in their totality. Thoughts appreciated 🙏

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.

1 participant