Skip to content
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

feat: cache frequently used storage #1012

Draft
wants to merge 2 commits into
base: polkadot-stable2409
Choose a base branch
from

Conversation

jak-pan
Copy link
Contributor

@jak-pan jak-pan commented Jan 31, 2025

No description provided.

@jak-pan jak-pan changed the title initial cache feat: cache frequently used storage Jan 31, 2025
Copy link

Crate versions that have not been updated:

  • pallet-asset-registry: v3.3.1
  • pallet-broadcast: v1.0.1
  • pallet-dca: v1.8.1
  • pallet-ema-oracle: v1.3.5
  • pallet-omnipool: v4.5.2
  • pallet-otc: v2.1.1
  • pallet-route-executor: v2.7.1
  • hydradx-runtime: v283.0.0

Runtime version has not been increased.

let whitelist: Vec<TrackedStorageKey> = vec![
use frame_support::traits::WhitelistedStorageKeys;
let mut whitelisted_storage = AllPalletsWithSystem::whitelisted_storage_keys();
let mut whitelist: Vec<TrackedStorageKey> = vec![
Copy link
Contributor

Choose a reason for hiding this comment

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

@jak-pan jak-pan marked this pull request as draft February 4, 2025 06:59
@dmoka
Copy link
Contributor

dmoka commented Feb 5, 2025

I guess then we can close this PR?! As I am using the whitelist in broadcast pallet, and also adding all whitelisted ones in the runtime, in this PR: #1014

@jak-pan
Copy link
Contributor Author

jak-pan commented Feb 5, 2025

I guess then we can close this PR?! As I am using the whitelist in broadcast pallet, and also adding all whitelisted ones in the runtime, in this PR: #1014

No if you check this is trying to do something completely different

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants