Hive-Engine Witness Node, upgrade to v1.9.0

avatar
(Edited)

I am running a Hive-Engine witness node for a long time now. Today I took five minutes, maybe ten, to upgrade the node from v1.8.3 to v1.9.0. It was a mandatory upgrade since some breaking changes were introduced.

Here is the list of improvements and fixes in the latest release. Kudos to all the authors that contributed to it: @primersion, @rishi556, and @cryptomancer. Appreciated!

The process of upgrade was a very straightforward one. In fact, I didn't upgrade the node. I installed it anew and applied config and environment settings to the new installation.

The steps taken were:


-- the main directory for node app
cd /var/witness

-- clone main branch into he190 subdirectory
git clone --recursive https://github.com/hive-engine/hivesmartcontracts.git he190

-- step into directory and check branch
cd he190
git status

On branch main
Your branch is up to date with 'origin/main'.

-- compile node app
npm ci

-- backup the default config
cp config.json config.json-original

-- copy over config from old app
cp ../he183/config.json .

-- edit start block to 41967000
vim config.json

-- copy environment settings
cp ../he183/.env .

-- stop and delete current app, run the new version
pm2 stop app
pm2 delete app
pm2 start app.js
pm2 logs

-- that's it

Next steps? I need to edit the config since the light node settings were improved a bit.


Do you have any vested $workerbee?

I ask you for your support. You can vote for my witness via
https://votify.vercel.app/ervin-lemark

Thanks a lot!


better and better
:ervin :lemark



0
0
0.000
7 comments
avatar

Congrats for upgrading it!

Just curious to know how long it took to upgrade?

Sound's like it was pretty fast.

0
0
0.000
avatar

It was less than ten minutes. If everything is working as it should then the process is very straightforward.

Keeping in mind, of course, that the whole environment is already set:

  • firewall
  • nodejs
  • mongodb
  • synced sidechain database

!invest_vote

0
0
0.000
avatar

PIZZA!
The Hive.Pizza team manually curated this post.

Join us in Discord!

0
0
0.000