shazow / whatsabi

Extract the ABI (and resolve proxies, and get other metadata) from Ethereum bytecode, even without source code.
https://shazow.github.io/whatsabi/
MIT License
1.04k stars 71 forks source link

Two bugs we encountered during our usage #52

Closed apollo789 closed 1 year ago

apollo789 commented 1 year ago
  1. ethers V6 doesn't have getStorageAt function, need to change it to getStorage;
  2. ethers V6 doesn't have the ethers.providers.InfuraProvider class, it has been moved to ethers.InfuraProvider.
shazow commented 1 year ago

Hiya, thanks for giving WhatsABI a try! Which version are you using? I believe this was fixed in the latest release, v0.8. :)

Let me know if v0.8 works for you.

apollo789 commented 1 year ago

Well, I clicked directly on the zip that Code downloaded, "version": "0.7.0". Should have gone to Releases to download the latest 0.8.0.Thank you, great project!

shazow commented 1 year ago

Yay, awesome! Keep the feedback coming. :) And would be happy to learn more about how you're using whatsabi.