Hi all, we have released a new version of bor, v2.2.3-beta
These releases include a fix for state sync fetching from heimdall-v2.
Only install on Amoy nodes (post heimdall migration).
Steps for upgrading Bor node
-
Stop bor service
sudo service bor stop
-
Install Bor with a version tag, network name (amoy), and node type (sentry, validator or archive).
# Replace the node type curl -L https://raw.githubusercontent.com/maticnetwork/install/main/bor.sh | bash -s -- v2.2.3-beta <network> <node_type>
-
Check bor version
/usr/bin/bor version # It should print # v2.2.3-beta
-
(if not done already) Enable websockets for bor-v2 comms. Edit your bor
config.toml
file and add the following under the [heimdall] section:[heimdall] ws-address = "ws://localhost:26657/websocket"
-
Restart bor service
sudo service bor start
Docker Images
You can find the latest docker images here:
https://hub.docker.com/r/0xpolygon/bor/tags
Why WebSockets for Bor–Heimdall communication?
By default, bor polls heimdall-v2 by using frequent HTTP requests, which can be inefficient.
In step 4 we reminded you to enable WebSocket support in your bor config.toml
for the migrated amoy nodes. file. This is because, after the migration, to optimize communication between Heimdall and Bor, you can enable WebSockets. By default, heimdall-v2 polls bor by using frequent HTTP requests, which can be inefficient. Enabling WebSocket support reduces overhead and improves sync responsiveness.
If not done yet, edit your bor config.toml
file and add the following under the [heimdall] section:
[heimdall]
ws-address = "ws://localhost:26657/websocket"
This assumes Heimdall-v2 is running with its WebSocket endpoint enabled on port 26657.
Adjust the port or host if your setup differs.
After updating, restart your Bor node to apply the new configuration.