Remove the timestamp pallet

It was needed for contracts, which has since been removed. We now no longer
need it.
This commit is contained in:
Luke Parker
2023-01-04 23:09:58 -05:00
parent e979883f2d
commit daa88a051f
6 changed files with 5 additions and 27 deletions

View File

@@ -57,13 +57,13 @@ impl NativeExecutionDispatch for ExecutorDispatch {
pub struct Cidp;
#[async_trait::async_trait]
impl CreateInherentDataProviders<Block, ()> for Cidp {
type InherentDataProviders = (sp_timestamp::InherentDataProvider,);
type InherentDataProviders = ();
async fn create_inherent_data_providers(
&self,
_: <Block as BlockTrait>::Hash,
_: (),
) -> Result<Self::InherentDataProviders, Box<dyn Send + Sync + Error>> {
Ok((sp_timestamp::InherentDataProvider::from_system_time(),))
Ok(())
}
}