diff --git a/TNLS-Relayers/eth_interface.py b/TNLS-Relayers/eth_interface.py index 29b1141..5519d27 100644 --- a/TNLS-Relayers/eth_interface.py +++ b/TNLS-Relayers/eth_interface.py @@ -155,7 +155,7 @@ def get_last_txs(self, block_number=None, contract_interface=None): try: if block_number is None: block_number = self.provider.eth.get_block('latest').number - valid_transactions = contract_interface.contract.events.logNewTask().get_logs( + valid_transactions = contract_interface.contract.events.logNewTask().getLogs( fromBlock=block_number, toBlock=block_number ) diff --git a/requirements.txt b/TNLS-Relayers/requirements.txt similarity index 99% rename from requirements.txt rename to TNLS-Relayers/requirements.txt index 3017ed2..5a01fdc 100644 --- a/requirements.txt +++ b/TNLS-Relayers/requirements.txt @@ -147,7 +147,7 @@ urllib3==2.2.1 varint==1.0.2 waitress==3.0.0 wcwidth==0.2.13 -web3==5.29.0 +web3==5.29.2 webcolors==24.6.0 websockets==9.1 Werkzeug==3.0.3