POA Forum

[Proposal] Increase block gas limit to 10M

Dear @poa-validators of both Sokol and Core networks

Recently, miners of ethereum network increased block gas limit up to 10M 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.

If you agree, you can follow these steps to update the limit on your sokol and core validator nodes.

  1. connect to your sokol and/or core validator node.
  2. create a backup copy of current version of parity config
sudo cp -a /home/validator/node.toml /home/validator/node.toml.bkp
  1. check that backup is created
ls /home/validator

you should see node.toml.bkp in the list
3. open config file in your favorite text editor (I use nano here as an example)

sudo nano /home/validator/node.toml
  1. look for gas_floor_target configuration option, it should be in the mining section of the file:
...
[mining]
...
gas_floor_target = "8000000"
...
  1. change the value from "8000000" to "10000000"
  2. save the file and exit (in nano: press CTRL+X and confirm YENTER)
  3. restart parity service and netstat agent
sudo systemctl restart poa-parity && sleep 10 && sudo systemctl restart poa-netstats 
  1. check in netstats (https://core-netstat.poa.network and/or https://sokol-netstat.poa.network) that your node is “green” and in sync with others
  2. 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 
2 Likes