Error: Returned error: The execution failed due to an exception. @ web3.eth.estimateGas

I am having problem using bignumber.js with web3: const sender = ‘0xss’; const recipient = ‘0xxx’; const amount = 1000; // have to use Bignumber for more than 1000 const decimals = 18; const amountHex = web3.utils.toHex(new BigNumber(`${amount}e+${decimals}`)); const count = await web3.eth.getTransactionCount(sender); const data = contract.methods.transfer(recipient, amountHex).encodeABI(); const estimateGas = await web3.eth.estimateGas({ from: sender,…

Details

Failing Installation of Ubuntu 18.04 w/ Lenovo Thinkpad P73 cannot boot up saying: “[Firmware bug]: TPM interrupt not working”

I persistently get this bug. Installed Ubuntu 18.04 LTS on a Thinkpad p73. However… It doesn’t do anything beyond that unless it do a hard-shutdown. So what I tried is… After hard-shutdown it boots into a login, but after typing my password and hitting Return/Enter it remains a purple background with mouse cursor that cannot…

Details