Skip to content
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

fix(dapi): Identifier expects Buffer #28

Merged
merged 10 commits into from
Nov 11, 2021
Merged

fix(dapi): Identifier expects Buffer #28

merged 10 commits into from
Nov 11, 2021

Conversation

shuplenkov
Copy link
Collaborator

Issue being fixed or feature implemented

CBOR v.4 used to convert Uint8Array values to Buffer on encoding. Since we migrated to CBOR v.8, which doesnt convert them anymore, we need to convert them manually.

What was done?

Convert Uint8Array to Buffer

How Has This Been Tested?

With platform test suite

Breaking Changes

No

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

Konstantin Shuplenkov and others added 2 commits November 11, 2021 15:38
…itForStateTransitionResultHandlerFactory.js

Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>
Konstantin Shuplenkov added 2 commits November 11, 2021 16:53
Copy link
Member

@shumkov shumkov left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@shumkov shumkov merged commit 58f523d into master Nov 11, 2021
@shumkov shumkov deleted the fix-cbor branch November 11, 2021 14:50
@shumkov shumkov added this to the v0.21.x milestone Feb 1, 2022
pshenmic pushed a commit that referenced this pull request Jun 24, 2022
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