Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: add missing try-runtime feature
  • Loading branch information
sander2 committed Jan 20, 2023
commit 5e61867696cd5d96f5a69c96d7f6b8206981fcfd
4 changes: 2 additions & 2 deletions crates/tx-pause/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ benchmarks! {
// let call = Call::<T>::pause { full_name: full_name.clone() };
// let call = Call::<T>::pause { pallet_name: pallet_name.clone(), maybe_call_name: maybe_call_name.clone() };

}: _<T::Origin>(origin, full_name.clone())
}: _<T::RuntimeOrigin>(origin, full_name.clone())
verify {
assert!(TxPause::<T>::paused_calls(full_name.clone()).is_some())
}
Expand All @@ -47,7 +47,7 @@ benchmarks! {
let unpause_origin = T::UnpauseOrigin::successful_origin();
// let call = Call::<T>::unpause { pallet_name: pallet_name.clone(), maybe_call_name: maybe_call_name.clone() };

}: _<T::Origin>(unpause_origin, full_name.clone())
}: _<T::RuntimeOrigin>(unpause_origin, full_name.clone())
verify {
assert!(TxPause::<T>::paused_calls(full_name.clone()).is_none())

Expand Down
1 change: 1 addition & 0 deletions parachain/runtime/interlay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ try-runtime = [
"fee/try-runtime",
"nomination/try-runtime",
"clients-info/try-runtime",
"tx-pause/try-runtime",
"democracy/try-runtime",
"pallet-collective/try-runtime",
"pallet-membership/try-runtime",
Expand Down
1 change: 1 addition & 0 deletions parachain/runtime/kintsugi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ try-runtime = [
"fee/try-runtime",
"nomination/try-runtime",
"clients-info/try-runtime",
"tx-pause/try-runtime",
"democracy/try-runtime",
"pallet-collective/try-runtime",
"pallet-membership/try-runtime",
Expand Down
1 change: 1 addition & 0 deletions parachain/runtime/testnet-interlay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ try-runtime = [
"fee/try-runtime",
"nomination/try-runtime",
"clients-info/try-runtime",
"tx-pause/try-runtime",
"loans/try-runtime",
"democracy/try-runtime",
"pallet-collective/try-runtime",
Expand Down
1 change: 1 addition & 0 deletions parachain/runtime/testnet-kintsugi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ try-runtime = [
"fee/try-runtime",
"nomination/try-runtime",
"clients-info/try-runtime",
"tx-pause/try-runtime",
"loans/try-runtime",
"democracy/try-runtime",
"farming/try-runtime",
Expand Down