From 8c37b65effbfb28fa23853f3da02e2f8d1bdc9b5 Mon Sep 17 00:00:00 2001 From: Lesigh-3100 Date: Tue, 26 Sep 2023 11:55:40 +0300 Subject: [PATCH] Remove Tenderly Web3 instantiation --- fastlane_bot/events/managers/contracts.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fastlane_bot/events/managers/contracts.py b/fastlane_bot/events/managers/contracts.py index 63044e375..8bd4466b3 100644 --- a/fastlane_bot/events/managers/contracts.py +++ b/fastlane_bot/events/managers/contracts.py @@ -177,13 +177,6 @@ def get_pool_contract(self, exchange_name: str, address: str) -> Contract: """ if exchange_name in self.exchanges: w3 = self.web3 - if exchange_name == "bancor_pol": - # TODO: Remove this once we have a better solution - w3 = Web3( - Web3.HTTPProvider( - f"https://rpc.tenderly.co/fork/{self.tenderly_fork_id}" - ) - ) contract_key = ( self.cfg.BANCOR_V3_NETWORK_INFO_ADDRESS