This repository was archived by the owner on Jun 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 274
[Util v7| Tracking Issue for BN.js v4 and v5 interoperability issues #250
Copy link
Copy link
Closed
Description
This library bumped the BN.js
dependency and re-export from v4 to v5 with the last v7.0.0 release.
Along the integrational work within the wallet library here ethereumjs/ethereumjs-wallet#121 there were significant interoperability issues discovered which got triggered by the tests there.
This is a tracking issue on this question since there should be some reaction here soon (within the next 5-10 days) since otherwise people upgrading to the Util v7 library and using the updated BN.js
version might run into similar issues.
Possible solutions/actions I can think of:
- This might be able to be fixed soon (within days) on the BN.js side (see comment on the issue there, if there is a release there is not too much further action needed, likely we should do a patch release here to raise awareness (it is a bit unclear though if there are more major changes on the BN.js side, reading the CHANGELOG on the v5 PR Semver-major release: 5.0.0 indutny/bn.js#219 I have the impression that there are not)
- Release a
v7.0.1
here with a downgradedBN.js
version back to^v4.11.8
and deprecatev7.0.0
(I would think this might be justified since v4 is more or less upwards-compatible)
3a. Release av8.0.0
version, otherwise same as 2.
3b. Release av8.0.0
version, get finally rid of all re-exports (technically not directly related to the question here), and - likely - go back to usev4.11.8
internally (internally used version has to be thought along)
Phew. 😛