diff --git a/CHANGELOG.md b/CHANGELOG.md index e378bf759..05a17d8e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.lock b/Cargo.lock index 004f09538..290670299 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -725,7 +725,7 @@ dependencies = [ [[package]] name = "cere" -version = "4.8.1" +version = "4.8.2" dependencies = [ "cere-cli", "sc-cli", @@ -735,7 +735,7 @@ dependencies = [ [[package]] name = "cere-cli" -version = "4.8.1" +version = "4.8.2" dependencies = [ "cere-client", "cere-service", @@ -749,7 +749,7 @@ dependencies = [ [[package]] name = "cere-client" -version = "4.8.1" +version = "4.8.2" dependencies = [ "cere-dev-runtime", "cere-runtime", @@ -784,7 +784,7 @@ dependencies = [ [[package]] name = "cere-dev-runtime" -version = "4.8.1" +version = "4.8.2" dependencies = [ "cere-dev-runtime-constants", "cere-runtime-common", @@ -872,7 +872,7 @@ dependencies = [ [[package]] name = "cere-dev-runtime-constants" -version = "4.8.1" +version = "4.8.2" dependencies = [ "node-primitives", "sp-runtime", @@ -880,7 +880,7 @@ dependencies = [ [[package]] name = "cere-rpc" -version = "4.8.1" +version = "4.8.2" dependencies = [ "jsonrpsee", "node-primitives", @@ -910,7 +910,7 @@ dependencies = [ [[package]] name = "cere-runtime" -version = "4.8.1" +version = "4.8.2" dependencies = [ "cere-runtime-common", "cere-runtime-constants", @@ -997,7 +997,7 @@ dependencies = [ [[package]] name = "cere-runtime-common" -version = "4.8.1" +version = "4.8.2" dependencies = [ "frame-support", "node-primitives", @@ -1007,7 +1007,7 @@ dependencies = [ [[package]] name = "cere-runtime-constants" -version = "4.8.1" +version = "4.8.2" dependencies = [ "node-primitives", "sp-runtime", @@ -1015,7 +1015,7 @@ dependencies = [ [[package]] name = "cere-service" -version = "4.8.1" +version = "4.8.2" dependencies = [ "cere-client", "cere-dev-runtime", @@ -4677,7 +4677,7 @@ dependencies = [ [[package]] name = "pallet-cere-ddc" -version = "4.8.1" +version = "4.8.2" dependencies = [ "frame-support", "frame-system", @@ -4692,7 +4692,7 @@ dependencies = [ [[package]] name = "pallet-chainbridge" -version = "4.8.1" +version = "4.8.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4829,7 +4829,7 @@ dependencies = [ [[package]] name = "pallet-ddc-metrics-offchain-worker" -version = "4.8.1" +version = "4.8.2" dependencies = [ "alt_serde", "frame-support", @@ -4855,7 +4855,7 @@ dependencies = [ [[package]] name = "pallet-ddc-staking" -version = "4.8.1" +version = "4.8.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4946,7 +4946,7 @@ dependencies = [ [[package]] name = "pallet-erc20" -version = "4.8.1" +version = "4.8.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4966,7 +4966,7 @@ dependencies = [ [[package]] name = "pallet-erc721" -version = "4.8.1" +version = "4.8.2" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/Cargo.toml b/Cargo.toml index 21bfbe271..ddd0c823c 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.8.1" +version = "4.8.2" edition = "2021" build = "build.rs" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 460371d3c..525299b40 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-cli" -version = "4.8.1" +version = "4.8.2" edition = "2021" [package.metadata.wasm-pack.profile.release] diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index dbafa5fa8..e99aa54ba 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-client" -version = "4.8.1" +version = "4.8.2" edition = "2021" [dependencies] diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index d444e3244..3be0f57ca 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-service" -version = "4.8.1" +version = "4.8.2" edition = "2021" [dependencies] diff --git a/pallets/chainbridge/Cargo.toml b/pallets/chainbridge/Cargo.toml index de714f861..0c4360c19 100644 --- a/pallets/chainbridge/Cargo.toml +++ b/pallets/chainbridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-chainbridge" -version = "4.8.1" +version = "4.8.2" 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 74747a397..4c4b793a8 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.8.1" +version = "4.8.2" authors = ["Parity Technologies "] edition = "2021" license = "Unlicense" diff --git a/pallets/ddc-staking/Cargo.toml b/pallets/ddc-staking/Cargo.toml index ce16ead54..85871b7ac 100644 --- a/pallets/ddc-staking/Cargo.toml +++ b/pallets/ddc-staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-ddc-staking" -version = "4.8.1" +version = "4.8.2" edition = "2021" [dependencies] diff --git a/pallets/ddc/Cargo.toml b/pallets/ddc/Cargo.toml index 9c89014d1..d34cea0a3 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.8.1' +version = '4.8.2' readme = 'README.md' [package.metadata.docs.rs] diff --git a/pallets/erc20/Cargo.toml b/pallets/erc20/Cargo.toml index 6cce2c8d4..eb7207658 100644 --- a/pallets/erc20/Cargo.toml +++ b/pallets/erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-erc20" -version = "4.8.1" +version = "4.8.2" authors = ["Parity Technologies "] edition = "2021" license = "Unlicense" diff --git a/pallets/erc721/Cargo.toml b/pallets/erc721/Cargo.toml index 3f586f103..b66b5ad47 100644 --- a/pallets/erc721/Cargo.toml +++ b/pallets/erc721/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-erc721" -version = "4.8.1" +version = "4.8.2" authors = ["Parity Technologies "] edition = "2021" license = "Unlicense" diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index e037f35f4..0d469071c 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-rpc" -version = "4.8.1" +version = "4.8.2" edition = "2021" [dependencies] diff --git a/runtime/cere-dev/Cargo.toml b/runtime/cere-dev/Cargo.toml index 830a27c08..677eb05c4 100644 --- a/runtime/cere-dev/Cargo.toml +++ b/runtime/cere-dev/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-dev-runtime" -version = "4.8.1" +version = "4.8.2" 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.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" } diff --git a/runtime/cere-dev/constants/Cargo.toml b/runtime/cere-dev/constants/Cargo.toml index 5fdb89737..2090d4a51 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.8.1" +version = "4.8.2" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/cere-dev/src/lib.rs b/runtime/cere-dev/src/lib.rs index 1823209fc..864be7d12 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: 48001, + spec_version: 48200, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 5, @@ -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; @@ -802,11 +802,11 @@ impl pallet_collective::Config 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"; @@ -876,12 +876,12 @@ impl pallet_membership::Config 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; @@ -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; diff --git a/runtime/cere/Cargo.toml b/runtime/cere/Cargo.toml index 59a2668cd..d7afcefdb 100644 --- a/runtime/cere/Cargo.toml +++ b/runtime/cere/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-runtime" -version = "4.8.1" +version = "4.8.2" 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.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" } diff --git a/runtime/cere/constants/Cargo.toml b/runtime/cere/constants/Cargo.toml index 2188486ef..75727ca02 100644 --- a/runtime/cere/constants/Cargo.toml +++ b/runtime/cere/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-runtime-constants" -version = "4.8.1" +version = "4.8.2" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/cere/src/lib.rs b/runtime/cere/src/lib.rs index 9145da19c..fa5aae54e 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: 48001, + spec_version: 48200, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 5, @@ -725,7 +725,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; @@ -801,11 +801,11 @@ impl pallet_collective::Config 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"; @@ -875,12 +875,12 @@ impl pallet_membership::Config 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; @@ -915,7 +915,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; diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 15c08df07..e94be8e92 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cere-runtime-common" -version = "4.8.1" +version = "4.8.2" authors = ["Parity Technologies "] edition = "2021"