diff --git a/pallets/gas-transaction-payment/Cargo.toml b/pallets/gas-transaction-payment/Cargo.toml index 21540d6..bead536 100644 --- a/pallets/gas-transaction-payment/Cargo.toml +++ b/pallets/gas-transaction-payment/Cargo.toml @@ -26,6 +26,15 @@ sp-io = {workspace = true} [features] default = ["std"] +runtime-benchmarks=[ + "fc-traits-gas-tank/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-transaction-payment/runtime-benchmarks", + "pallet-utility/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ "codec/std", "fc-traits-gas-tank/std", diff --git a/pallets/pass/src/lib.rs b/pallets/pass/src/lib.rs index ff6a078..53eafbc 100644 --- a/pallets/pass/src/lib.rs +++ b/pallets/pass/src/lib.rs @@ -150,9 +150,6 @@ pub mod pallet { } #[pallet::call_index(3)] - // #[pallet::feeless_if( - // |_: &OriginFor, _: &DeviceId, _: &CredentialOf, _: &Option>| true - // )] pub fn authenticate( origin: OriginFor, device_id: DeviceId, diff --git a/traits/gas-tank/Cargo.toml b/traits/gas-tank/Cargo.toml index 67a3d26..c49d421 100644 --- a/traits/gas-tank/Cargo.toml +++ b/traits/gas-tank/Cargo.toml @@ -20,6 +20,13 @@ sp-io.workspace = true [features] default = ["std"] +runtime-benchmarks=[ + "pallet-balances/runtime-benchmarks", + "pallet-nfts/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ "codec/std", "pallet-balances/std",