Dear @poa-validators
We are going to activate Istanbul hard fork on Core network at block 12598600
(Thursday, 19-Dec-2019 07:00 UTC).
For that, we need to update both Parity
(to v2.6.5
) and spec.json
. The spec file of Core network is updated for the HF.
Please follow the steps below:
- ssh login to your node
- stop parity service
sudo systemctl stop poa-parity
- switch to home directory (NOTE: if you’re updating a bootnode, path is
/home/bootnode
)
cd /home/validator
pwd
output should be
/home/validator
- remove older backups
sudo rm -rf backups-version
- create a new backup
sudo mkdir backups-version
sudo touch backups-version/BEFORE-2.6.5
BKPFLDR="backups-version/$(date '+%Y%m%dT%H%M%S' -u)"
sudo mkdir -p "$BKPFLDR"
sudo mv parity spec.json "$BKPFLDR"
- switch to
validator
user (NOTE: if you’re updating a bootnode, username should bebootnode
)
sudo -i -u validator
- download new parity binary
curl -LO 'https://releases.parity.io/ethereum/v2.6.5/x86_64-unknown-linux-gnu/parity'
- check binary integrity
echo '62762f424ffcc9ea939f3e09904d64600c4966045a865cfd94f23cf967213a0d parity' | sha256sum -c
output should be
parity: OK
- set permission to execute the binary
chmod +x parity
- download new spec file
curl -LO 'https://raw.githubusercontent.com/poanetwork/poa-chain-spec/core/spec.json'
- check that new spec contains a transition block set to 12598600
grep 12598600 spec.json
output should be
"eip1283Transition": 12598600,
"eip1344Transition": 12598600,
"eip1706Transition": 12598600,
"eip1884Transition": 12598600,
"eip2028Transition": 12598600
"12598600": {
"12598600": {
"12598600": {
"12598600": {
- login back to sudo-enabled user
exit
- restart services
sudo systemctl start poa-parity && sleep 10 && sudo systemctl restart poa-netstats
- check that your node is “green” in netstats https://core-netstat.poa.network (this may take a couple of minutes)
- wait to see if your node produces new blocks https://blockscout.com/poa/core