Skip to content

Commit

Permalink
Merge pull request #26 from BeanstalkFarms/fix/event-client
Browse files Browse the repository at this point in the history
fix well event client
  • Loading branch information
soilking authored Oct 8, 2024
2 parents ddd9df1 + ccdd98a commit 5777d84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/data_access/contracts/eth_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def __init__(self, event_client_type, addresses=None):
self._events_dict = FERTILIZER_EVENT_MAP
self._signature_list = FERTILIZER_SIGNATURES_LIST
elif self._event_client_type == EventClientType.CONTRACT_MIGRATED:
self._contract_addresses = [get_beanstalk_contract(self._web3)]
self._contracts = [get_beanstalk_contract(self._web3)]
self._contract_addresses = [BEANSTALK_ADDR]
self._events_dict = CONTRACTS_MIGRATED_EVENT_MAP
self._signature_list = CONTRACTS_MIGRATED_SIGNATURES_LIST
Expand Down
2 changes: 1 addition & 1 deletion src/monitors/well.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, message_function, ignorelist, discord=False, prod=False, dry_
self._discord = discord
self._eth_aquifer = EthEventsClient(EventClientType.AQUIFER, AQUIFER_ADDR)
# All addresses
self._eth_all_wells = EthEventsClient(EventClientType.WELL, address=None)
self._eth_all_wells = EthEventsClient(EventClientType.WELL)
self.basin_graph_client = BasinGraphClient()
self.bean_client = BeanClient()

Expand Down

0 comments on commit 5777d84

Please sign in to comment.