Skip to content

Commit 8803d3f

Browse files
author
Gilad Chase
committed
chore(starknet_l1_provider): not related to mempool
Right now we're duplicating this util, until we decide on a central super-lean crate for sharing common stuff
1 parent 7083c46 commit 8803d3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/starknet_l1_provider/src/l1_scraper_tests.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use std::time::Duration;
44

55
use alloy::primitives::U256;
66
use itertools::Itertools;
7-
use mempool_test_utils::in_ci;
87
use mempool_test_utils::starknet_api_test_utils::DEFAULT_ANVIL_L1_ACCOUNT_ADDRESS;
98
use papyrus_base_layer::ethereum_base_layer_contract::{
109
EthereumBaseLayerConfig,
@@ -32,6 +31,10 @@ use crate::l1_scraper::{L1Scraper, L1ScraperConfig};
3231
use crate::test_utils::FakeL1ProviderClient;
3332
use crate::{event_identifiers_to_track, L1ProviderConfig};
3433

34+
pub fn in_ci() -> bool {
35+
std::env::var("CI").is_ok()
36+
}
37+
3538
// TODO(Gilad): Replace EthereumBaseLayerContract with a mock that has a provider initialized with
3639
// `with_recommended_fillers`, in order to be able to create txs from non-default users.
3740
async fn scraper(

0 commit comments

Comments
 (0)