-
Notifications
You must be signed in to change notification settings - Fork 5k
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
isBN breaks in production #1777
Comments
Hay @epiqueras I've tested it with the minified version of web3 and cant reproduce your case. Tested with:
The result I got: |
@nivida
|
I think it should be solved with the PR #2000 |
@nivida what makes you think that? I have just looked at the code and |
Ran into this issue in a Web3 should use the isBN function from the BN.js library directly. |
This is still a problem. Bumping the version of "resolutions": {
"bn.js": "4.11.8"
} |
Minifying the code makes the BN instance's
constructor.name !== 'BN'
so it breaks web3's implementation ofisBN
.The text was updated successfully, but these errors were encountered: