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
I'm not sure if this is an issue or a user error, but when I attempt to get the token details using get_token() for the following contracts I get an error saying 'Invalid Token Address' -
0x431ad2ff6a9c365805ebad47ee021148d6f7dbe0
0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
I've tried with a heap of other tokens without issue, but these two seem to fail. I've also tried using Versions 1,2 & 3, but the same issue on each.
I get the following exception -
Exception occurred while trying to get token 0x431ad2ff6a9C365805eBaD47Ee021148d6f7DBe0: Python int too large to convert to C ssize_t
I can find the contracts on etherscan, so not sure what I'm doing wrong.
Activity
ErikBjare commentedon Oct 5, 2021
I've noticed this with MKR before too.
It is due to those contracts using the
bytes32type for theirsymbol, instead of the more commonstring. This edge case needs to be handled somehow.PRs welcome.