diff --git a/kinode/packages/app_store/app_store/src/lib.rs b/kinode/packages/app_store/app_store/src/lib.rs index 2df6bd06..34c47f90 100644 --- a/kinode/packages/app_store/app_store/src/lib.rs +++ b/kinode/packages/app_store/app_store/src/lib.rs @@ -71,7 +71,6 @@ pub enum Resp { } fn fetch_logs(eth_provider: ð::Provider, filter: ð::Filter) -> Vec { - #[cfg(not(feature = "simulation-mode"))] loop { match eth_provider.get_logs(filter) { Ok(res) => return res, @@ -85,7 +84,6 @@ fn fetch_logs(eth_provider: ð::Provider, filter: ð::Filter) -> Vec break, @@ -96,7 +94,6 @@ fn subscribe_to_logs(eth_provider: ð::Provider, filter: eth::Filter) { } } } - #[cfg(not(feature = "simulation-mode"))] println!("subscribed to logs successfully"); } diff --git a/kinode/packages/kns_indexer/kns_indexer/src/lib.rs b/kinode/packages/kns_indexer/kns_indexer/src/lib.rs index 7555c3ab..09553758 100644 --- a/kinode/packages/kns_indexer/kns_indexer/src/lib.rs +++ b/kinode/packages/kns_indexer/kns_indexer/src/lib.rs @@ -99,7 +99,6 @@ sol! { } fn subscribe_to_logs(eth_provider: ð::Provider, from_block: u64, filter: eth::Filter) { - #[cfg(not(feature = "simulation-mode"))] loop { match eth_provider.subscribe(1, filter.clone().from_block(from_block)) { Ok(()) => break, @@ -110,7 +109,6 @@ fn subscribe_to_logs(eth_provider: ð::Provider, from_block: u64, filter: eth: } } } - #[cfg(not(feature = "simulation-mode"))] println!("subscribed to logs successfully"); }