Closed kakagri closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
rindexer-documentation | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 21, 2024 3:04pm |
https://github.com/joshstevens19/rindexer/pull/58 - rindexerup will get the latest one
Two fixes added related to adding a contract:
Proxy contract ABI fix
handle_add_contract_command in rindexer/cli/src/commands/add.rs was not fetching the implementation ABI correctly -> it would repeatedly fetch the contract's ABI and not the implementation's once it knew it was a proxy.
As an example here's the error that you get when adding the Aave V3 Pool contract on Ethereum (0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2)
printing metadata generated in rindexer/cli/src/commands/add.rs:85 see the below gist: https://gist.github.com/kakagri/419806f17d2f4634eebaec3d7ca95291
Verifier rate limits fix
Second is adding some timeouts when querying the ABI, this is necessary because trying to verify a proxy contract even with the above fix will yield some errors related to rate limits on the verifier's end. As an example basescan and arbiscan have different rate limits and can lead to rate limit exceed error, see below when adding Aave V3 Pool on base and arbitrum.