|
@@ -287,7 +287,7 @@ impl_runtime_apis! {
|
|
|
use crate::Constitution;
|
|
|
use crate::Forum;
|
|
|
use crate::Members;
|
|
|
- use crate::ContentDirectoryWorkingGroup;
|
|
|
+ use crate::ContentWorkingGroup;
|
|
|
use crate::Utility;
|
|
|
use crate::Timestamp;
|
|
|
use crate::ImOnline;
|
|
@@ -297,7 +297,7 @@ impl_runtime_apis! {
|
|
|
use crate::Blog;
|
|
|
use crate::JoystreamUtility;
|
|
|
use crate::Staking;
|
|
|
- use crate::StorageV2;
|
|
|
+ use crate::Storage;
|
|
|
|
|
|
|
|
|
// Trying to add benchmarks directly to the Session Pallet caused cyclic dependency issues.
|
|
@@ -385,13 +385,13 @@ impl_runtime_apis! {
|
|
|
add_benchmark!(params, batches, membership, Members);
|
|
|
add_benchmark!(params, batches, forum, Forum);
|
|
|
add_benchmark!(params, batches, pallet_constitution, Constitution);
|
|
|
- add_benchmark!(params, batches, working_group, ContentDirectoryWorkingGroup);
|
|
|
+ add_benchmark!(params, batches, working_group, ContentWorkingGroup);
|
|
|
add_benchmark!(params, batches, referendum, Referendum);
|
|
|
add_benchmark!(params, batches, council, Council);
|
|
|
add_benchmark!(params, batches, bounty, Bounty);
|
|
|
add_benchmark!(params, batches, blog, Blog);
|
|
|
add_benchmark!(params, batches, joystream_utility, JoystreamUtility);
|
|
|
- add_benchmark!(params, batches, storage_v2, StorageV2);
|
|
|
+ add_benchmark!(params, batches, storage_v2, Storage);
|
|
|
|
|
|
if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }
|
|
|
Ok(batches)
|