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

Fix whitelisted keys in benchmarks #525

Merged

Conversation

gui1117
Copy link
Contributor

@gui1117 gui1117 commented Jan 3, 2025

Currently whitelisted keys are manually set in dispatch_benchmark. Actually pallet already declare the whitelisted keys, and it is missing many whitelist.

in asset hub the key relay_well_known_keys::ACTIVE_CONFIG is no longer whitelisted. It is actually only used in the relay chain pallet configuration, and this pallet would whitelist the key if it was used. But asset hub doesn't use this pallet, so it doesn't need to whitelist the key.

This PR will improve the benchmark precision, lower the cost of some calls.

CHANGELOG.md Show resolved Hide resolved
Co-authored-by: Bastian Köcher <git@kchr.de>
@github-actions github-actions bot requested review from acatangiu and bkchr January 3, 2025 10:04
Copy link

github-actions bot commented Jan 3, 2025

Review required! Latest push from author must always be reviewed

@bkchr
Copy link
Contributor

bkchr commented Jan 3, 2025

/merge

@fellowship-merge-bot fellowship-merge-bot bot merged commit 685bfba into polkadot-fellows:main Jan 3, 2025
48 of 51 checks passed
@fellowship-merge-bot
Copy link
Contributor

Enabled auto-merge in Pull Request

Available commands
  • /merge: Enables auto-merge for Pull Request
  • /merge cancel: Cancels auto-merge for Pull Request
  • /merge help: Shows this menu

For more information see the documentation

@gui1117 gui1117 deleted the gui-fix-whitelisted-keys branch January 4, 2025 00:52
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.

4 participants