-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
get error:"Number can only safely store up to 53 bits"when I used “web3.eth.getBlock()” #1960
Comments
Store it as a |
Store what as a BigNumber ?? trying ti print the result from web3.eth.getBlock() is itself giving this error. |
In many blogs I've found it was a Truffle version problem. Truffle v5 would make problems of this type. They suggest to downgrade to truffle@4.1.15. This has not been so for me. I have continue to use truffle v5. I've resolved by checking my gas limit when I sent a transaction. Node: v8.11.4 |
How did you resolve this? |
@macman18 Having the same issue and I am not using Truffle, just web3 |
+1 getting the same error when trying to get a block by the block number. BigNumber doesn't make a difference. |
+1 |
this is similar to this one #3936 (comment) |
The text was updated successfully, but these errors were encountered: