Skip to content

Commit

Permalink
Create release 4.8.2 release
Browse files Browse the repository at this point in the history
Update governance related constants

Update spec_version
  • Loading branch information
MRamanenkau committed Dec 6, 2023
1 parent 5f1e8d3 commit 6f5f0e4
Show file tree
Hide file tree
Showing 20 changed files with 63 additions and 57 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- ...

## [4.8.2]

### Changed

- [C,D] Updated governance related constants

## [4.8.1]

### Added
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1'
version = '4.8.2'
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1"
version = "4.8.2"
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.8.1", default-features = false, path = "../../pallets/ddc-staking" }
pallet-chainbridge = { version = "4.8.1", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.1", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.1", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.1", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.1", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }
pallet-ddc-staking = { version = "4.8.2", default-features = false, path = "../../pallets/ddc-staking" }
pallet-chainbridge = { version = "4.8.2", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.2", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.2", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.2", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.2", 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.8.1"
version = "4.8.2"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
14 changes: 7 additions & 7 deletions 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: 48001,
spec_version: 48200,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 5,
Expand Down Expand Up @@ -726,7 +726,7 @@ parameter_types! {
pub const LaunchPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const VotingPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const FastTrackVotingPeriod: BlockNumber = 3 * 60 * MINUTES;
pub const MinimumDeposit: Balance = 5000 * DOLLARS;
pub const MinimumDeposit: Balance = 50_000 * DOLLARS;
pub const EnactmentPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const CooloffPeriod: BlockNumber = 7 * 24 * 60 * MINUTES;
pub const MaxProposals: u32 = 100;
Expand Down Expand Up @@ -802,11 +802,11 @@ impl pallet_collective::Config<CouncilCollective> for Runtime {
}

parameter_types! {
pub const CandidacyBond: Balance = 100 * DOLLARS;
pub const CandidacyBond: Balance = 5_000_000 * DOLLARS;
// 1 storage item created, key size is 32 bytes, value size is 16+16.
pub const VotingBondBase: Balance = deposit(1, 64);
pub const VotingBondFactor: Balance = 1 * DOLLARS;
pub const TermDuration: BlockNumber = 7 * DAYS;
pub const TermDuration: BlockNumber = 182 * DAYS;
pub const DesiredMembers: u32 = 13;
pub const DesiredRunnersUp: u32 = 20;
pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect";
Expand Down Expand Up @@ -876,12 +876,12 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {

parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5);
pub const ProposalBondMinimum: Balance = 100 * DOLLARS;
pub const ProposalBondMinimum: Balance = 50_000 * DOLLARS;
pub const SpendPeriod: BlockNumber = 1 * DAYS;
pub const Burn: Permill = Permill::from_percent(0);
pub const TipCountdown: BlockNumber = 1 * DAYS;
pub const TipFindersFee: Percent = Percent::from_percent(20);
pub const TipReportDepositBase: Balance = 1 * DOLLARS;
pub const TipReportDepositBase: Balance = 50_000 * DOLLARS;
pub const DataDepositPerByte: Balance = 1 * CENTS;
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
pub const MaximumReasonLength: u32 = 16384;
Expand Down Expand Up @@ -916,7 +916,7 @@ impl pallet_treasury::Config for Runtime {
parameter_types! {
pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);
pub const BountyValueMinimum: Balance = 10 * DOLLARS;
pub const BountyDepositBase: Balance = 1 * DOLLARS;
pub const BountyDepositBase: Balance = 50_000 * DOLLARS;
pub const CuratorDepositMultiplier: Permill = Permill::from_percent(50);
pub const CuratorDepositMin: Balance = 1 * DOLLARS;
pub const CuratorDepositMax: Balance = 100 * DOLLARS;
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.8.1"
version = "4.8.2"
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.8.1", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.1", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.1", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.1", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.1", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }
pallet-chainbridge = { version = "4.8.2", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.2", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.2", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.2", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.2", 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.8.1"
version = "4.8.2"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
Loading

0 comments on commit 6f5f0e4

Please sign in to comment.