-
Notifications
You must be signed in to change notification settings - Fork 272
Review of behaviour: exporting imports #193
Comments
Here are my assumptions:
Thats my thoughts. Not sure what change you are suggesting. Using the exported modules is optional as it works with your own versions, so I see no problem here. Though, do clarify your concerns. |
No this is not a problem
yep! There are two reason for the current behavior
|
Will transfer this to |
This is reduced to the question around the |
I think we have found a good balance here with dropping the crypto Will close. |
The majority of the libs are using the exported imports of
ethereumjs-util
, such asBN
,rlp
andsecp256k1
.I understand the motivation behind that would be code size when processed via browserify. Is that really a problem? Shouldn't browserify work out it as long as the modules in the dependency chain use the same version of the imports?
It is more maintenance work to keep them aligned, but has a less hack-ish feeling.
Additionally,ethereumjs-vm
has another set of exports:Andethereumjs-tx
too:Update: the additions in the VM and the tx library have been removed over time.
The text was updated successfully, but these errors were encountered: