Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Fix: Replace toBuffer with toArrayLike #73

Merged
merged 1 commit into from
Oct 26, 2018
Merged

Fix: Replace toBuffer with toArrayLike #73

merged 1 commit into from
Oct 26, 2018

Conversation

vpulim
Copy link
Contributor

@vpulim vpulim commented Oct 25, 2018

Fixes this issue with browserify: indutny/bn.js#147

@vpulim vpulim changed the title Replace toBuffer with toArrayLike Fix: Replace toBuffer with toArrayLike Oct 25, 2018
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.938% when pulling 502a039 on toarray-fix into d64c302 on master.

Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

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

Looks good, don't really have an overview, does this need a patch release?

@holgerd77
Copy link
Member

(@vpulim you can actually also prepare releases yourself and do a PR with version number change + CHANGELOG if you need one somewhere, I will then review + publish on npm)

@vpulim
Copy link
Contributor Author

vpulim commented Oct 26, 2018

@holgerd77 Thanks for the review. Yes, this would be a minor patch release (3.3.1) that allows ethereumjs-blockchain to be transpiled correctly with browserify. This fix is required in order for ethereumjs-client to run in the browser. It's a similar fix to: ethereumjs/ethereumjs-monorepo#163

@vpulim vpulim merged commit c46ae2f into master Oct 26, 2018
@vpulim vpulim deleted the toarray-fix branch October 26, 2018 12:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants