Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions chain/ethereum/src/polling_block_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use graph::blockchain::block_stream::{
use graph::blockchain::{Block, BlockPtr, TriggerFilterWrapper};
use graph::futures03::{stream::Stream, Future, FutureExt};
use graph::prelude::{DeploymentHash, BLOCK_NUMBER_MAX};
use graph::slog::{debug, info, trace, warn, Logger};
use graph::slog::{info, trace, warn, Logger};

use graph::components::store::BlockNumber;
use graph::data::subgraph::UnifiedMappingApiVersion;
Expand Down Expand Up @@ -516,9 +516,12 @@ impl Stream for PollingBlockStream {
total_triggers as f64 / block_range_size as f64;
self.ctx.previous_block_range_size = block_range_size;
if total_triggers > 0 {
debug!(
info!(
self.ctx.logger,
"Processing {} triggers", total_triggers
"Found {} triggers in {} blocks with a block range of {}",
total_triggers,
next_blocks.len(),
block_range_size
);
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/subgraph/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ where
"block_hash" => format!("{}", block_ptr.hash)
));

debug!(logger, "Start processing block";
info!(logger, "Start processing block";
"triggers" => triggers.len());

let proof_of_indexing =
Expand Down
4 changes: 2 additions & 2 deletions runtime/wasm/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ where

// If there is an error, "gas_used" is incorrectly reported as 0.
let gas_used = result.as_ref().map(|(_, gas)| gas).unwrap_or(&Gas::ZERO);
info!(
debug!(
logger, "Done processing trigger";
&extras,
"total_ms" => elapsed.as_millis(),
Expand Down Expand Up @@ -277,7 +277,7 @@ where

// If there is an error, "gas_used" is incorrectly reported as 0.
let gas_used = result.as_ref().map(|(_, gas)| gas).unwrap_or(&Gas::ZERO);
info!(
debug!(
logger, "Done processing wasm block";
"block_ptr" => &block_ptr,
"total_ms" => elapsed.as_millis(),
Expand Down
Loading