Skip to content

Commit 9437d8b

Browse files
sea212Chralt98
andauthored
Release v0.3.9 (#1033)
* Update weights (#1025) * Update crate and runtime version (#1026) * Use argument in init.sh to avoid usage of sudo (#1028) * Update scripts/init.sh Co-authored-by: Chralt <chralt.developer@gmail.com> * Update script documentation --------- Co-authored-by: Chralt <chralt.developer@gmail.com> * Fix name collision (#1029) * Use updated Rococo bootnodes (#1030) --------- Co-authored-by: Chralt <chralt.developer@gmail.com>
1 parent 205923d commit 9437d8b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1227
-1182
lines changed

Cargo.lock

Lines changed: 83 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,22 @@ lto = true
112112
opt-level = 3
113113
# Zeitgeist runtime requires unwinding.
114114
panic = "unwind"
115+
116+
[patch."https://github.com/paritytech/polkadot"]
117+
pallet-xcm = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
118+
polkadot-cli = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
119+
polkadot-client = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
120+
polkadot-core-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
121+
polkadot-node-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
122+
polkadot-node-subsystem = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
123+
polkadot-overseer = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
124+
polkadot-parachain = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
125+
polkadot-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
126+
polkadot-runtime = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
127+
polkadot-runtime-parachains = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
128+
polkadot-service = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
129+
polkadot-test-service = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
130+
rococo-runtime = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
131+
xcm = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
132+
xcm-builder = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }
133+
xcm-executor = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.32-recent-bootnodes" }

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY . /zeitgeist
1515
RUN apt-get update && \
1616
apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold"
1717

18-
RUN ./scripts/init.sh
18+
RUN ./scripts/init.sh nosudo
1919

2020
RUN . "$HOME/.cargo/env" && cargo build --profile "$PROFILE" --features "$FEATURES"
2121

node/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ zeitgeist-primitives = { path = "../primitives" }
107107
zeitgeist-runtime = { path = "../runtime/zeitgeist", optional = true }
108108
zrml-liquidity-mining = { path = "../zrml/liquidity-mining" }
109109
zrml-swaps-rpc = { path = "../zrml/swaps/rpc" }
110+
110111
[features]
111112
default = ["with-battery-station-runtime", "with-zeitgeist-runtime"]
112113
parachain = [
@@ -177,7 +178,7 @@ description = "An evolving blockchain for prediction markets and futarchy."
177178
edition = "2021"
178179
homepage = "https://zeitgeist.pm"
179180
name = "zeitgeist-node"
180-
version = "0.3.8"
181+
version = "0.3.9"
181182

182183
[package.metadata.docs.rs]
183184
targets = ["x86_64-unknown-linux-gnu"]

primitives/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ with-global-disputes = []
3434
authors = ["Zeitgeist PM <contact@zeitgeist.pm>"]
3535
edition = "2021"
3636
name = "zeitgeist-primitives"
37-
version = "0.3.8"
37+
version = "0.3.9"

runtime/battery-station/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ with-global-disputes = [
408408
authors = ["Zeitgeist PM <contact@zeitgeist.pm>"]
409409
edition = "2021"
410410
name = "battery-station-runtime"
411-
version = "0.3.8"
411+
version = "0.3.9"
412412

413413
[package.metadata.docs.rs]
414414
targets = ["x86_64-unknown-linux-gnu"]

runtime/battery-station/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
9191
spec_name: create_runtime_str!("zeitgeist"),
9292
impl_name: create_runtime_str!("zeitgeist"),
9393
authoring_version: 1,
94-
spec_version: 45,
94+
spec_version: 46,
9595
impl_version: 1,
9696
apis: RUNTIME_API_VERSIONS,
97-
transaction_version: 20,
97+
transaction_version: 21,
9898
state_version: 1,
9999
};
100100

runtime/common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ with-global-disputes = []
7777
authors = ["Zeitgeist PM <contact@zeitgeist.pm>"]
7878
edition = "2021"
7979
name = "common-runtime"
80-
version = "0.3.8"
80+
version = "0.3.9"
8181

8282
[package.metadata.docs.rs]
8383
targets = ["x86_64-unknown-linux-gnu"]

runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//! Autogenerated weights for cumulus_pallet_xcmp_queue
2020
//!
2121
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
22-
//! DATE: 2023-02-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
22+
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2323
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
2424
2525
// Executed Command:
@@ -51,13 +51,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
5151
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::weights::WeightInfo for WeightInfo<T> {
5252
// Storage: XcmpQueue QueueConfig (r:1 w:1)
5353
fn set_config_with_u32() -> Weight {
54-
Weight::from_ref_time(5_117_000)
54+
Weight::from_ref_time(14_130_000)
5555
.saturating_add(T::DbWeight::get().reads(1))
5656
.saturating_add(T::DbWeight::get().writes(1))
5757
}
5858
// Storage: XcmpQueue QueueConfig (r:1 w:1)
5959
fn set_config_with_weight() -> Weight {
60-
Weight::from_ref_time(4_929_000)
60+
Weight::from_ref_time(14_070_000)
6161
.saturating_add(T::DbWeight::get().reads(1))
6262
.saturating_add(T::DbWeight::get().writes(1))
6363
}

runtime/common/src/weights/frame_system.rs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//! Autogenerated weights for frame_system
2020
//!
2121
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
22-
//! DATE: 2023-02-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
22+
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2323
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
2424
2525
// Executed Command:
@@ -50,41 +50,41 @@ use frame_support::{
5050
pub struct WeightInfo<T>(PhantomData<T>);
5151
impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T> {
5252
fn remark(b: u32) -> Weight {
53-
Weight::from_ref_time(14_250_344)
53+
Weight::from_ref_time(7_750_000)
5454
// Standard Error: 1
55-
.saturating_add(Weight::from_ref_time(221).saturating_mul(b.into()))
55+
.saturating_add(Weight::from_ref_time(692).saturating_mul(b.into()))
5656
}
5757
fn remark_with_event(b: u32) -> Weight {
58-
Weight::from_ref_time(8_451_000)
59-
// Standard Error: 1
60-
.saturating_add(Weight::from_ref_time(1_022).saturating_mul(b.into()))
58+
Weight::from_ref_time(23_520_000)
59+
// Standard Error: 4
60+
.saturating_add(Weight::from_ref_time(2_341).saturating_mul(b.into()))
6161
}
6262
// Storage: System Digest (r:1 w:1)
6363
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
6464
fn set_heap_pages() -> Weight {
65-
Weight::from_ref_time(5_344_000)
65+
Weight::from_ref_time(16_260_000)
6666
.saturating_add(T::DbWeight::get().reads(1))
6767
.saturating_add(T::DbWeight::get().writes(2))
6868
}
6969
// Storage: Skipped Metadata (r:0 w:0)
7070
fn set_storage(i: u32) -> Weight {
71-
Weight::from_ref_time(2_566_000)
72-
// Standard Error: 641
73-
.saturating_add(Weight::from_ref_time(422_592).saturating_mul(i.into()))
71+
Weight::from_ref_time(7_690_000)
72+
// Standard Error: 4_435
73+
.saturating_add(Weight::from_ref_time(1_133_019).saturating_mul(i.into()))
7474
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
7575
}
7676
// Storage: Skipped Metadata (r:0 w:0)
7777
fn kill_storage(i: u32) -> Weight {
78-
Weight::from_ref_time(171_591)
79-
// Standard Error: 1_072
80-
.saturating_add(Weight::from_ref_time(374_557).saturating_mul(i.into()))
78+
Weight::from_ref_time(589_951)
79+
// Standard Error: 8_232
80+
.saturating_add(Weight::from_ref_time(925_898).saturating_mul(i.into()))
8181
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
8282
}
8383
// Storage: Skipped Metadata (r:0 w:0)
8484
fn kill_prefix(p: u32) -> Weight {
85-
Weight::from_ref_time(3_820_435)
86-
// Standard Error: 1_116
87-
.saturating_add(Weight::from_ref_time(802_972).saturating_mul(p.into()))
85+
Weight::from_ref_time(10_930_000)
86+
// Standard Error: 10_457
87+
.saturating_add(Weight::from_ref_time(2_090_894).saturating_mul(p.into()))
8888
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
8989
}
9090
}

0 commit comments

Comments
 (0)