Add epoch index to well known keys (#5259)

* add epoch index to well known keys

* fmt
This commit is contained in:
Amar Singh
2022-04-06 12:22:07 -04:00
committed by GitHub
parent a6120e4655
commit 1297d77c51
+6
View File
@@ -176,6 +176,12 @@ pub mod well_known_keys {
// <Hrmp as Store>::HrmpEgressChannelsIndex::prefix_hash();
//
/// The current epoch index.
///
/// The storage item should be access as a `u64` encoded value.
pub const EPOCH_INDEX: &[u8] =
&hex!["1cb6f36e027abb2091cfb5110ab5087f38316cbf8fa0da822a20ac1c55bf1be3"];
/// The current relay chain block randomness
///
/// The storage item should be accessed as a `schnorrkel::Randomness` encoded value.