mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
* Update for substrate changes * cargo update -p sp-io * cargo update -p sp-io
This commit is contained in:
Generated
+137
-134
File diff suppressed because it is too large
Load Diff
@@ -1203,13 +1203,7 @@ sp_api::impl_runtime_apis! {
|
|||||||
#[cfg(feature = "runtime-benchmarks")]
|
#[cfg(feature = "runtime-benchmarks")]
|
||||||
impl frame_benchmarking::Benchmark<Block> for Runtime {
|
impl frame_benchmarking::Benchmark<Block> for Runtime {
|
||||||
fn dispatch_benchmark(
|
fn dispatch_benchmark(
|
||||||
pallet: Vec<u8>,
|
config: frame_benchmarking::BenchmarkConfig
|
||||||
benchmark: Vec<u8>,
|
|
||||||
lowest_range_values: Vec<u32>,
|
|
||||||
highest_range_values: Vec<u32>,
|
|
||||||
steps: Vec<u32>,
|
|
||||||
repeat: u32,
|
|
||||||
extra: bool,
|
|
||||||
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, RuntimeString> {
|
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, RuntimeString> {
|
||||||
use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};
|
use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};
|
||||||
// Trying to add benchmarks directly to the Session Pallet caused cyclic dependency issues.
|
// Trying to add benchmarks directly to the Session Pallet caused cyclic dependency issues.
|
||||||
@@ -1239,16 +1233,7 @@ sp_api::impl_runtime_apis! {
|
|||||||
];
|
];
|
||||||
|
|
||||||
let mut batches = Vec::<BenchmarkBatch>::new();
|
let mut batches = Vec::<BenchmarkBatch>::new();
|
||||||
let params = (
|
let params = (&config, &whitelist);
|
||||||
&pallet,
|
|
||||||
&benchmark,
|
|
||||||
&lowest_range_values,
|
|
||||||
&highest_range_values,
|
|
||||||
&steps,
|
|
||||||
repeat,
|
|
||||||
&whitelist,
|
|
||||||
extra,
|
|
||||||
);
|
|
||||||
// Polkadot
|
// Polkadot
|
||||||
add_benchmark!(params, batches, claims, Claims);
|
add_benchmark!(params, batches, claims, Claims);
|
||||||
// Substrate
|
// Substrate
|
||||||
|
|||||||
@@ -1344,13 +1344,7 @@ sp_api::impl_runtime_apis! {
|
|||||||
#[cfg(feature = "runtime-benchmarks")]
|
#[cfg(feature = "runtime-benchmarks")]
|
||||||
impl frame_benchmarking::Benchmark<Block> for Runtime {
|
impl frame_benchmarking::Benchmark<Block> for Runtime {
|
||||||
fn dispatch_benchmark(
|
fn dispatch_benchmark(
|
||||||
pallet: Vec<u8>,
|
config: frame_benchmarking::BenchmarkConfig
|
||||||
benchmark: Vec<u8>,
|
|
||||||
lowest_range_values: Vec<u32>,
|
|
||||||
highest_range_values: Vec<u32>,
|
|
||||||
steps: Vec<u32>,
|
|
||||||
repeat: u32,
|
|
||||||
extra: bool,
|
|
||||||
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, RuntimeString> {
|
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, RuntimeString> {
|
||||||
use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};
|
use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};
|
||||||
// Trying to add benchmarks directly to the Session Pallet caused cyclic dependency issues.
|
// Trying to add benchmarks directly to the Session Pallet caused cyclic dependency issues.
|
||||||
@@ -1380,16 +1374,7 @@ sp_api::impl_runtime_apis! {
|
|||||||
];
|
];
|
||||||
|
|
||||||
let mut batches = Vec::<BenchmarkBatch>::new();
|
let mut batches = Vec::<BenchmarkBatch>::new();
|
||||||
let params = (
|
let params = (&config, &whitelist);
|
||||||
&pallet,
|
|
||||||
&benchmark,
|
|
||||||
&lowest_range_values,
|
|
||||||
&highest_range_values,
|
|
||||||
&steps,
|
|
||||||
repeat,
|
|
||||||
&whitelist,
|
|
||||||
extra,
|
|
||||||
);
|
|
||||||
// Polkadot
|
// Polkadot
|
||||||
add_benchmark!(params, batches, claims, Claims);
|
add_benchmark!(params, batches, claims, Claims);
|
||||||
// Substrate
|
// Substrate
|
||||||
|
|||||||
@@ -1000,13 +1000,7 @@ sp_api::impl_runtime_apis! {
|
|||||||
#[cfg(feature = "runtime-benchmarks")]
|
#[cfg(feature = "runtime-benchmarks")]
|
||||||
impl frame_benchmarking::Benchmark<Block> for Runtime {
|
impl frame_benchmarking::Benchmark<Block> for Runtime {
|
||||||
fn dispatch_benchmark(
|
fn dispatch_benchmark(
|
||||||
pallet: Vec<u8>,
|
config: frame_benchmarking::BenchmarkConfig,
|
||||||
benchmark: Vec<u8>,
|
|
||||||
lowest_range_values: Vec<u32>,
|
|
||||||
highest_range_values: Vec<u32>,
|
|
||||||
steps: Vec<u32>,
|
|
||||||
repeat: u32,
|
|
||||||
extra: bool,
|
|
||||||
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, RuntimeString> {
|
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, RuntimeString> {
|
||||||
use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};
|
use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};
|
||||||
// Trying to add benchmarks directly to the Session Pallet caused cyclic dependency issues.
|
// Trying to add benchmarks directly to the Session Pallet caused cyclic dependency issues.
|
||||||
@@ -1036,16 +1030,7 @@ sp_api::impl_runtime_apis! {
|
|||||||
];
|
];
|
||||||
|
|
||||||
let mut batches = Vec::<BenchmarkBatch>::new();
|
let mut batches = Vec::<BenchmarkBatch>::new();
|
||||||
let params = (
|
let params = (&config, &whitelist);
|
||||||
&pallet,
|
|
||||||
&benchmark,
|
|
||||||
&lowest_range_values,
|
|
||||||
&highest_range_values,
|
|
||||||
&steps,
|
|
||||||
repeat,
|
|
||||||
&whitelist,
|
|
||||||
extra,
|
|
||||||
);
|
|
||||||
|
|
||||||
add_benchmark!(params, batches, pallet_balances, Balances);
|
add_benchmark!(params, batches, pallet_balances, Balances);
|
||||||
add_benchmark!(params, batches, pallet_identity, Identity);
|
add_benchmark!(params, batches, pallet_identity, Identity);
|
||||||
|
|||||||
Reference in New Issue
Block a user