Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed Jan 17, 2024
1 parent d9bef57 commit af8be43
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 36 deletions.
18 changes: 9 additions & 9 deletions runtime/crab/src/pallets/tx_pause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
use crate::*;

pub struct TxPauseWhitelistedCalls;
#[cfg(feature = "runtime-benchmarks")]
impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
for TxPauseWhitelistedCalls
{
fn contains(_: &pallet_tx_pause::RuntimeCallNameOf<Runtime>) -> bool {
false
}
}
#[cfg(not(feature = "runtime-benchmarks"))]
// #[cfg(feature = "runtime-benchmarks")]
// impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
// for TxPauseWhitelistedCalls
// {
// fn contains(_: &pallet_tx_pause::RuntimeCallNameOf<Runtime>) -> bool {
// false
// }
// }
// #[cfg(not(feature = "runtime-benchmarks"))]
impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
for TxPauseWhitelistedCalls
{
Expand Down
18 changes: 9 additions & 9 deletions runtime/darwinia/src/pallets/tx_pause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
use crate::*;

pub struct TxPauseWhitelistedCalls;
#[cfg(feature = "runtime-benchmarks")]
impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
for TxPauseWhitelistedCalls
{
fn contains(_: &pallet_tx_pause::RuntimeCallNameOf<Runtime>) -> bool {
false
}
}
#[cfg(not(feature = "runtime-benchmarks"))]
// #[cfg(feature = "runtime-benchmarks")]
// impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
// for TxPauseWhitelistedCalls
// {
// fn contains(_: &pallet_tx_pause::RuntimeCallNameOf<Runtime>) -> bool {
// false
// }
// }
// #[cfg(not(feature = "runtime-benchmarks"))]
impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
for TxPauseWhitelistedCalls
{
Expand Down
18 changes: 9 additions & 9 deletions runtime/pangolin/src/pallets/tx_pause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
use crate::*;

pub struct TxPauseWhitelistedCalls;
#[cfg(feature = "runtime-benchmarks")]
impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
for TxPauseWhitelistedCalls
{
fn contains(_: &pallet_tx_pause::RuntimeCallNameOf<Runtime>) -> bool {
false
}
}
#[cfg(not(feature = "runtime-benchmarks"))]
// #[cfg(feature = "runtime-benchmarks")]
// impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
// for TxPauseWhitelistedCalls
// {
// fn contains(_: &pallet_tx_pause::RuntimeCallNameOf<Runtime>) -> bool {
// false
// }
// }
// #[cfg(not(feature = "runtime-benchmarks"))]
impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
for TxPauseWhitelistedCalls
{
Expand Down
18 changes: 9 additions & 9 deletions runtime/pangoro/src/pallets/tx_pause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
use crate::*;

pub struct TxPauseWhitelistedCalls;
#[cfg(feature = "runtime-benchmarks")]
impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
for TxPauseWhitelistedCalls
{
fn contains(_: &pallet_tx_pause::RuntimeCallNameOf<Runtime>) -> bool {
false
}
}
#[cfg(not(feature = "runtime-benchmarks"))]
// #[cfg(feature = "runtime-benchmarks")]
// impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
// for TxPauseWhitelistedCalls
// {
// fn contains(_: &pallet_tx_pause::RuntimeCallNameOf<Runtime>) -> bool {
// false
// }
// }
// #[cfg(not(feature = "runtime-benchmarks"))]
impl frame_support::traits::Contains<pallet_tx_pause::RuntimeCallNameOf<Runtime>>
for TxPauseWhitelistedCalls
{
Expand Down

0 comments on commit af8be43

Please sign in to comment.