Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zorancv committed Dec 4, 2024
1 parent 233ff58 commit 51950cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions graph/src/blockchain/block_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ impl<C: Blockchain> TriggersAdapterWrapper<C> {
.get(&subgraph_filter.subgraph)
.ok_or_else(|| anyhow!("Store not found for subgraph: {}", subgraph_filter.subgraph))?;

let schema = crate::components::store::ReadStore::input_schema(store);
let schema = <dyn crate::components::store::SourceableStore>::input_schema(store);

let adapter = self.adapter.clone();

Expand Down Expand Up @@ -401,7 +401,7 @@ pub enum SubgraphTriggerScanRange<C: Blockchain> {

async fn scan_subgraph_triggers<C: Blockchain>(
logger: &Logger,
store: &Arc<dyn WritableStore>,
store: &Arc<dyn SourceableStore>,
adapter: &Arc<dyn TriggersAdapter<C>>,
schema: &InputSchema,
filter: &SubgraphFilter,
Expand Down Expand Up @@ -435,7 +435,7 @@ pub struct EntityWithType {
}

async fn get_entities_for_range(
store: &Arc<dyn WritableStore>,
store: &Arc<dyn SourceableStore>,
filter: &SubgraphFilter,
schema: &InputSchema,
from: BlockNumber,
Expand Down

0 comments on commit 51950cb

Please sign in to comment.