-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go is being carefully upgraded in SDK chains because of issues with state sync between nodes (although there is no evidence of this as far as I have investigated). This change upgrades Go from 1.21.13 to 1.22.10 (the latest 1.22 release). Go 1.22 is already being used in the Gaia mainnet and no problems of state sync have been reported. Once merged, this will allow the upgrade of cometbft which will fix 2 vulnerabilities raised by govuln. The Upgrading file has been lazily updated, knowing that the merge of #57 will bring more context.
- Loading branch information
Showing
5 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
# Upgrade AtomOne | ||
# Upgrading AtomOne | ||
|
||
This guide provides instructions for upgrading to specific versions of AtomOne. | ||
|
||
## Go version bump | ||
|
||
AtomOne v2 build requires a more recent version of the Go compiler: 1.22.10. If | ||
you already have go installed but with an other version, you can install | ||
go1.22.10 with the following command: | ||
|
||
```sh | ||
$ go install golang.org/dl/go1.22.10@latest | ||
$ go1.22.10 download | ||
``` | ||
|
||
Then you need to update some env variables to invoke the makefile commands of | ||
AtomOne. For example, to run `make build` : | ||
``` | ||
$ GOROOT=$(go1.22.10 env GOROOT) PATH=$GOROOT/bin:$PATH make build | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/atomone-hub/atomone | ||
|
||
go 1.21.13 | ||
go 1.22.10 | ||
|
||
require ( | ||
cosmossdk.io/api v0.3.1 | ||
|