-
Notifications
You must be signed in to change notification settings - Fork 754
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
Replace duplicated whitelist with whitelisted_storage_keys #7024
Conversation
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.
Thank you
@qiweiii it doesn't compile. I think you forgot to import the trait. |
Head branch was pushed to by a user without write access
Review required! Latest push from author must always be reviewed |
//TODO: use from relay_well_known_keys::ACTIVE_CONFIG | ||
hex_literal::hex!("06de3d8a54d27e44a9d5ce189618f22db4b49d95320d9021994c850f25b8e385").to_vec().into(), | ||
]; | ||
use frame_support::traits::WhitelistedStorageKeys; |
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 go at the head of the file with the other use
statements
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.
No. This here is guarded by the runtime-benchmarks
feature and we have here multiple imports.
0b4f131
…h#7024) related issue: paritytech#7018 replaced duplicated whitelists with `AllPalletsWithSystem::whitelisted_storage_keys();` in this PR --------- Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
related issue: #7018
replaced duplicated whitelists with
AllPalletsWithSystem::whitelisted_storage_keys();
in this PR