Skip to content

Commit

Permalink
Update pallet and runtime versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MRamanenkau committed Jul 11, 2023
1 parent e0b6e20 commit 8d0c095
Show file tree
Hide file tree
Showing 20 changed files with 55 additions and 45 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- ...

### Changed

- ...

## [4.8.0]

### Added

- [D] Handlebars template to generate weights file
- [D] Genesis config for `pallet-ddc-staking` to set genesis DDC participants (empty by default) and staking settings
- [D] Unit tests in `pallet-ddc-staking` for basic staking scenario
Expand Down
32 changes: 16 additions & 16 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ path = "src/main.rs"
[package]
name = "cere"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
version = "4.7.0"
version = "4.8.0"
edition = "2021"
build = "build.rs"

Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-cli"
version = "4.7.0"
version = "4.8.0"
edition = "2021"

[package.metadata.wasm-pack.profile.release]
Expand Down
2 changes: 1 addition & 1 deletion node/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-client"
version = "4.7.0"
version = "4.8.0"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion node/service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-service"
version = "4.7.0"
version = "4.8.0"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pallets/chainbridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-chainbridge"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 1 addition & 1 deletion pallets/ddc-metrics-offchain-worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-ddc-metrics-offchain-worker"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 1 addition & 1 deletion pallets/ddc-staking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-ddc-staking"
version = "4.7.0"
version = "4.8.0"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pallets/ddc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ homepage = 'https://www.cere.network/'
license = 'Unlicense'
name = 'pallet-cere-ddc'
repository = 'https://github.com/Cerebellum-Network/ddc-pallet'
version = '4.7.0'
version = '4.8.0'
readme = 'README.md'

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion pallets/erc20/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-erc20"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 1 addition & 1 deletion pallets/erc721/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-erc721"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-rpc"
version = "4.7.0"
version = "4.8.0"
edition = "2021"

[dependencies]
Expand Down
14 changes: 7 additions & 7 deletions runtime/cere-dev/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-dev-runtime"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down Expand Up @@ -96,12 +96,12 @@ pallet-transaction-storage = { version = "4.0.0-dev", default-features = false,
pallet-vesting = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.30" }
cere-runtime-common = { path = "../common", default-features = false }
cere-dev-runtime-constants = { path = "./constants", default-features = false }
pallet-ddc-staking = { version = "4.7.0", default-features = false, path = "../../pallets/ddc-staking" }
pallet-chainbridge = { version = "4.7.0", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.7.0", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.7.0", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.7.0", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.7.0", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }
pallet-ddc-staking = { version = "4.8.0", default-features = false, path = "../../pallets/ddc-staking" }
pallet-chainbridge = { version = "4.8.0", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.0", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.0", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.0", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.0", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }

[build-dependencies]
substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.30" }
Expand Down
2 changes: 1 addition & 1 deletion runtime/cere-dev/constants/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-dev-runtime-constants"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to 0. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 47001,
spec_version: 48000,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 5,
Expand Down
12 changes: 6 additions & 6 deletions runtime/cere/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-runtime"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down Expand Up @@ -96,11 +96,11 @@ pallet-transaction-storage = { version = "4.0.0-dev", default-features = false,
pallet-vesting = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.30" }
cere-runtime-common = { path = "../common", default-features = false }
cere-runtime-constants = { path = "./constants", default-features = false }
pallet-chainbridge = { version = "4.7.0", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.7.0", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.7.0", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.7.0", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.7.0", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }
pallet-chainbridge = { version = "4.8.0", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.0", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.0", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.0", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.0", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }

[build-dependencies]
substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.30" }
Expand Down
2 changes: 1 addition & 1 deletion runtime/cere/constants/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-runtime-constants"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion runtime/cere/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to 0. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 47001,
spec_version: 48000,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 5,
Expand Down
2 changes: 1 addition & 1 deletion runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-runtime-common"
version = "4.7.0"
version = "4.8.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down

0 comments on commit 8d0c095

Please sign in to comment.