I am trying to add the constantinople fork to my private net with is running on geth. I have updated to latest geth, geth 1.8.23.
I have stopped my current geth node running and have chnged the genesis file by adding constantinople block as below in config file
"config": { "chainId": 56312, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0, "constantinopleBlock": 16275, "byzantiumBlock": 0 }
However, when I try to init the geth with new config, O am getting below error
Fatal: Failed to write genesis block: mismatching Constantinople fork block in database (have <nil>, want 16275, rewindto 16274) Could someone help me to add constantinople fork to my private net.