I've created a config.toml for Ropsten (NetworkId =3) that looks like this: https://pastebin.com/raw/2DxWE1jf
But when I run
geth --config /home/path-to-config
From the cli I get: (Note ChainID:1, should be 3)
INFO [08-27|00:10:34.285] Initialised chain configuration config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 4370000 Constantinople: 7280000 Petersburg: 7280000 Istanbul: 9069000, Muir Glacier: 9200000, YOLO v1: <nil>, Engine: ethash}"
And the clients is stucked looking for peers.
What I'm missing? If I run geth --testnet
it works fine.
In Geth the configuration file works differently from bitcoin/parity?
I've also tried to dump the config file from geth --testnet
, that works, but if I delete the chaindata I have the same problem. I need to pass the configuration file on the first run of the node