Skip to content

Commit

Permalink
Merge pull request #154 from bancorprotocol/153-remove-tenderly-defau…
Browse files Browse the repository at this point in the history
…lt-for-bancor-pol-in-contractspy-get_pool_contract

Remove Tenderly Web3 instantiation
  • Loading branch information
mikewcasale authored Sep 26, 2023
2 parents 070641f + 8c37b65 commit 1056a09
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 1056a09

Please sign in to comment.