chore: remove test-utils, arbitrary and proptest from built binary (#9332)

This commit is contained in:
joshieDo
2024-07-06 14:02:43 +02:00
committed by GitHub
parent 569555516b
commit b4577597c5
17 changed files with 53 additions and 31 deletions

View File

@ -172,8 +172,9 @@ impl<TX: DbTx + 'static> DatabaseProvider<TX> {
}
impl<TX: DbTxMut + DbTx> DatabaseProvider<TX> {
#[cfg(any(test, feature = "test-utils"))]
/// Inserts an historical block. Used for setting up test environments
// TODO: uncomment below, once `reth debug_cmd` has been feature gated with dev.
// #[cfg(any(test, feature = "test-utils"))]
/// Inserts an historical block. **Used for setting up test environments**
pub fn insert_historical_block(
&self,
block: SealedBlockWithSenders,