diff --git a/Cargo.lock b/Cargo.lock index 52b467cd6..a5503ce53 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2273,7 +2273,7 @@ dependencies = [ [[package]] name = "hydra-dx-runtime" -version = "6.0.0" +version = "7.0.0" dependencies = [ "frame-benchmarking", "frame-executive", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 0f9a216aa..33c3ad3ca 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://github.com/galacticcouncil/hydradx-node' license = 'Unlicense' name = 'hydra-dx-runtime' repository = 'https://github.com/galacticcouncil/hydradx-node' -version = '6.0.0' +version = '7.0.0' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/runtime/src/constants.rs b/runtime/src/constants.rs index e05534baa..93313bc0d 100644 --- a/runtime/src/constants.rs +++ b/runtime/src/constants.rs @@ -2,7 +2,7 @@ pub mod currency { pub use primitives::Balance; pub const HDX: Balance = 1_000_000_000_000; - pub const DOLLARS: Balance = HDX / 10; // 10 HDX ~= 1 $ + pub const DOLLARS: Balance = HDX / 10; // 10 HDX ~= 1 $ pub const CENTS: Balance = DOLLARS / 100; pub const MILLICENTS: Balance = CENTS / 1_000; } @@ -40,7 +40,7 @@ pub mod time { // 1 in 4 blocks (on average, not counting collisions) will be primary BABE blocks. pub const PRIMARY_PROBABILITY: (u64, u64) = (1, 4); - pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 2 * HOURS; + pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 4 * HOURS; pub const EPOCH_DURATION_IN_SLOTS: u64 = { const SLOT_FILL_RATE: f64 = MILLISECS_PER_BLOCK as f64 / SLOT_DURATION as f64; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index fed399883..b32bac83a 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -133,7 +133,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydra-dx"), impl_name: create_runtime_str!("hydra-dx"), authoring_version: 1, - spec_version: 6, + spec_version: 7, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1,