Skip to content

Commit

Permalink
Merge pull request #12 from hard-nett/90u-3
Browse files Browse the repository at this point in the history
90u 3
  • Loading branch information
discoverdefiteam authored Mar 25, 2024
2 parents c4220ad + 361b416 commit 83ed40e
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 217,660 deletions.
10 changes: 5 additions & 5 deletions mainnet/upgrades/v4.2.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

### Release Details
* https://github.com/terpnetwork/terp-core/releases/tag/v4.2.0
* Chain upgrade height : `TBD`. Exact upgrade time can be checked [here](https://ping.pub/terp/block/TBD).
* Chain upgrade height : `5486131`. Exact upgrade time can be checked [here](https://ping.pub/terp/block/5486131).
* Go version has been frozen at `1.21`. If you are going to build `terpd` binary from source, make sure you are using the right GO version!

# Performing the co-ordinated upgrade

This co-ordinated upgrades requires validators to stop their validators at `halt-height`, switch their binary to `v4.2.0` and restart their nodes with the new version.
This co-ordinated upgrades requires validators to stop their validators at `5486131`, switch their binary to `v4.2.0` and restart their nodes with the new version.

The exact sequence of steps depends on your configuration. Please take care to modify your configuration appropriately if your setup is not included in the instructions.

Expand All @@ -29,7 +29,7 @@ There are two mutually exclusive options for this stage:

```toml
# Note: Commitment of state will be attempted on the corresponding block.
halt-height = TBD
halt-height = 5486131
```
* restart terpd process

Expand All @@ -41,7 +41,7 @@ halt-height = TBD

* Do not modify `app.toml`. Restart the `terpd` process with the flag `--halt-height`:
```shell
terpd start --halt-height TBD
terpd start --halt-height 5486131
```

* Wait for the upgrade height and confirm that the node has halted
Expand All @@ -58,7 +58,7 @@ Depending on your setup, you may need to set `halt-height = 0` in your `app.toml
cd $HOME/terp-core
git pull
git fetch --tags
git checkout v4.2.0
git checkout main
make install

# verify install
Expand Down
7 changes: 7 additions & 0 deletions scripts/clawback-inactive-atom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

## export state

## filter out inactive atom holders from export

## add tokens from filtered out holders into community pool
5 changes: 5 additions & 0 deletions scripts/export-for-zero.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

## export for zero height

## remove unnessesary logs
7 changes: 7 additions & 0 deletions testnet/90u-3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 90u-2

## Genesis File
A genesis file generated from the exported state of legacy testnet `90u-2`.

## Config
contains various configuration templates for network nodes & relayers
1 change: 1 addition & 0 deletions testnet/90u-3/config/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Config
Loading

0 comments on commit 83ed40e

Please sign in to comment.