Skip to content

Commit

Permalink
fix: remove call to enable ethpm within web3
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdefinitelyahuman committed Feb 2, 2024
1 parent 307464f commit 4ff9a16
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions brownie/network/web3.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@


class Web3(_Web3):

"""Brownie Web3 subclass"""

def __init__(self) -> None:
super().__init__(HTTPProvider("null"))
self.enable_unstable_package_management_api()
self.provider = None
self._mainnet_w3: Optional[_Web3] = None
self._genesis_hash: Optional[str] = None
Expand Down Expand Up @@ -142,7 +140,6 @@ def _mainnet(self) -> _Web3:
if not self._mainnet_w3:
uri = _expand_environment_vars(mainnet["host"])
self._mainnet_w3 = _Web3(HTTPProvider(uri))
self._mainnet_w3.enable_unstable_package_management_api()
return self._mainnet_w3

@property
Expand Down

0 comments on commit 4ff9a16

Please sign in to comment.