You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time Ape does a call via ContractCache.instance_at, it will do proxy detection logic, which requires (I think?) 6 different calls to perform:
eth_getStorageAt
eth_getStorageAt
eth_getStorageAt
eth_getStorageAt
eth_call
eth_getCode (this one is heavy)
Suggestions
Suggestion would be to look at optimizing that proxy detection into a single batched RPC call (if available), and potentially find another way to perform whatever eth_getCode is needed for, since that's a pretty heavy call
The text was updated successfully, but these errors were encountered:
Description
Every time Ape does a call via
ContractCache.instance_at
, it will do proxy detection logic, which requires (I think?) 6 different calls to perform:eth_getStorageAt
eth_getStorageAt
eth_getStorageAt
eth_getStorageAt
eth_call
eth_getCode (this one is heavy)
Suggestions
Suggestion would be to look at optimizing that proxy detection into a single batched RPC call (if available), and potentially find another way to perform whatever
eth_getCode
is needed for, since that's a pretty heavy callThe text was updated successfully, but these errors were encountered: