Skip to content

Commit

Permalink
change: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Oct 7, 2024
1 parent 1b1d41d commit 9762f7b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions pallets/gas-transaction-payment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ 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-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
std = [
"codec/std",
"fc-traits-gas-tank/std",
Expand Down
3 changes: 0 additions & 3 deletions pallets/pass/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,6 @@ pub mod pallet {
}

#[pallet::call_index(3)]
// #[pallet::feeless_if(
// |_: &OriginFor<T>, _: &DeviceId, _: &CredentialOf<T, I>, _: &Option<BlockNumberFor<T>>| true
// )]
pub fn authenticate(
origin: OriginFor<T>,
device_id: DeviceId,
Expand Down
7 changes: 7 additions & 0 deletions traits/gas-tank/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9762f7b

Please sign in to comment.