-
Notifications
You must be signed in to change notification settings - Fork 766
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
Migrate pallet-mmr to umbrella crate #7081
base: master
Are you sure you want to change the base?
Conversation
.gitignore
Outdated
@@ -41,3 +41,5 @@ substrate.code-workspace | |||
target/ | |||
*.scale | |||
justfile | |||
python-venv | |||
.zed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit obscure, maybe add .zed
file to your global gitignore configuration?
.zed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
frame-benchmarking = { optional = true, workspace = true } | ||
frame-support = { workspace = true } | ||
frame-system = { workspace = true } | ||
frame = { workspace = true, features = ["experimental", "runtime"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the experimental
feature for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just follow other PRs. Yeah, it's a bit confusing, it won't compile after removing the feature.
polkadot-sdk git:(migrate-pallet-mmr) ✗ cargo check -p pallet-mmr
...
error[E0433]: failed to resolve: could not find `deps` in `frame`
--> substrate/frame/merkle-mountain-range/src/lib.rs:65:2
|
65 | deps::sp_mmr_primitives::{
| ^^^^ could not find `deps` in `frame`
...
68 | prelude::*,
| ^^^^^^^ could not find `prelude` in `frame`
...
Same concern in #6504 (comment)
deps::sp_mmr_primitives::{ | ||
self as primitives, utils, utils::NodesUtils, Error, LeafDataProvider, LeafIndex, NodeIndex, | ||
}, | ||
prelude::*, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be exported publicly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of #6504