The compilations goes well on the Rinkeby testnet using the command

geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" --ipcpath "~/Library/Ethereum/geth.ipc" --syncmode light --cache 64 --maxpeers 32

but after that when the migration starts, it exits giving the error:

enter image description here

The geth console gives this:

enter image description here

Truffle Configuration goes like this:

module.exports = {
  networks: {
    development: {
      host: "",
      port: 7545,
      network_id: "*" // Match any network id
    rinkeby: {
      host: "localhost",
      port: 8545,             //port for GETH
      network_id: 4,        //network ID of Rinkeby TestNet
      gas: 7000000 

1 Answer 1


It looks like this issue: https://github.com/ethereum/go-ethereum/issues/19424.

Because you were sending LES/1 version of transaction through LES/2 protocol.

I think the only way to fix this is upgrade the geth.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.