Dear @poa-validators of both Sokol and Core networks,
Recently, Ethereum Mainnet miners increased block gas limit up to 12.5M gas/block (https://ethstats.net/). To keep smart contracts functionality of Sokol and Core compatible with ETH, we propose to increase block gas limits in our networks as well.
You can follow these steps to update the limit on your Sokol and Core validator nodes.
Connect to your Sokol and/or Core validator node.
Create a backup copy of current version of parity config
sudo cp -a /home/validator/node.toml /home/validator/node.toml.bkp
- Check that backup is created
you should see
node.toml.bkp in the list.
- Open config file in your favorite text editor (I use
nanohere as an example)
sudo nano /home/validator/node.toml
- Look for
gas_floor_targetconfiguration option, it should be in the
miningsection of the file:
... [mining] ... gas_floor_target = "10000000" ...
Change the value from
Save the file and exit (in
nano: press CTRL+X and confirm YENTER)
Restart parity service and netstat agent
sudo systemctl restart poa-parity && sleep 10 && sudo systemctl restart poa-netstats
In case something goes wrong you should be able to rollback by restoring original configuration file from the backup
sudo cp -a /home/validator/node.toml.bkp /home/validator/node.toml sudo systemctl restart poa-parity && sleep 10 && sudo systemctl restart poa-netstats