mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 08:01:09 +00:00
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 <erin@parity.io>
This commit is contained in:
Generated
+138
-138
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -33,8 +33,7 @@ pub mod time {
|
|||||||
use primitives::v0::{Moment, BlockNumber};
|
use primitives::v0::{Moment, BlockNumber};
|
||||||
pub const MILLISECS_PER_BLOCK: Moment = 6000;
|
pub const MILLISECS_PER_BLOCK: Moment = 6000;
|
||||||
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
|
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
|
||||||
// 30 seconds for now
|
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 1 * HOURS;
|
||||||
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = MINUTES / 2;
|
|
||||||
|
|
||||||
// These time units are defined in number of blocks.
|
// These time units are defined in number of blocks.
|
||||||
pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
|
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"),
|
spec_name: create_runtime_str!("rococo"),
|
||||||
impl_name: create_runtime_str!("parity-rococo-v1"),
|
impl_name: create_runtime_str!("parity-rococo-v1"),
|
||||||
authoring_version: 0,
|
authoring_version: 0,
|
||||||
spec_version: 10,
|
spec_version: 11,
|
||||||
impl_version: 0,
|
impl_version: 0,
|
||||||
#[cfg(not(feature = "disable-runtime-api"))]
|
#[cfg(not(feature = "disable-runtime-api"))]
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
|
|||||||
Reference in New Issue
Block a user