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

Consider getting rid of #[pallet::without_storage_info] #3727

Open
shamilsan opened this issue Feb 9, 2024 · 0 comments
Open

Consider getting rid of #[pallet::without_storage_info] #3727

shamilsan opened this issue Feb 9, 2024 · 0 comments
Assignees
Labels
C2-refactoring Refactoring proposal P4-consider Lowest priority

Comments

@shamilsan
Copy link
Contributor

File Location(s)

pallets/*

Proposal

According to the docs, using the #[pallet::without_storage_info] is not recommended.

Because the #[pallet::without_storage_info] macro applies to all storage items in your pallet, you should only use it in a test or development environment. You should never use the #[pallet::without_storage_info] attribute macro in a production environment.

https://docs.substrate.io/reference/frame-macros/#palletwithout_storage_info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C2-refactoring Refactoring proposal P4-consider Lowest priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants