Skip to content

Commit

Permalink
Merge release v0.4.2 (#1174)
Browse files Browse the repository at this point in the history
* Update versions (#1168)

* Add updated weights from reference machine (#1169)

* Add license header

Co-authored-by: Chralt <[email protected]>

---------

Co-authored-by: Chralt <[email protected]>
  • Loading branch information
sea212 and Chralt98 authored Nov 6, 2023
1 parent 76d6a23 commit 3d48313
Show file tree
Hide file tree
Showing 57 changed files with 1,870 additions and 1,875 deletions.
42 changes: 21 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ description = "An evolving blockchain for prediction markets and futarchy."
edition = "2021"
homepage = "https://zeitgeist.pm"
name = "zeitgeist-node"
version = "0.4.1"
version = "0.4.2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ std = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zeitgeist-primitives"
version = "0.4.1"
version = "0.4.2"
2 changes: 1 addition & 1 deletion runtime/battery-station/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "battery-station-runtime"
version = "0.4.1"
version = "0.4.2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 2 additions & 2 deletions runtime/battery-station/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("zeitgeist"),
impl_name: create_runtime_str!("zeitgeist"),
authoring_version: 1,
spec_version: 50,
spec_version: 51,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 25,
transaction_version: 26,
state_version: 1,
};

Expand Down
2 changes: 1 addition & 1 deletion runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ std = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "common-runtime"
version = "0.4.1"
version = "0.4.2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
10 changes: 5 additions & 5 deletions runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for cumulus_pallet_xcmp_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: `2023-10-12`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2023-10-26`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor`
//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
Expand Down Expand Up @@ -58,8 +58,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::weights::WeightInfo for
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `637`
// Minimum execution time: 9_990 nanoseconds.
Weight::from_parts(10_420_000, 637)
// Minimum execution time: 10_160 nanoseconds.
Weight::from_parts(10_570_000, 637)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -69,8 +69,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::weights::WeightInfo for
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `637`
// Minimum execution time: 10_040 nanoseconds.
Weight::from_parts(10_910_000, 637)
// Minimum execution time: 8_410 nanoseconds.
Weight::from_parts(10_630_000, 637)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
50 changes: 25 additions & 25 deletions runtime/common/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: `2023-10-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: `2023-10-25`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor`
//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
Expand Down Expand Up @@ -57,20 +57,20 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_330 nanoseconds.
Weight::from_parts(3_530_000, 0)
// Standard Error: 1
.saturating_add(Weight::from_parts(832, 0).saturating_mul(b.into()))
// Minimum execution time: 3_420 nanoseconds.
Weight::from_parts(8_980_465, 0)
// Standard Error: 6
.saturating_add(Weight::from_parts(889, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_890 nanoseconds.
Weight::from_parts(12_270_000, 0)
// Standard Error: 5
.saturating_add(Weight::from_parts(2_541, 0).saturating_mul(b.into()))
// Minimum execution time: 13_050 nanoseconds.
Weight::from_parts(68_712_625, 0)
// Standard Error: 11
.saturating_add(Weight::from_parts(2_640, 0).saturating_mul(b.into()))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Expand All @@ -80,8 +80,8 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 7_030 nanoseconds.
Weight::from_parts(7_850_000, 495)
// Minimum execution time: 7_020 nanoseconds.
Weight::from_parts(8_780_000, 495)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -92,10 +92,10 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_570 nanoseconds.
Weight::from_parts(3_640_000, 0)
// Standard Error: 4_801
.saturating_add(Weight::from_parts(1_148_373, 0).saturating_mul(i.into()))
// Minimum execution time: 3_830 nanoseconds.
Weight::from_parts(4_090_000, 0)
// Standard Error: 4_241
.saturating_add(Weight::from_parts(1_207_978, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
Expand All @@ -105,23 +105,23 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_430 nanoseconds.
Weight::from_parts(3_640_000, 0)
// Standard Error: 4_580
.saturating_add(Weight::from_parts(943_402, 0).saturating_mul(i.into()))
// Minimum execution time: 8_090 nanoseconds.
Weight::from_parts(11_060_000, 0)
// Standard Error: 5_067
.saturating_add(Weight::from_parts(971_498, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `50 + p * (69 ±0)`
// Estimated: `53 + p * (70 ±0)`
// Minimum execution time: 7_060 nanoseconds.
Weight::from_parts(7_320_000, 53)
// Standard Error: 8_444
.saturating_add(Weight::from_parts(2_133_080, 0).saturating_mul(p.into()))
// Measured: `48 + p * (69 ±0)`
// Estimated: `52 + p * (70 ±0)`
// Minimum execution time: 8_030 nanoseconds.
Weight::from_parts(8_190_000, 52)
// Standard Error: 7_062
.saturating_add(Weight::from_parts(2_180_112, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
}
Expand Down
Loading

0 comments on commit 3d48313

Please sign in to comment.