disable logging for release builds (#213)

This commit is contained in:
Amar Singh
2024-06-13 10:27:54 -04:00
committed by GitHub
parent f856d5f78e
commit 4a36fcd567
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -251,3 +251,7 @@ try-runtime = [
]
experimental = [ "pallet-aura/experimental" ]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = [ "sp-api/disable-logging" ]
+4
View File
@@ -224,3 +224,7 @@ try-runtime = [
]
experimental = [ "pallet-aura/experimental" ]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = [ "sp-api/disable-logging" ]