Luca Randazzo
Sep 1, 2018 · 1 min read

Hello Devon Wesley and thanks for this article. When I run

“web3.eth.sendRawTransaction(`0x${tx.serialize().toString(‘hex’)}`)”

the result is the follow:

Error: base fee exceeds gas limit

at Eth.send [as sendRawTransaction] (/usr/local/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/method.js:145:1)

at RequestManager.send (/usr/local/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/requestmanager.js:61:1)

at Object.InvalidResponse (/usr/local/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/errors.js:38:1)

How can I fix it?