Skip to content

Commit

Permalink
docs: upgrade go to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Apr 9, 2024
1 parent 2e2b0e3 commit aa56731
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ endif

check_version:
ifneq ($(GO_MINOR_VERSION),22)
@echo "ERROR: Go version 1.22 is required for this version of SGE. Go 1.22 has changes that are believed to break consensus."
@echo "ERROR: Go version 1.22 is required for this version of SGE. Go 1.21 has changes that are believed to break consensus."
exit 1
endif

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ At launch, the SGE Network will be optimized to deploy an inaugural application:

## Installation Steps
>
>Prerequisite: go1.21+ required. [ref](https://golang.org/doc/install)
>Prerequisite: go1.22+ required. [ref](https://golang.org/doc/install)
Sge could be installed by two ways - downloading binary from releases page or build from source.

Expand Down Expand Up @@ -138,15 +138,15 @@ sged start

| Version | Mainnet | Testnet | SDK Version |
|:-------:|:-------:|:-------:|:-----------:|
| v1.1.0 ||| v0.46.14 |
| v1.7.0 ||| v0.47.10 |

## Active Networks

### Mainnet

- [sgenet-1](https://github.com/sge-network/networks/tree/master/mainnet/sgenet-1)

- Place the genesis file with the genesis file of the chain.
- Place the genesis file with the genesis file of the chain.

```shell
wget https://github.com/sge-network/networks/blob/master/mainnet/sgenet-1/genesis.json -O ~/.sge/config/genesis.json
Expand Down Expand Up @@ -174,12 +174,12 @@ sged start --minimum-gas-prices [desired-gas-price(ex. 0.001usge)]

### Testnet

- [sge-network-3](https://github.com/sge-network/networks/tree/master/testnet/sge-network-3)
- [sge-network-4](https://github.com/sge-network/networks/tree/master/testnet/sge-network-4)

- Place the genesis file with the genesis file of the chain.

```shell
wget https://github.com/sge-network/networks/blob/master/testnet/sge-network-3/genesis.json -O ~/.sge/config/genesis.json
wget https://github.com/sge-network/networks/blob/master/testnet/sge-network-4/genesis.json -O ~/.sge/config/genesis.json
```

Verify genesis hash sum
Expand All @@ -188,7 +188,7 @@ Verify genesis hash sum
sha256sum ~/.sge/config/genesis.json
```

Correct sha256 sum for sge-network-3 genesis file is caa7f15bab24a87718bff96ffeee058373154f7701a1e8977fff46d2f620dbcb
Correct sha256 sum for sge-network-4 genesis file is caa7f15bab24a87718bff96ffeee058373154f7701a1e8977fff46d2f620dbcb

- Add `persistent_peers` or `seeds` in `${HOME}/.sge/config/config.toml`

Expand Down Expand Up @@ -231,4 +231,4 @@ sged version

### Documentations

For the most up to date documentation please visit [Gitbook](https://sgenetwork.gitbook.io/documentation-1/)
For the most up-to-date documentation please visit [Gitbook](https://sgenetwork.gitbook.io/documentation-1/)

0 comments on commit aa56731

Please sign in to comment.