Releases: lab10-coop/sigma1
Istanbul
The Istanbul network upgrade is scheduled for block 10000000.
Why
This upgrade keeps compatibility with the Ethereum mainnet.
The changes are summarized in EIP-1679.
How
- Update your local copy of this repository with git pull
- Stop the node/trustnode with systemctl stop artis-sigma1-parity
- Execute ./download-openethereum.sh --force. This updates your openethereum binary to a new version which understands the changes in the chain specification file
- Start the OpenEthereum service with systemctl start artis-sigma1-openethereum
- Make sure the service is running: systemctl status artis-sigma1-openethereum
- (if used) restart the node-status-reporter with systemctl restart artis-sigma1-statusreporter
Petersburg
The Petersburg network upgrade is scheduled for block 2229330.
Why
It disables EIP-1283.
EIP-1283 was enabled from the start on sigma1, because it was expected to also be enabled on Ethereum with the Constantinople upgrade. However, briefly before that scheduled upgrade, it was discovered that EIP-1283 enables a new reentrancy attack. As explained in that article, this attack is possible only in the context of a smart contract with very specific properties (basically, if the recommended Checks-Effects-Interactions-Pattern is not applied).
No such vulnerable smart contract exists on sigma1. Nevertheless we apply the change in order to keep the EVM configuration as similar as possible to that of Ethereum. In this case, it's about keeping the amount of gas consumed by transactions the same across networks - with EIP-1283 enabled, many transactions consume less gas.
How
- Update your local copy of this repository with
git pull
- Stop the trustnode with
systemctl stop artis-sigma1-parity
- Execute
./download-parity.sh --force
. This updates your parity binary to a new version which understands the change in the chain specification file - Start the Parity service with
systemctl start artis-sigma1-parity
- Make sure the service is running:
systemctl status artis-sigma1-parity
- Restart the node-status-reporter with
systemctl restart artis-sigma1-statusreporter
- Report the executed update to the sigma1 trustnode chat channel