Skip to content

Conversation

@aarmoa
Copy link
Collaborator

@aarmoa aarmoa commented Jun 5, 2023

  • Refactored the order hash manager and wallet logic to remove the use of pysha3 library. That library is not compatible with Python 3.11 and is no longer maintained. It was replaced with the library safe-pysha3.
  • Also refactored the code to remove the requirement of eip712-struct, because that library requires pysha3. It was replaced by the library eip712.
  • The setup.py and Pipenv files have been updated also to remove the Python version restriction.

IMPORTANT NOTE:
The new library to have keccak hash algorithm (simple-pysha3) only works for Python >= 3.9. That means that the library from the moment we merge this PR will no longer be compatible with Python 3.7 or 3.8. Users willing to use those Python versions will have to stick to SDK version 0.6.3.2 (the last one released)

@aarmoa aarmoa requested a review from achilleas-kal June 5, 2023 13:26
… safe-pysha3 does not work with Python <=3.8)
@aarmoa aarmoa requested a review from albertchon June 5, 2023 15:10
abel and others added 18 commits June 9, 2023 17:59
… messages from the Explorer.

The transaction response message structure changed in the last chain upgrade. The messages in the transaction are now included in the messages attribute instead of the data attribute
…ion_responses_v046

fix/adapt code to transaction responses v046
…8s` anymore (that node has been removed in favor of the load balanced nodes)
…innet_node

Fix/remove k8s as valid mainnet node
…sha3. Removed also the use of pysha3 directly. This will allow the SDK to work with Python 3.11
… safe-pysha3 does not work with Python <=3.8)
@aarmoa aarmoa merged commit e96cf02 into dev Jun 15, 2023
@aarmoa aarmoa deleted the fix/remove_pysha3_dependency branch June 15, 2023 20:56
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.

3 participants