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
(bugfix) Use a defined __hash__() for unhashable, unnamed middleware:
Fixes a bug where the middleware which are not hashable, classes or the
``build`` method of builder classes, end up being given the same
identifier when a name is not provided for the middleware in the onion.
This fixes the issue by defining a unique hash for the base
``Web3Middleware`` class and using that hash in the case where the
middleware is unhashable and therefore indistinguishable from another
middleware.
Specify a unique ``__hash__()`` for unhashable ``Web3Middleware`` types and use this hash as the middleware onion key when a name is not provided for the middleware. This fixes a bug where different middleware were given the same name and therefore raised errors.
0 commit comments