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

[FRAME] Warn when using default SubstrateWeights in production #3581

Open
ggwpez opened this issue Mar 5, 2024 · 0 comments
Open

[FRAME] Warn when using default SubstrateWeights in production #3581

ggwpez opened this issue Mar 5, 2024 · 0 comments

Comments

@ggwpez
Copy link
Member

ggwpez commented Mar 5, 2024

We can probably come up with a cfg clause to add a deprecation to the auto-generated SubstrateWeights to prevent them from accidentally being used in production.
Either by using production profile, on-chain-release-build, std or similar.

Idea came up here.

@kianenigma kianenigma added C1-mentor A task where a mentor is available. Please indicate in the issue who the mentor could be. and removed C1-mentor A task where a mentor is available. Please indicate in the issue who the mentor could be. labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Draft
Development

No branches or pull requests

2 participants