Skip to content

Commit

Permalink
Revert "feat(core): log all variables"
Browse files Browse the repository at this point in the history
This reverts commit 4a542f6.
  • Loading branch information
remiroyc committed Sep 7, 2023
1 parent 4a542f6 commit d60e5d2
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::core::block::process_blocks_continuously;
use anyhow::Result;
use ark_starknet::{client2::StarknetClient, collection_manager::CollectionManager};
use aws_config::meta::region::RegionProviderChain;
use aws_sdk_dynamodb::{types::AttributeValue, Client as DynamoClient};
use aws_sdk_dynamodb::Client as DynamoClient;
use aws_sdk_kinesis::Client as KinesisClient;
use dotenv::dotenv;
use reqwest::{Client as ReqwestClient, Url};
Expand All @@ -33,21 +33,6 @@ async fn main() -> Result<()> {
let dynamo_client = DynamoClient::new(&config);
let reqwest_client = ReqwestClient::new();

// let indexer_table_name =
// env::var("ARK_INDEXER_TABLE_NAME").expect("ARK_INDEXER_TABLE_NAME must be set");

// let indexer_table_name =
// env::var("ARK_INDEXER_TABLE_NAME").expect("ARK_INDEXER_TABLE_NAME must be set");
// dynamo_client
// .put_item()
// .table_name(indexer_table_name)
// .item("PK", AttributeValue::S());

// Iterate over all environment variables and log them
for (key, value) in env::vars() {
log::info!("{}: {}", key, value);
}

process_blocks_continuously(
&collection_manager,
&rpc_client,
Expand Down

0 comments on commit d60e5d2

Please sign in to comment.