Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Update ethereumjs-util to 6.2.0 for solving of Node 12 problem #717

Closed
gluxix opened this issue Feb 12, 2020 · 0 comments
Closed

Update ethereumjs-util to 6.2.0 for solving of Node 12 problem #717

gluxix opened this issue Feb 12, 2020 · 0 comments

Comments

@gluxix
Copy link

gluxix commented Feb 12, 2020

Node 12 has a problem with keccak package. This problem has been solved since keccak@2.1.0 version. There are packages dependent on old version of keccak, e.g. ethereumjs-util under 6.2.0 version.

ethereumjs-util@6.2.0 has already updated keccak dependency and it works fine with Node 12.

genache-cli depends on ethereumjs-util@6.1.0 package.

Solution

Update ethereumjs-util to 6.2.0 version.

Your Environment

  • Version used: 6.9.0
  • NodeJS Version: [ ] 6.x, [ ] 7.x (unsupported), [ ] 8.x, [ ] 9.x, [x] 12.15.0
  • Operating System and version (include distro if Linux): Mac OS 10.14.6
  • I intend to submit a pull request to fix this issue: [x]
nicholasjpaterno referenced this issue in trufflesuite/ganache Feb 12, 2020
nicholasjpaterno referenced this issue in trufflesuite/ganache Feb 13, 2020
* Update ethereumjs-util to v6.2.0

Addresses #717

* Update Transaction to prefix empty string with 0x

* Update test to use valid 0x prefixed hex value

* Add extra protection for util.buffer strings
@gluxix gluxix closed this as completed Feb 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant