v0_1_2

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: GPL-3.0, Apache-2.0 Imports: 1 Imported by: 0

README

Upgrade to v0.1.2

Guide for Upgrading from v0.1.1 to v0.1.2

  1. Halt the currently running galacticad process.

  2. !!! Backup the data directory. !!!

  3. Fetch the latest updates from the repository and switch to the v0.1.2 tag.

    git fetch --all --tags
    git checkout v0.1.2
    
  4. Build the updated source code.

    make install
    
  5. Execute the upgrade script located at ./scripts/upgrade_v0_1_2.sh

    ./scripts/upgrade_v0_1_2.sh
    

    Ensure the following environment variable is defined:

    • GALACTICA_HOME: Specifies the home directory for the galacticad node.

    The script executes the following operations:

    • Updates the node storage to version v0.1.2.
    • Roll back the state of the most recent block.
    • Backup of the current priv_validator_state.json and replaces it with a new version with default settings.

    Alternatively, these steps can be performed manually:

    galacticad --home $GALACTICA_HOME rollback --hard
    echo '{"height":"0","round":0,"step":0}' > $GALACTICA_HOME/data/priv_validator_state.json
    

    Executing the rollback command will also automatically execute the storage upgrade.

  6. Restart the galacticad node.

Documentation

Index

Constants

View Source
const (
	UpgradeName        = "0.1.2"
	UpgradeBlockHeight = 16951
)

Variables

View Source
var Plan = upgradetypes.Plan{
	Name:   UpgradeName,
	Height: UpgradeBlockHeight,
	Info: "Addresses a critical staking PowerReduction issue by mutating validators' " +
		"power for accurate voting power recalibration and network integrity.",
}

Plan defines the upgrade plan for addressing the staking PowerReduction issue.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL