blockchain-etl / polygon-etl

ETL (extract, transform and load) tools for ingesting Polygon blockchain data to Google BigQuery and Pub/Sub
MIT License
101 stars 76 forks source link

Validate bytecode in EthContractService.get_function_sighashes #192

Closed medvedev1088 closed 1 year ago

medvedev1088 commented 1 year ago

What?

Validate bytecode in EthContractService.get_function_sighashes

Why?

Starting with Polygon v1.0.4 contract creation traces contain empty string instead of 0x in the output field. See https://polygonscan.com/tx/0xcf4742c7f9b5827ec21462f20c554f2e6e1d87a12b7eb58281a91e1eec9521ac for an example