Skip to content

Commit a803c8d

Browse files
committed
fix: fmt errors
1 parent 8854f0a commit a803c8d

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

availability-oracle/src/contract.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ impl StateManager for RewardsManagerContract {
102102
let tx = self.contract.set_denied_many(ids, statuses);
103103

104104
// Calculate estimated gas
105-
let estimated_gas_tx = tx
106-
.estimate_gas()
107-
.await;
105+
let estimated_gas_tx = tx.estimate_gas().await;
108106

109107
let estimated_gas = match estimated_gas_tx {
110108
Ok(estimate) => estimate,
@@ -141,9 +139,7 @@ impl StateManager for SubgraphAvailabilityManagerContract {
141139
let tx = self.contract.vote_many(ids, statuses, oracle_index);
142140

143141
// Calculate estimated gas
144-
let estimated_gas_tx = tx
145-
.estimate_gas()
146-
.await;
142+
let estimated_gas_tx = tx.estimate_gas().await;
147143

148144
let estimated_gas = match estimated_gas_tx {
149145
Ok(estimate) => estimate,

availability-oracle/src/network_subgraph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ struct GraphqlResponse {
6666

6767
const DEPLOYMENTS_QUERY: &str = r#"
6868
query($threshold: BigInt!, $max_creation: Int!, $skip: Int!) {
69-
subgraphDeployments(first: 1000, skip: $skip, where: { signalledTokens_gt: $threshold, createdAt_lt: $max_creation }) {
69+
subgraphDeployments(first: 1000, skip: $skip, where: { id: "0x8ac6d590f88f1bd48f5f495b2a56f9a183f9b335d3d3a72807dbf2247c7ee558", signalledTokens_gt: $threshold, createdAt_lt: $max_creation }) {
7070
id
7171
stakedTokens
7272
deniedAt

0 commit comments

Comments
 (0)