From 27da42cd55517ccd3769fefaafbbb160b808fd08 Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Fri, 21 Jul 2023 12:16:23 +0200 Subject: [PATCH] Update versions (#1047) Update version Also removes unused code and modifies changelog layout for v0.3.10 --- Cargo.lock | 38 +++++++++---------- docs/changelog_for_devs.md | 4 +- node/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- runtime/battery-station/Cargo.toml | 2 +- runtime/battery-station/src/lib.rs | 4 +- runtime/common/Cargo.toml | 2 +- runtime/common/src/lib.rs | 8 ---- runtime/zeitgeist/Cargo.toml | 2 +- runtime/zeitgeist/src/lib.rs | 4 +- zrml/authorized/Cargo.toml | 2 +- zrml/court/Cargo.toml | 2 +- zrml/global-disputes/Cargo.toml | 2 +- zrml/liquidity-mining/Cargo.toml | 2 +- zrml/market-commons/Cargo.toml | 2 +- zrml/orderbook-v1/Cargo.toml | 2 +- zrml/prediction-markets/Cargo.toml | 2 +- .../prediction-markets/runtime-api/Cargo.toml | 2 +- zrml/rikiddo/Cargo.toml | 2 +- zrml/simple-disputes/Cargo.toml | 2 +- zrml/styx/Cargo.toml | 2 +- zrml/swaps/Cargo.toml | 2 +- zrml/swaps/rpc/Cargo.toml | 2 +- zrml/swaps/runtime-api/Cargo.toml | 2 +- 24 files changed, 45 insertions(+), 51 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 35c542b16..d576cf1b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -508,7 +508,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "battery-station-runtime" -version = "0.3.9" +version = "0.3.10" dependencies = [ "cfg-if 1.0.0", "common-runtime", @@ -1167,7 +1167,7 @@ dependencies = [ [[package]] name = "common-runtime" -version = "0.3.9" +version = "0.3.10" dependencies = [ "cfg-if 1.0.0", "cumulus-pallet-xcmp-queue", @@ -13136,7 +13136,7 @@ dependencies = [ [[package]] name = "zeitgeist-node" -version = "0.3.9" +version = "0.3.10" dependencies = [ "battery-station-runtime", "cfg-if 1.0.0", @@ -13224,7 +13224,7 @@ dependencies = [ [[package]] name = "zeitgeist-primitives" -version = "0.3.9" +version = "0.3.10" dependencies = [ "arbitrary", "frame-support", @@ -13242,7 +13242,7 @@ dependencies = [ [[package]] name = "zeitgeist-runtime" -version = "0.3.9" +version = "0.3.10" dependencies = [ "cfg-if 1.0.0", "common-runtime", @@ -13362,7 +13362,7 @@ dependencies = [ [[package]] name = "zrml-authorized" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -13379,7 +13379,7 @@ dependencies = [ [[package]] name = "zrml-court" -version = "0.3.9" +version = "0.3.10" dependencies = [ "arrayvec 0.7.4", "frame-benchmarking", @@ -13399,7 +13399,7 @@ dependencies = [ [[package]] name = "zrml-global-disputes" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -13419,7 +13419,7 @@ dependencies = [ [[package]] name = "zrml-liquidity-mining" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -13437,7 +13437,7 @@ dependencies = [ [[package]] name = "zrml-market-commons" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-support", "frame-system", @@ -13453,7 +13453,7 @@ dependencies = [ [[package]] name = "zrml-orderbook-v1" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -13482,7 +13482,7 @@ dependencies = [ [[package]] name = "zrml-prediction-markets" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -13533,7 +13533,7 @@ dependencies = [ [[package]] name = "zrml-prediction-markets-runtime-api" -version = "0.3.9" +version = "0.3.10" dependencies = [ "parity-scale-codec", "sp-api", @@ -13542,7 +13542,7 @@ dependencies = [ [[package]] name = "zrml-rikiddo" -version = "0.3.9" +version = "0.3.10" dependencies = [ "arbitrary", "cfg-if 1.0.0", @@ -13575,7 +13575,7 @@ dependencies = [ [[package]] name = "zrml-simple-disputes" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -13592,7 +13592,7 @@ dependencies = [ [[package]] name = "zrml-styx" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -13608,7 +13608,7 @@ dependencies = [ [[package]] name = "zrml-swaps" -version = "0.3.9" +version = "0.3.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -13650,7 +13650,7 @@ dependencies = [ [[package]] name = "zrml-swaps-rpc" -version = "0.3.9" +version = "0.3.10" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13663,7 +13663,7 @@ dependencies = [ [[package]] name = "zrml-swaps-runtime-api" -version = "0.3.9" +version = "0.3.10" dependencies = [ "parity-scale-codec", "sp-api", diff --git a/docs/changelog_for_devs.md b/docs/changelog_for_devs.md index 56ceb896a..96069327f 100644 --- a/docs/changelog_for_devs.md +++ b/docs/changelog_for_devs.md @@ -12,10 +12,12 @@ https://keepachangelog.com/en/1.0.0/ and ⚠️ marks changes that might break components which query the chain's storage, the extrinsics or the runtime APIs/RPC interface. -## v0.4.0 +## v0.3.10 [#1022]: https://github.com/zeitgeistpm/zeitgeist/pull/1022 +### Added + - Use pallet-asset-tx-payment for allowing to pay transaction fees in foreign currencies ([#1022]). This requires each transaction to specify the fee payment token with `asset_id` (`None` is ZTG). diff --git a/node/Cargo.toml b/node/Cargo.toml index db5cdb9d4..55a95d2bb 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -182,7 +182,7 @@ description = "An evolving blockchain for prediction markets and futarchy." edition = "2021" homepage = "https://zeitgeist.pm" name = "zeitgeist-node" -version = "0.3.9" +version = "0.3.10" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 87a5a04ad..d78759422 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -34,4 +34,4 @@ with-global-disputes = [] authors = ["Zeitgeist PM "] edition = "2021" name = "zeitgeist-primitives" -version = "0.3.9" +version = "0.3.10" diff --git a/runtime/battery-station/Cargo.toml b/runtime/battery-station/Cargo.toml index b7284fb3a..0cca18d2a 100644 --- a/runtime/battery-station/Cargo.toml +++ b/runtime/battery-station/Cargo.toml @@ -411,7 +411,7 @@ with-global-disputes = [ authors = ["Zeitgeist PM "] edition = "2021" name = "battery-station-runtime" -version = "0.3.9" +version = "0.3.10" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/runtime/battery-station/src/lib.rs b/runtime/battery-station/src/lib.rs index 7e0e81c49..a75e15d01 100644 --- a/runtime/battery-station/src/lib.rs +++ b/runtime/battery-station/src/lib.rs @@ -93,10 +93,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("zeitgeist"), impl_name: create_runtime_str!("zeitgeist"), authoring_version: 1, - spec_version: 46, + spec_version: 47, impl_version: 1, apis: RUNTIME_API_VERSIONS, - transaction_version: 21, + transaction_version: 22, state_version: 1, }; diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 72608b374..ab6b5d086 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -79,7 +79,7 @@ with-global-disputes = [] authors = ["Zeitgeist PM "] edition = "2021" name = "common-runtime" -version = "0.3.9" +version = "0.3.10" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 482597d5a..721f35a4e 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -53,14 +53,6 @@ macro_rules! decl_common_types { type Address = sp_runtime::MultiAddress; - // Migration for scheduler pallet to move from a plain RuntimeCall to a CallOrHash. - pub struct SchedulerMigrationV1toV4; - impl OnRuntimeUpgrade for SchedulerMigrationV1toV4 { - fn on_runtime_upgrade() -> frame_support::weights::Weight { - Scheduler::migrate_v1_to_v4() - } - } - pub type Executive = frame_executive::Executive< Runtime, Block, diff --git a/runtime/zeitgeist/Cargo.toml b/runtime/zeitgeist/Cargo.toml index f84460354..957707731 100644 --- a/runtime/zeitgeist/Cargo.toml +++ b/runtime/zeitgeist/Cargo.toml @@ -401,7 +401,7 @@ with-global-disputes = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zeitgeist-runtime" -version = "0.3.9" +version = "0.3.10" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/runtime/zeitgeist/src/lib.rs b/runtime/zeitgeist/src/lib.rs index 21c39503a..dc1a58443 100644 --- a/runtime/zeitgeist/src/lib.rs +++ b/runtime/zeitgeist/src/lib.rs @@ -92,10 +92,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("zeitgeist"), impl_name: create_runtime_str!("zeitgeist"), authoring_version: 1, - spec_version: 46, + spec_version: 47, impl_version: 1, apis: RUNTIME_API_VERSIONS, - transaction_version: 21, + transaction_version: 22, state_version: 1, }; diff --git a/zrml/authorized/Cargo.toml b/zrml/authorized/Cargo.toml index eb7b1beef..3cab15bed 100644 --- a/zrml/authorized/Cargo.toml +++ b/zrml/authorized/Cargo.toml @@ -38,4 +38,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-authorized" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/court/Cargo.toml b/zrml/court/Cargo.toml index 587ce33ba..9254e1182 100644 --- a/zrml/court/Cargo.toml +++ b/zrml/court/Cargo.toml @@ -41,4 +41,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-court" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/global-disputes/Cargo.toml b/zrml/global-disputes/Cargo.toml index 77ca074eb..1b34b5c94 100644 --- a/zrml/global-disputes/Cargo.toml +++ b/zrml/global-disputes/Cargo.toml @@ -45,4 +45,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-global-disputes" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/liquidity-mining/Cargo.toml b/zrml/liquidity-mining/Cargo.toml index 20902ca2c..2475bb1f0 100644 --- a/zrml/liquidity-mining/Cargo.toml +++ b/zrml/liquidity-mining/Cargo.toml @@ -40,4 +40,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-liquidity-mining" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/market-commons/Cargo.toml b/zrml/market-commons/Cargo.toml index 05f519393..294dbca8d 100644 --- a/zrml/market-commons/Cargo.toml +++ b/zrml/market-commons/Cargo.toml @@ -31,4 +31,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-market-commons" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/orderbook-v1/Cargo.toml b/zrml/orderbook-v1/Cargo.toml index 7328f2765..71dd5d00f 100644 --- a/zrml/orderbook-v1/Cargo.toml +++ b/zrml/orderbook-v1/Cargo.toml @@ -47,4 +47,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-orderbook-v1" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/prediction-markets/Cargo.toml b/zrml/prediction-markets/Cargo.toml index 228bdb4f8..7207b6fba 100644 --- a/zrml/prediction-markets/Cargo.toml +++ b/zrml/prediction-markets/Cargo.toml @@ -98,4 +98,4 @@ with-global-disputes = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-prediction-markets" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/prediction-markets/runtime-api/Cargo.toml b/zrml/prediction-markets/runtime-api/Cargo.toml index e651a6769..a455fc679 100644 --- a/zrml/prediction-markets/runtime-api/Cargo.toml +++ b/zrml/prediction-markets/runtime-api/Cargo.toml @@ -15,4 +15,4 @@ std = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-prediction-markets-runtime-api" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/rikiddo/Cargo.toml b/zrml/rikiddo/Cargo.toml index 15079b971..2937acd74 100644 --- a/zrml/rikiddo/Cargo.toml +++ b/zrml/rikiddo/Cargo.toml @@ -42,4 +42,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-rikiddo" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/simple-disputes/Cargo.toml b/zrml/simple-disputes/Cargo.toml index d61fd1c51..32177eac2 100644 --- a/zrml/simple-disputes/Cargo.toml +++ b/zrml/simple-disputes/Cargo.toml @@ -38,4 +38,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-simple-disputes" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/styx/Cargo.toml b/zrml/styx/Cargo.toml index b2e55bb25..95584ad0f 100644 --- a/zrml/styx/Cargo.toml +++ b/zrml/styx/Cargo.toml @@ -36,4 +36,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-styx" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/swaps/Cargo.toml b/zrml/swaps/Cargo.toml index bdb90fc5f..9336dce0c 100644 --- a/zrml/swaps/Cargo.toml +++ b/zrml/swaps/Cargo.toml @@ -65,4 +65,4 @@ try-runtime = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-swaps" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/swaps/rpc/Cargo.toml b/zrml/swaps/rpc/Cargo.toml index e3f57d771..2fbdc9bd4 100644 --- a/zrml/swaps/rpc/Cargo.toml +++ b/zrml/swaps/rpc/Cargo.toml @@ -11,4 +11,4 @@ zrml-swaps-runtime-api = { default-features = false, features = ["std"], path = authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-swaps-rpc" -version = "0.3.9" +version = "0.3.10" diff --git a/zrml/swaps/runtime-api/Cargo.toml b/zrml/swaps/runtime-api/Cargo.toml index d26bd0a3f..e5a163f7d 100644 --- a/zrml/swaps/runtime-api/Cargo.toml +++ b/zrml/swaps/runtime-api/Cargo.toml @@ -18,4 +18,4 @@ std = [ authors = ["Zeitgeist PM "] edition = "2021" name = "zrml-swaps-runtime-api" -version = "0.3.9" +version = "0.3.10"