klaytn / klaytn-etl

Python scripts for ETL (extract, transform and load) jobs for Klaytn blocks, transactions, ERC20 / ERC721 tokens, transfers, receipts, logs, contracts, internal transactions.
Other
21 stars 13 forks source link

Handle BadFunctionCallOutput error while detecting interface #25

Closed yongchand closed 1 year ago

yongchand commented 1 year ago

There are cases where you get following error: web3.exceptions.BadFunctionCallOutput: Could not decode contract function call to supportsInterface with return data: b'' This PR handles following error by try-except

yongchand commented 1 year ago

Merging this PR since this is minor PR. Please let me know if we need to fix @jeongkyun-oh