Skip to content

Commit

Permalink
fix web3 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretSaturn committed Sep 27, 2024
1 parent 5ba4e9f commit 11a7414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TNLS-Relayers/eth_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt → TNLS-Relayers/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11a7414

Please sign in to comment.