I am trying to follow these instructions.
I do not want to sync so I run
./geth-1.9.0 --maxpeers 0 console`
and do this:
FROM="0x..."
TO="0x..."
ETH_AMOUNT=0.1
NONCE=1
VALUE=web3.toWei(ETH_AMOUNT,"ether")
TX={ from: FROM, to: TO, value: VALUE, nonce: NONCE }
personal.unlockAccount(FROM)
eth.sendTransaction(TX)
I get this error
WARN [06-30|20:58:39.016] Served eth_sendTransaction reqid=36 t=5.238384ms err="gas required exceeds allowance (5003) or always failing transaction"
Error: gas required exceeds allowance (5003) or always failing transaction
at web3.js:3143:20
at web3.js:6347:15
at web3.js:5081:36
at <anonymous>:1:1
How do I figure out if the error is "gas required exceeds allowance" or "always failing transaction"?
How do I figure out what the required gas amount and allowance amounts are?
What went wrong?