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: replace node buffers with uint8arrays #118

Conversation

achingbrain
Copy link
Collaborator

@achingbrain achingbrain commented Aug 10, 2020

All uses of node Buffers have been replaced with Uint8Arrays

Depends on:

BREAKING CHANGES:

  • The .data and .seq properties of messages used to be node Buffers, now they are Uint8Arrays
  • All deps of this module now use Uint8Arrays instead of Buffers

All uses of node Buffers have been replaced with Uint8Arrays

BREAKING CHANGES:

- The `.data` and `.seq` properties of messages used to be node Buffers, now they are Uint8Arrays
- All deps of this module now use Uint8Arrays instead of Buffers
@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2020

Codecov Report

Merging #118 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #118   +/-   ##
=======================================
  Coverage   80.00%   80.00%           
=======================================
  Files           1        1           
  Lines          10       10           
=======================================
  Hits            8        8           
  Misses          2        2           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a590997...66fc3bc. Read the comment docs.

Copy link
Collaborator

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

LGTM!
@wemeetagain this will need to be rebased for gossipsub1.1. I

@vasco-santos vasco-santos merged commit 2f50108 into ChainSafe:master Aug 12, 2020
@achingbrain achingbrain deleted the fix/replace-node-buffers-with-uint8arrays branch August 12, 2020 09:40
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