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
Previously, fn_name was a named argument, used like:
```
contract.encode_abi(fn_name="register", ...)
```
But now, fn_name is the unnamed first argument, used like:
```
contract.encode_abi("register", ...)
```
(I believe, at least - I note that line 326, which defines the class method, uses it this way:
```
.. py:classmethod:: Contract.encode_abi(fn_name, args=None, kwargs=None, data=None)
```
And in my local project `encode_abi("getNames", ...)` worked where `encode_abi(fn_name="getNames", ...)` did not.
0 commit comments