-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sdk/python] sending transaction - error for unordered mosaics array #205
Labels
Comments
cryptoBeliever
added
Status: WIP
This issue or PR is a work in progress.
sdk-python
Related to the Python SDK.
labels
May 6, 2022
cryptoBeliever
changed the title
[sdk/python] error for unordered mosaics array
[sdk/python] sending transaction - error for unordered mosaics array
May 6, 2022
Jaguar0625
added a commit
that referenced
this issue
Jul 7, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Jul 8, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Jul 27, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Aug 2, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Aug 2, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Aug 19, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Aug 19, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Aug 19, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Aug 19, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
Jaguar0625
added a commit
that referenced
this issue
Sep 9, 2022
problem: currently user is expected to manually sort all ordered arrays in transaction descriptors solution: provide autosort option on create (the default) to automatically sort the arrays during creation issue: #205
auto-sorting for create() is now default behavior, py sdk 3.0.4 |
It was tested on the dev branch. Works correctly. Example transaction:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
When a mosaic array is not ordered by mosaic_id when constructing a transaction we get the error: "array passed to write array is not sorted". SDK should handle sorting and not require to sort it by the developer which is using SDK.
Example code causing the error:
Result:
Error:
array passed to write array is not sorted
Expected result:
SDK should handle sorting of mosaic array internally (if it's required to serialize sorted).
Used SDK version: 3.0.3
The corresponding issue for JS SDK: #206
The text was updated successfully, but these errors were encountered: