Forum

[Proposal] Increase block gas limit to 12.5M

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.

  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.

  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://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

Hi @poa-validators, friendly reminder

2 Likes

My guess it is @radotzki @tomteman Portis and @austintgriffith Burner Wallet who haven’t updated yet according to what I see in Blockscout explorer.

@ArseniiPetrovich this thread is about POA Core, not xDai :slight_smile:

Updated both my Sokol and Core validator nodes.

Best, MM

1 Like

Updated quite some time ago and forgot to reply here

1 Like