hyperliquid-dex/hyperliquid-python-sdk

encode_structured_data is deprecated, please use encode_typed_data instead

Opened this issue · 1 comments

When I review source code for the SDK, I found this warning:
https://github.com/ethereum/eth-account/blob/main/eth_account/messages.py#L130

The usage for encode_typed_data: encode_typed_data(domain, types, message).

I can submit PR for this replacement.

My understanding is that encode_typed_data was added to eth_account in v0.10.0 but we're using v0.8.0, so encode_structured_data isn't deprecated in the version used by the SDK. If you feel like doing this you would also need to upgrade the dependencies