Open rimrakhimov opened 1 year ago
Implemented in https://github.com/blockscout/blockscout-rs/tree/rimrakhimov/eth-bytecode-db-extractors/contracts-lookup. Tried on Optimism Mainnet (https://optimism.blockscout.com/stats) - resulted in ~1.5 million of verified contracts
Need to create an instruction how to use the script, and merge it into main branch
When a chain runs blockscout instance on existing data, the number of verified contracts is zero initially. Even though some of the contracts may be verified through eth-bytecode-db search.
We want to create a script that will look for all existing non-verified contracts and tries to verify them via eth-bytecode-db lookup. That may be enhanced further to make a search for all newly indexed contracts.