Skip to content

Replace duplicated whitelist with whitelisted_storage_keys#7024

Merged
bkchr merged 5 commits intoparitytech:masterfrom
qiweiii:fix-whitelist-storage-key
Jan 3, 2025
Merged

Replace duplicated whitelist with whitelisted_storage_keys#7024
bkchr merged 5 commits intoparitytech:masterfrom
qiweiii:fix-whitelist-storage-key

Conversation

@qiweiii
Copy link
Copy Markdown
Contributor

@qiweiii qiweiii commented Jan 1, 2025

related issue: #7018

replaced duplicated whitelists with AllPalletsWithSystem::whitelisted_storage_keys(); in this PR

@bkchr bkchr added the R0-no-crate-publish-required The change does not require any crates to be re-published. label Jan 1, 2025
@bkchr bkchr requested a review from gui1117 January 1, 2025 21:14
Copy link
Copy Markdown
Contributor

@gui1117 gui1117 left a comment

Choose a reason for hiding this comment

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

Thank you

@bkchr bkchr enabled auto-merge January 3, 2025 09:07
@bkchr
Copy link
Copy Markdown
Member

bkchr commented Jan 3, 2025

@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

@github-actions github-actions bot requested review from bkchr and gui1117 January 3, 2025 12:59
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 3, 2025

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;
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Member

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.

@bkchr bkchr enabled auto-merge January 3, 2025 21:48
@bkchr bkchr added this pull request to the merge queue Jan 3, 2025
Merged via the queue into paritytech:master with commit 0b4f131 Jan 3, 2025
@qiweiii qiweiii deleted the fix-whitelist-storage-key branch January 4, 2025 00:19
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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants