mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 06:01:02 +00:00
This PR reverts #2280 which introduced `TransactionExtension` to replace `SignedExtension`. As a result of the discussion [here](https://github.com/paritytech/polkadot-sdk/pull/3623#issuecomment-1986789700), the changes will be reverted for now with plans to reintroduce the concept in the future. --------- Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2024-02-29 (Y/M/D)
|
||||
//! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-05-26 (Y/M/D)
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
//! WEIGHT-PATH: `./polkadot/runtime/rococo/constants/src/weights/`
|
||||
//! WEIGHT-PATH: `runtime/rococo/constants/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
@@ -28,11 +28,12 @@
|
||||
// benchmark
|
||||
// overhead
|
||||
// --chain=rococo-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --weight-path=./polkadot/runtime/rococo/constants/src/weights/
|
||||
// --weight-path=runtime/rococo/constants/src/weights/
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
// --header=./polkadot/file_header.txt
|
||||
// --header=./file_header.txt
|
||||
|
||||
use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight};
|
||||
@@ -42,17 +43,17 @@ parameter_types! {
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 440_142, 476_907
|
||||
/// Average: 450_240
|
||||
/// Median: 448_633
|
||||
/// Std-Dev: 7301.18
|
||||
/// Min, Max: 408_659, 450_716
|
||||
/// Average: 417_412
|
||||
/// Median: 411_177
|
||||
/// Std-Dev: 12242.31
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 470_733
|
||||
/// 95th: 465_082
|
||||
/// 75th: 452_536
|
||||
/// 99th: 445_142
|
||||
/// 95th: 442_275
|
||||
/// 75th: 414_217
|
||||
pub const BlockExecutionWeight: Weight =
|
||||
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(450_240), 0);
|
||||
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(417_412), 0);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2024-02-29 (Y/M/D)
|
||||
//! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-05-26 (Y/M/D)
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
//! WEIGHT-PATH: `./polkadot/runtime/rococo/constants/src/weights/`
|
||||
//! WEIGHT-PATH: `runtime/rococo/constants/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
@@ -28,11 +28,12 @@
|
||||
// benchmark
|
||||
// overhead
|
||||
// --chain=rococo-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --weight-path=./polkadot/runtime/rococo/constants/src/weights/
|
||||
// --weight-path=runtime/rococo/constants/src/weights/
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
// --header=./polkadot/file_header.txt
|
||||
// --header=./file_header.txt
|
||||
|
||||
use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight};
|
||||
@@ -42,17 +43,17 @@ parameter_types! {
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 92_961, 94_143
|
||||
/// Average: 93_369
|
||||
/// Median: 93_331
|
||||
/// Std-Dev: 217.39
|
||||
/// Min, Max: 97_574, 100_119
|
||||
/// Average: 98_236
|
||||
/// Median: 98_179
|
||||
/// Std-Dev: 394.9
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 93_848
|
||||
/// 95th: 93_691
|
||||
/// 75th: 93_514
|
||||
/// 99th: 99_893
|
||||
/// 95th: 98_850
|
||||
/// 75th: 98_318
|
||||
pub const ExtrinsicBaseWeight: Weight =
|
||||
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(93_369), 0);
|
||||
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(98_236), 0);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user