Repository: pactus-project/pactus

Issue:
Update dependencies
Project dependencies should be updated. Follow [Update Dependencies](https://github.com/pactus-project/pactus/blob/main/docs/update-dependencies.md) document.

Discussion:
@b00f: @sureshkrishnan-v @rubyisrust @0ex-d @kindknow

We need help here. Do you guys like to fix this issue?@sureshkrishnan-v: @b00f sure I will start updating the project dependencies @b00f: Thanks @sureshkrishnan-v @b00f: @sureshkrishnan-v Did you face any difficulties here? 

Solution patch:
diff --git a/consensus/height.go b/consensus/height.go
index 9587d57f..82c28a42 100644
--- a/consensus/height.go
+++ b/consensus/height.go
@@ -33,7 +33,7 @@ func (s *newHeightState) decide() {
 func (s *newHeightState) onAddVote(_ *vote.Vote) {
 	prepares := s.log.PrepareVoteSet(s.round)
 	if prepares.HasQuorumHash() {
-		// Added logic to detect when the network majority has voted for a block,
+		// Add logic to detect when the network majority has voted for a block,
 		// but the new height timer has not yet started. This situation can occur if the system
 		// time is lagging behind the network time.
 		s.logger.Warn("detected network majority voting for a block, but the new height timer has not started yet. " +
diff --git a/node/node.go b/node/node.go
index f2119731..d7668ba9 100644
--- a/node/node.go
+++ b/node/node.go
@@ -60,10 +60,6 @@ func NewNode(genDoc *genesis.Genesis, conf *config.Config,
 
 	chainType := genDoc.ChainType()
 
-	logger.Info("You are running a Pactus blockchain",
-		"version", version.NodeVersion().StringWithAlias(),
-		"network", chainType)
-
 	broadcastPipe := pipeline.New[message.Message](ctx, "Broadcast Pipeline", 100)
 	networkPipe := pipeline.New[network.Event](ctx, "Network Pipeline", 500)
 	eventPipe := pipeline.New[any](ctx, "Event Pipeline", 100)
@@ -75,6 +71,10 @@ func NewNode(genDoc *genesis.Genesis, conf *config.Config,
 		return nil, err
 	}
 
+	logger.Info("You are running a Pactus blockchain",
+		"version", version.NodeVersion().StringWithAlias(),
+		"network", chainType, "pruned", store.IsPruned())
+
 	txPool := txpool.NewTxPool(conf.TxPool, store, broadcastPipe)
 
 	state, err := state.LoadOrNewState(genDoc, valKeys, store, txPool, eventPipe)
diff --git a/sync/sync.go b/sync/sync.go
index b4aed88c..03f4a280 100644
--- a/sync/sync.go
+++ b/sync/sync.go
@@ -407,7 +407,7 @@ func (sync *synchronizer) updateBlockchain() {
 		"numOfBlocks", numOfBlocks, "height", downloadHeight)
 
 	if numOfBlocks > sync.config.PruneWindow {
-		// Don't have blocks for mre than 10 days
+		// Don't have blocks for more than 10 days
 		sync.downloadBlocks(downloadHeight, true)
 	} else {
 		sync.downloadBlocks(downloadHeight, false)



Test patch:
diff --git a/cmd/shell/main_test.go b/cmd/shell/main_test.go
index 4208d828..da18f7ec 100644
--- a/cmd/shell/main_test.go
+++ b/cmd/shell/main_test.go
@@ -127,5 +127,5 @@ func TestConstants(t *testing.T) {
 func TestClsFunction(t *testing.T) {
 	require.NotPanics(t, func() {
 		cls()
-	}, "calling cls() shoul not panic")
+	}, "calling cls() should not panic")
 }