Skip to content

Commit

Permalink
[substrate-apply] humanode-runtime: Benchmark pallet sudo (#13880)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov committed Oct 28, 2024
1 parent 6d5e6b1 commit 260f343
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/humanode-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ runtime-benchmarks = [
"pallet-im-online/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-sudo/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-token-claims/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
Expand Down
2 changes: 2 additions & 0 deletions crates/humanode-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ impl pallet_transaction_payment::Config for Runtime {
impl pallet_sudo::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type RuntimeCall = RuntimeCall;
type WeightInfo = pallet_sudo::weights::SubstrateWeight<Runtime>;
}

pub struct PrimitiveAuthTicketConverter;
Expand Down Expand Up @@ -1056,6 +1057,7 @@ mod benches {
[pallet_grandpa, Grandpa]
[pallet_im_online, ImOnline]
[pallet_multisig, Multisig]
[pallet_sudo, Sudo]
[pallet_timestamp, Timestamp]
[pallet_token_claims, TokenClaims]
[pallet_utility, Utility]
Expand Down

0 comments on commit 260f343

Please sign in to comment.