Recently, Ethereum Mainnet miners increased block gas limit up to 12.5M gas/block (https://ethstats.net/). To keep smart contracts functionality of Kovan compatible with ETH, we propose to increase block gas limits in Kovan as well.
You can follow these steps to update the limit on your Kovan validator node.
Connect to your Kovan 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
Check in netstats (https://kovan-netstat.poa.network) that your node is “green” and in sync with others.
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