diff --git a/availability-oracle/src/contract.rs b/availability-oracle/src/contract.rs index e30fe89..3b7a023 100644 --- a/availability-oracle/src/contract.rs +++ b/availability-oracle/src/contract.rs @@ -102,9 +102,7 @@ impl StateManager for RewardsManagerContract { let tx = self.contract.set_denied_many(ids, statuses); // Calculate estimated gas - let estimated_gas_tx = tx - .estimate_gas() - .await; + let estimated_gas_tx = tx.estimate_gas().await; let estimated_gas = match estimated_gas_tx { Ok(estimate) => estimate, @@ -141,9 +139,7 @@ impl StateManager for SubgraphAvailabilityManagerContract { let tx = self.contract.vote_many(ids, statuses, oracle_index); // Calculate estimated gas - let estimated_gas_tx = tx - .estimate_gas() - .await; + let estimated_gas_tx = tx.estimate_gas().await; let estimated_gas = match estimated_gas_tx { Ok(estimate) => estimate, diff --git a/availability-oracle/src/network_subgraph.rs b/availability-oracle/src/network_subgraph.rs index dea6818..4971a6e 100644 --- a/availability-oracle/src/network_subgraph.rs +++ b/availability-oracle/src/network_subgraph.rs @@ -66,7 +66,7 @@ struct GraphqlResponse { const DEPLOYMENTS_QUERY: &str = r#" query($threshold: BigInt!, $max_creation: Int!, $skip: Int!) { - subgraphDeployments(first: 1000, skip: $skip, where: { signalledTokens_gt: $threshold, createdAt_lt: $max_creation }) { + subgraphDeployments(first: 1000, skip: $skip, where: { id: "0x8ac6d590f88f1bd48f5f495b2a56f9a183f9b335d3d3a72807dbf2247c7ee558", signalledTokens_gt: $threshold, createdAt_lt: $max_creation }) { id stakedTokens deniedAt