diff --git a/CHANGELOG.md b/CHANGELOG.md index d8c7edcbc..9122f8269 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.lock b/Cargo.lock index 2994a9976..8b70b378c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -725,7 +725,7 @@ dependencies = [ [[package]] name = "cere" -version = "4.7.0" +version = "4.8.0" dependencies = [ "cere-cli", "sc-cli", @@ -735,7 +735,7 @@ dependencies = [ [[package]] name = "cere-cli" -version = "4.7.0" +version = "4.8.0" dependencies = [ "cere-client", "cere-service", @@ -749,7 +749,7 @@ dependencies = [ [[package]] name = "cere-client" -version = "4.7.0" +version = "4.8.0" dependencies = [ "cere-dev-runtime", "cere-runtime", @@ -784,7 +784,7 @@ dependencies = [ [[package]] name = "cere-dev-runtime" -version = "4.7.0" +version = "4.8.0" dependencies = [ "cere-dev-runtime-constants", "cere-runtime-common", @@ -872,7 +872,7 @@ dependencies = [ [[package]] name = "cere-dev-runtime-constants" -version = "4.7.0" +version = "4.8.0" dependencies = [ "node-primitives", "sp-runtime", @@ -880,7 +880,7 @@ dependencies = [ [[package]] name = "cere-rpc" -version = "4.7.0" +version = "4.8.0" dependencies = [ "jsonrpsee", "node-primitives", @@ -910,7 +910,7 @@ dependencies = [ [[package]] name = "cere-runtime" -version = "4.7.0" +version = "4.8.0" dependencies = [ "cere-runtime-common", "cere-runtime-constants", @@ -997,7 +997,7 @@ dependencies = [ [[package]] name = "cere-runtime-common" -version = "4.7.0" +version = "4.8.0" dependencies = [ "frame-support", "node-primitives", @@ -1007,7 +1007,7 @@ dependencies = [ [[package]] name = "cere-runtime-constants" -version = "4.7.0" +version = "4.8.0" dependencies = [ "node-primitives", "sp-runtime", @@ -1015,7 +1015,7 @@ dependencies = [ [[package]] name = "cere-service" -version = "4.7.0" +version = "4.8.0" dependencies = [ "cere-client", "cere-dev-runtime", @@ -4677,7 +4677,7 @@ dependencies = [ [[package]] name = "pallet-cere-ddc" -version = "4.7.0" +version = "4.8.0" dependencies = [ "frame-support", "frame-system", @@ -4692,7 +4692,7 @@ dependencies = [ [[package]] name = "pallet-chainbridge" -version = "4.7.0" +version = "4.8.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4829,7 +4829,7 @@ dependencies = [ [[package]] name = "pallet-ddc-metrics-offchain-worker" -version = "4.7.0" +version = "4.8.0" dependencies = [ "alt_serde", "frame-support", @@ -4855,7 +4855,7 @@ dependencies = [ [[package]] name = "pallet-ddc-staking" -version = "4.7.0" +version = "4.8.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4946,7 +4946,7 @@ dependencies = [ [[package]] name = "pallet-erc20" -version = "4.7.0" +version = "4.8.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4966,7 +4966,7 @@ dependencies = [ [[package]] name = "pallet-erc721" -version = "4.7.0" +version = "4.8.0" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/Cargo.toml b/Cargo.toml index de64bd006..7be78ede0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index a82623a91..4d1fe40d0 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-cli" -version = "4.7.0" +version = "4.8.0" edition = "2021" [package.metadata.wasm-pack.profile.release] diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index db9fb8525..eb4f2be13 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-client" -version = "4.7.0" +version = "4.8.0" edition = "2021" [dependencies] diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 48c33e1ed..65c79d982 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-service" -version = "4.7.0" +version = "4.8.0" edition = "2021" [dependencies] diff --git a/pallets/chainbridge/Cargo.toml b/pallets/chainbridge/Cargo.toml index 36908f14e..b1f2b953a 100644 --- a/pallets/chainbridge/Cargo.toml +++ b/pallets/chainbridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-chainbridge" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021" license = "Unlicense" diff --git a/pallets/ddc-metrics-offchain-worker/Cargo.toml b/pallets/ddc-metrics-offchain-worker/Cargo.toml index 2516727bb..e9de68b71 100644 --- a/pallets/ddc-metrics-offchain-worker/Cargo.toml +++ b/pallets/ddc-metrics-offchain-worker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-ddc-metrics-offchain-worker" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021" license = "Unlicense" diff --git a/pallets/ddc-staking/Cargo.toml b/pallets/ddc-staking/Cargo.toml index 93cc0d890..c5a4e6873 100644 --- a/pallets/ddc-staking/Cargo.toml +++ b/pallets/ddc-staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-ddc-staking" -version = "4.7.0" +version = "4.8.0" edition = "2021" [dependencies] diff --git a/pallets/ddc/Cargo.toml b/pallets/ddc/Cargo.toml index 9e73fed88..c15ee4ac7 100644 --- a/pallets/ddc/Cargo.toml +++ b/pallets/ddc/Cargo.toml @@ -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] diff --git a/pallets/erc20/Cargo.toml b/pallets/erc20/Cargo.toml index b7ac7dea6..fafa6ae83 100644 --- a/pallets/erc20/Cargo.toml +++ b/pallets/erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-erc20" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021" license = "Unlicense" diff --git a/pallets/erc721/Cargo.toml b/pallets/erc721/Cargo.toml index 295975765..5f7d02e22 100644 --- a/pallets/erc721/Cargo.toml +++ b/pallets/erc721/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-erc721" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021" license = "Unlicense" diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 1803e3d08..65de7e088 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-rpc" -version = "4.7.0" +version = "4.8.0" edition = "2021" [dependencies] diff --git a/runtime/cere-dev/Cargo.toml b/runtime/cere-dev/Cargo.toml index f3e63bbc2..885bd1c58 100644 --- a/runtime/cere-dev/Cargo.toml +++ b/runtime/cere-dev/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-dev-runtime" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" @@ -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" } diff --git a/runtime/cere-dev/constants/Cargo.toml b/runtime/cere-dev/constants/Cargo.toml index 0169aac24..68ca79a56 100644 --- a/runtime/cere-dev/constants/Cargo.toml +++ b/runtime/cere-dev/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-dev-runtime-constants" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/cere-dev/src/lib.rs b/runtime/cere-dev/src/lib.rs index 1084c42f3..439fcadb3 100644 --- a/runtime/cere-dev/src/lib.rs +++ b/runtime/cere-dev/src/lib.rs @@ -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, diff --git a/runtime/cere/Cargo.toml b/runtime/cere/Cargo.toml index 48b83825f..30c080f8f 100644 --- a/runtime/cere/Cargo.toml +++ b/runtime/cere/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-runtime" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" @@ -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" } diff --git a/runtime/cere/constants/Cargo.toml b/runtime/cere/constants/Cargo.toml index 91dfa4484..cfbde8792 100644 --- a/runtime/cere/constants/Cargo.toml +++ b/runtime/cere/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-runtime-constants" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/cere/src/lib.rs b/runtime/cere/src/lib.rs index 04847ab88..33150f46f 100644 --- a/runtime/cere/src/lib.rs +++ b/runtime/cere/src/lib.rs @@ -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, diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index bb0963462..0871c1d68 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-runtime-common" -version = "4.7.0" +version = "4.8.0" authors = ["Parity Technologies "] edition = "2021"