-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Replace duplicated whitelist with whitelisted_storage_keys #7024
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
Changes from all commits
96aefb8
70d9ce4
413d877
60489e5
a5431d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1854,20 +1854,8 @@ impl_runtime_apis! { | |
|
|
||
| type ToWestend = XcmBridgeHubRouterBench<Runtime, ToWestendXcmRouterInstance>; | ||
|
|
||
| let whitelist: Vec<TrackedStorageKey> = vec![ | ||
| // Block Number | ||
| hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(), | ||
| // Total Issuance | ||
| hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80").to_vec().into(), | ||
| // Execution Phase | ||
| hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(), | ||
| // Event Count | ||
| hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(), | ||
| // System Events | ||
| hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(), | ||
| //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. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should go at the head of the file with the other
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No. This here is guarded by the |
||
| let whitelist: Vec<TrackedStorageKey> = AllPalletsWithSystem::whitelisted_storage_keys(); | ||
|
|
||
| let mut batches = Vec::<BenchmarkBatch>::new(); | ||
| let params = (&config, &whitelist); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.