-
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/javascript] Metadata - provide util to calculate delta (xor) value and delta length #297
Labels
Comments
cryptoBeliever
added
Status: WIP
This issue or PR is a work in progress.
sdk-javascript
Related to the Javascript SDK.
labels
Jul 5, 2022
Jaguar0625
added a commit
that referenced
this issue
Jul 7, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
Jaguar0625
added a commit
that referenced
this issue
Jul 8, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
Jaguar0625
added a commit
that referenced
this issue
Jul 8, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
Jaguar0625
added a commit
that referenced
this issue
Jul 27, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
Jaguar0625
added a commit
that referenced
this issue
Aug 2, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
Jaguar0625
added a commit
that referenced
this issue
Aug 2, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
Jaguar0625
added a commit
that referenced
this issue
Aug 19, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
Jaguar0625
added a commit
that referenced
this issue
Aug 19, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
Jaguar0625
added a commit
that referenced
this issue
Sep 9, 2022
problem: user manually has to do XOR solution: add metadataUpdateValue to simplify issue: #297
@Jaguar0625 can we close this one and #298 ? |
part of js sdk 3.0.4 |
Works correctly. I'm able to calculate xor using util ✔️ :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Current Behaviour
Previous SDK when constructing Metadata (Namespace/Mosaic/Account) Transaction automatically calculated delta value and length based on on-chain metadata value fetched during Transaction creation.
New SDK is not doing network communication but would be nice to provide a helper or other way (additional field?) to provide previous value (which the user has to manually fetch from the network) and new value. It would calculate the correct delta value and delta length to put into the transaction.
Expected Behaviour
Provide util/helper or a way to pass previous value during Metadata Transaction creation. Based on that we could calculate:
Python issue: #298
The text was updated successfully, but these errors were encountered: