Replace duplicated whitelist with whitelisted_storage_keys#7024
Merged
bkchr merged 5 commits intoparitytech:masterfrom Jan 3, 2025
Merged
Replace duplicated whitelist with whitelisted_storage_keys#7024bkchr merged 5 commits intoparitytech:masterfrom
bkchr merged 5 commits intoparitytech:masterfrom
Conversation
qiweiii
commented
Jan 1, 2025
bkchr
approved these changes
Jan 1, 2025
Member
|
@qiweiii it doesn't compile. I think you forgot to import the trait. |
auto-merge was automatically disabled
January 3, 2025 12:58
Head branch was pushed to by a user without write access
Contributor
|
Review required! Latest push from author must always be reviewed |
seadanda
reviewed
Jan 3, 2025
| //TODO: use from relay_well_known_keys::ACTIVE_CONFIG | ||
| hex_literal::hex!("06de3d8a54d27e44a9d5ce189618f22db4b49d95320d9021994c850f25b8e385").to_vec().into(), | ||
| ]; | ||
| use frame_support::traits::WhitelistedStorageKeys; |
Contributor
There was a problem hiding this comment.
This should go at the head of the file with the other use statements
Member
There was a problem hiding this comment.
No. This here is guarded by the runtime-benchmarks feature and we have here multiple imports.
ggwpez
approved these changes
Jan 3, 2025
bkchr
approved these changes
Jan 3, 2025
dudo50
pushed a commit
to paraspell-research/polkadot-sdk
that referenced
this pull request
Jan 4, 2025
…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]>
ordian
added a commit
that referenced
this pull request
Jan 7, 2025
* master: (256 commits) fix chunk fetching network compatibility zombienet test (#6988) chore: delete repeat words (#7034) Print taplo version in CI (#7041) Implement cumulus StorageWeightReclaim as wrapping transaction extension + frame system ReclaimWeight (#6140) Make `TransactionExtension` tuple of tuple transparent for implication (#7028) Replace duplicated whitelist with whitelisted_storage_keys (#7024) [WIP] Fix networking-benchmarks (#7036) [docs] Fix release naming (#7032) migrate pallet-mixnet to umbrella crate (#6986) Improve remote externalities logging (#7021) Fix polkadot sdk doc. (#7022) Remove warning log from frame-omni-bencher CLI (#7020) [pallet-revive] fix file case (#6981) Add workflow for networking benchmarks (#7029) [CI] Skip SemVer on R0-silent and update docs (#6285) correct path in cumulus README (#7001) sync: Send already connected peers to new subscribers (#7011) Excluding chainlink domain for link checker CI (#6524) pallet-bounties: Fix benchmarks for 0 ED (#7013) Log peerset set ID -> protocol name mapping (#7005) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
related issue: #7018
replaced duplicated whitelists with
AllPalletsWithSystem::whitelisted_storage_keys();in this PR