Hello All,
A new version of Erigon 2.60.8 has been released for both Polygon Mainnet and Polygon Amoy Testnet. This version majorly includes 2 things.
- A new hardfork for Amoy Testnet named Gandhinagar (reasoning given below).
- Schedules Ahmedabad hardfork for Polygon Mainnet (more details below).
The Ahmedabad hardfork on Amoy Testnet went through pretty smoothly on Sept 12th. However, the upgrade to WMatic
did not go as expected. The changes that were made to the bytecode did not have any effect, thus making the deployment ineffective. During the name change of WMatic to WPOL, the assigning of the new values for token symbol and token name didn’t happen properly. This is because during the hardfork, init code doesn’t run, but the new bytecode gets placed directly. The fix was to not rely on the initcode, but to instead use constant values that are part of the bytecode.
Please note, since this deployment (i.e. the Ahmedabad hardfork) was done on Amoy Testnet only, we need to execute this additional hardfork (i.e. the Gandhinagar hardfork) only on Amoy. Please upgrade your Amoy nodes before block number 12,121,856 (https://amoy.polygonscan.com/block/countdown/12121856) which is expected to be mined on Wed, Sept 18 2024 around 10 AM UTC. Announcement for Bor can be found here: https://forum.polygon.technology/t/bor-v1-4-0-beta2-amoy-release-gandhinagar-hardfork/19753.
As mentioned above, this version also schedules Ahmedabad hardfork for Polygon Mainnet. Please upgrade your mainnet nodes before block number 62,278,656 (https://polygonscan.com/block/countdown/62278656) which is expected to be mined on Thu Sep 26 2024 around 9 AM UTC. For more information about Ahmedabad hardfork, please refer to PIP-37.
Steps for upgrading Erigon node
-
Checkout latest tag and build erigon.
cd ~/erigon git pull --tags git checkout 2.60.8 make erigon
-
Ensure that you’re on latest verison
./build/bin/erigon --version # It should return erigon version 2.60.8-dec9d206
-
Restart the erigon service
sudo service erigon restart
View full erigon changelog here: 2.60.7…2.60.8
Thanks,
Polygon Team