[FRAME] Warn when using default SubstrateWeights
in production
#3581
Labels
C1-mentor
A task where a mentor is available. Please indicate in the issue who the mentor could be.
C2-good-first-issue
A task for a first time contributor to become familiar with the Polkadot-SDK.
We can probably come up with a
cfg
clause to add adeprecation
to the auto-generatedSubstrateWeights
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.
The text was updated successfully, but these errors were encountered: