You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
we are using web3 eth.getTransaction function to batch fetch transaction data using eth.BatchRequest();.
However, in web3-core-helpers the outputTransactionFormatter is throwing "Error: Number can only safely store up to 53 bits" when is trying to parse gas value for BNB chain.
Here is a tx example: 0x3e005e4ef863873682e028a3f500ee575474ded431edc09ee70e7e3c4e981c6a
and the gas that is passed is
gas: '0x7fffffffffffffff'
Expected behavior
to properly parse the value
Actual behavior
throws Error: Number can only safely store up to 53 bits
Hello,
we are using web3 eth.getTransaction function to batch fetch transaction data using eth.BatchRequest();.
However, in web3-core-helpers the outputTransactionFormatter is throwing "Error: Number can only safely store up to 53 bits" when is trying to parse gas value for BNB chain.
Here is a tx example: 0x3e005e4ef863873682e028a3f500ee575474ded431edc09ee70e7e3c4e981c6a
and the gas that is passed is
gas: '0x7fffffffffffffff'
Expected behavior
to properly parse the value
Actual behavior
throws Error: Number can only safely store up to 53 bits
Environment
Web3 version 1.7.5