diff --git a/evm-template/runtime/Cargo.toml b/evm-template/runtime/Cargo.toml index d7f9bd5..fb53086 100644 --- a/evm-template/runtime/Cargo.toml +++ b/evm-template/runtime/Cargo.toml @@ -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" ] diff --git a/generic-template/runtime/Cargo.toml b/generic-template/runtime/Cargo.toml index e76742f..e6d3be4 100644 --- a/generic-template/runtime/Cargo.toml +++ b/generic-template/runtime/Cargo.toml @@ -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" ]