Skip to content

Commit

Permalink
Remove Tenderly Web3 instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesigh-3100 committed Sep 26, 2023
1 parent 070641f commit 8c37b65
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fastlane_bot/events/managers/contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c37b65

Please sign in to comment.