We have released a new version of Bor and Heimdall - v0.3.0 with an incremented minor version. As explained in the previous post, we have added a new CLI in Bor and have also changed the way Bor and Heimdall are deployed to follow DevOps best practices and make it easier to manage the processes. This upgrade is backwards incompatible. Please ensure that all Mumbai nodes are upgraded soon, before the release of the next version v0.3.1 that will contain a hardfork which is scheduled to kick in on 7th Dec 2022 (tentative).
Important Note: For our next releases, v0.3.1 and onward, upgrading to version 0.3.0 is necessary.
Changes from deployment perspective
- Provide a new approach to install heimdall binary with a shell script.
- Remove
bridge
binary and add it as a subcommand inheimdalld
. - Remove
heimdalld-rest-server.service
andheimdalld-bridge.service
, and moveheimdalld.service
file from/etc/systemd/system
to/lib/systemd/system
. - Change default heimdall home from
~/.heimdalld
to/var/lib/heimdall
. - A new user named
heimdall
will be created during package installation if it doesn’t exist. This user will be running heimdall service. - Heimdall packaging installation is now simplified to
sudo dpkg -i heimdalld-$version-$arch.deb
- Heimdall profile installation for new hosts is accomplished by running
sudo dpkg -i heimdalld-$network-$nodetype-config_$version-$arch.deb
Detailed changelog
- In v0.2.x,
heimdalld
andbridge
are two separate binaries. In v0.3.0,bridge
will become a subcommand ofheimdalld
. - In v0.2.x,
heimdalld
,bridge
, andrest-server
are run in three different processes. In v0.3.0, they could be launched together in a single process with one CLI command. - In v0.3.0, building different
heimdalld
binary for different network is no longer needed.heimdalld
binary will support both mainnet and mumbai testnet. - Log level of heimdall is changed from a single letter to a full word. Example:
BeforeI[2022-09-22|19:11:42.896] Served RPC HTTP response
AfterINFO [2022-09-22|19:11:42.896] Served RPC HTTP response
- heimdall no longer needs a genesis file. Instead, the genesis file will be embedded in the binary of heimdalld.
- Provide possibility to log in
json
format by setting the paramlogs_type = "json"
in theheimdall-config.toml
file. - Change
TaskDelayBetweenEachVal
from 24s to 10s to reduceStateSynced
event delays - Log elapsed time for each method involved in the
StateSynced
flow. - Add benchmark tests for the most time consuming functions involved in the
StateSynced
flow.
Full Changelog: v0.2.12...v0.3.0-beta