Adds a mock provider for the parachain inherent (#484)

* Bring in code from moonbeam

* move it to mock.rs

* Actually build it 🤦
This commit is contained in:
Joshy Orndorff
2021-06-23 04:37:50 -04:00
committed by GitHub
parent 9a1e8af944
commit a8c3f11c44
4 changed files with 87 additions and 0 deletions
@@ -38,6 +38,10 @@ use sp_std::{collections::btree_map::BTreeMap, vec::Vec};
mod client_side;
#[cfg(feature = "std")]
pub use client_side::*;
#[cfg(feature = "std")]
mod mock;
#[cfg(feature = "std")]
pub use mock::MockValidationDataInherentDataProvider;
/// The identifier for the parachain inherent.
pub const INHERENT_IDENTIFIER: InherentIdentifier = *b"sysi1337";