Skip to content

Commit

Permalink
chore: remove debugging logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoreira-valory committed Sep 14, 2023
1 parent aee8677 commit 39df495
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,6 @@ def get_markets(self) -> Generator[None, None, Tuple[List[Dict[str, Any]], int]]
creator=self.synchronized_data.safe_contract_address.lower(),
)

self.context.logger.info(f"Subgraph query: {subgraph_query}")

if response is None:
return [], 0
markets = []
Expand Down Expand Up @@ -477,8 +475,6 @@ def get_markets(self) -> Generator[None, None, Tuple[List[Dict[str, Any]], int]]
market["question_id"] = condition["question"]["id"]
markets.append(market)

self.context.logger.info(f"Markets from subgraph query: {markets}")

market_addresses = [market["address"] for market in markets]
market_addresses_with_funds = yield from self._get_markets_with_funds(
market_addresses, self.synchronized_data.safe_contract_address
Expand All @@ -487,8 +483,6 @@ def get_markets(self) -> Generator[None, None, Tuple[List[Dict[str, Any]], int]]
str(market).lower() for market in market_addresses_with_funds
]

self.context.logger.info(f"market_addresses_with_funds: {market_addresses_with_funds}")

markets_with_funds = []
for market in markets:
if str(market["address"]).lower() not in market_addresses_with_funds_str:
Expand Down

0 comments on commit 39df495

Please sign in to comment.