POA Forum

[Proposal] Increase block gas limit from 10M to 12.5M

Dear @xdai-validators

Recently, Ethereum Mainnet miners increased block gas limit up to 12.5M gas/block (https://ethstats.net/). To keep smart contracts functionality of xDai compatible with ETH, we propose to increase block gas limits in xDai as well.

Please, follow these steps to update the limit on your validator node.

  1. Connect to your validator node.

  2. Create a backup copy of current version of OpenEthereum 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

  1. 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 = "10000000"
...
  1. Change the value from "10000000" to "12500000"

  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://dai-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 
1 Like

syncnode validator updated the gas limit

2 Likes

@xdai-validators Friendly remainder. Currently, half of the xDai validators have increased gas limit. In order to have 12.5M for the chain, all its validators should increase gas_floor_target to 12.5M.

2 Likes

Done for Protofire :wink:

1 Like

Done by lab10 collective.

1 Like