Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions #1047

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion docs/changelog_for_devs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the threshold to exceed to come to 0.4.0? Major changes that are defined how?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We take https://semver.org/ as a guideline.

Given a version number MAJOR.MINOR.PATCH, increment the:
[...]
MINOR version when you add functionality in a backward compatible manner

Obviously we added some new functionality here, this happens every release. The functionality that we added usually assists in using the protocol or changes existing core functionality. I consider new functionality as additions to the core protocol. For example, Court, AMM 2.0, Liquidity Mining, etc. would lead to a bump in the MINOR version from my perspective.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe AMM 2.0 turns out to be backwards incompatible, in that case a MAJOR version bump would be necessary. However, Malte informed me that before 1.0.0, a MINOR bump can be done instead as defined in semver.


[#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).
Expand Down
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ with-global-disputes = []
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zeitgeist-primitives"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion runtime/battery-station/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ with-global-disputes = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "battery-station-runtime"
version = "0.3.9"
version = "0.3.10"

[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 @@ -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,
};

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

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
8 changes: 0 additions & 8 deletions runtime/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ macro_rules! decl_common_types {

type Address = sp_runtime::MultiAddress<AccountId, ()>;

// 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,
Expand Down
2 changes: 1 addition & 1 deletion runtime/zeitgeist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ with-global-disputes = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zeitgeist-runtime"
version = "0.3.9"
version = "0.3.10"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 2 additions & 2 deletions runtime/zeitgeist/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion zrml/authorized/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-authorized"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/court/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-court"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/global-disputes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-global-disputes"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/liquidity-mining/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-liquidity-mining"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/market-commons/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-market-commons"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/orderbook-v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-orderbook-v1"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/prediction-markets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ with-global-disputes = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-prediction-markets"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/prediction-markets/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ std = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-prediction-markets-runtime-api"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/rikiddo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-rikiddo"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/simple-disputes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-simple-disputes"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/styx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-styx"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/swaps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ try-runtime = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-swaps"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/swaps/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ zrml-swaps-runtime-api = { default-features = false, features = ["std"], path =
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-swaps-rpc"
version = "0.3.9"
version = "0.3.10"
2 changes: 1 addition & 1 deletion zrml/swaps/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ std = [
authors = ["Zeitgeist PM <[email protected]>"]
edition = "2021"
name = "zrml-swaps-runtime-api"
version = "0.3.9"
version = "0.3.10"
Loading