Skip to content

Conversation

@WalkerLiuFei
Copy link

No description provided.


def action_hash(action, vault_address, nonce, expires_after):
data = msgpack.packb(action)
data = msgpack.packb(action,use_bin_type=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In earlier versions, this flag defaults to False. Python’s dependency management can be chaotic for those are not familier with Python. When they using the wrong msgpack version would quickly becomes a nightmare. I ran into this exact issue and ended up spending a whole night tracking down .

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pyproject.toml specifies that the minimum required version of msgpack is 1.0.5 so that shouldn't be possible. I don't think it's worth programming this defensively

@traderben traderben marked this pull request as draft July 3, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants