Skip to content

Commit

Permalink
rm comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Enddy Dumbrique committed Oct 26, 2023
1 parent 7439651 commit 3fbc3d5
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions runtime/frequency/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1368,36 +1368,10 @@ impl_runtime_apis! {
}
}

// #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))]
// struct CheckInherents;
// #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))]
// #[allow(clippy::expect_used)]
// impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {
// fn check_inherents(
// block: &Block,
// relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,
// ) -> sp_inherents::CheckInherentsResult {
// let relay_chain_slot = relay_state_proof
// .read_slot()
// .expect("Could not read the relay chain slot from the proof");

// let inherent_data =
// cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(
// relay_chain_slot,
// sp_std::time::Duration::from_secs(6),
// )
// .create_inherent_data()
// .expect("Could not create the timestamp inherent data");

// inherent_data.check_extrinsics(block)
// }
// }

#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))]
cumulus_pallet_parachain_system::register_validate_block! {
Runtime = Runtime,
BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
// CheckInherents = CheckInherents,
}

#[cfg(test)]
Expand Down

0 comments on commit 3fbc3d5

Please sign in to comment.