Unverified Commit e991db14 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Rococo V1 (#2141)



* Update to latest master and use 30 minutes sessions

* add bootnodes to chainspec

* Update Substrate

* Update chain-spec

* Update Cargo.lock

* GENESIS

* Change session length to one hour

* Bump spec_version to not fuck anything up ;)
Co-authored-by: Erin Grasmick's avatarErin Grasmick <erin@parity.io>
parent adc364f7
Pipeline #117642 canceled with stages
in 18 minutes and 21 seconds
This diff is collapsed.
This diff is collapsed.
......@@ -33,8 +33,7 @@ pub mod time {
use primitives::v0::{Moment, BlockNumber};
pub const MILLISECS_PER_BLOCK: Moment = 6000;
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
// 30 seconds for now
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = MINUTES / 2;
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 1 * HOURS;
// These time units are defined in number of blocks.
pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
......
......@@ -105,7 +105,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("rococo"),
impl_name: create_runtime_str!("parity-rococo-v1"),
authoring_version: 0,
spec_version: 10,
spec_version: 11,
impl_version: 0,
#[cfg(not(feature = "disable-runtime-api"))]
apis: RUNTIME_API_VERSIONS,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment