From fd5b5d8103eb0d85b5437f292822ab7efaac7f23 Mon Sep 17 00:00:00 2001 From: Miguel de Elias Date: Wed, 10 Apr 2024 11:47:11 -0300 Subject: [PATCH] fix: fmt errors --- availability-oracle/src/contract.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/availability-oracle/src/contract.rs b/availability-oracle/src/contract.rs index cdb2392..450516c 100644 --- a/availability-oracle/src/contract.rs +++ b/availability-oracle/src/contract.rs @@ -99,9 +99,7 @@ impl StateManager for RewardsManagerContract { let ids: Vec<[u8; 32usize]> = chunk.iter().map(|s| s.0).collect(); let statuses: Vec = chunk.iter().map(|s| s.1).collect(); let num_subgraphs = ids.len() as u64; - let tx = self - .contract - .set_denied_many(ids, statuses); + let tx = self.contract.set_denied_many(ids, statuses); if let Err(err) = tx.call().await { let message = err.decode_revert::().unwrap_or(err.to_string()); @@ -127,9 +125,7 @@ impl StateManager for SubgraphAvailabilityManagerContract { let statuses: Vec = chunk.iter().map(|s| s.1).collect(); let num_subgraphs = ids.len() as u64; let oracle_index = U256::from(self.oracle_index); - let tx = self - .contract - .vote_many(ids, statuses, oracle_index); + let tx = self.contract.vote_many(ids, statuses, oracle_index); if let Err(err) = tx.call().await { let message = err.decode_revert::().unwrap_or(err.to_string());