-
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.
Document go 1.22 and golangci-lint 1.56 requirements (#172)
TL;DR: Due to an incompatibility with go 1.23 and a dependency of abigen, devs must explicitly install go 1.22 (ex: using brew install [email protected]) and golangci-lint 1.56. xmtpd requires abigen which uses memsize. memsize relies on access to `runtime.stopTheWorld` and `runtime.startTheWorld` [1] which was OK in go 1.22 and forbidden in go 1.23 [1] golang/go#68167
- Loading branch information
1 parent
2427b56
commit c27d0ba
Showing
2 changed files
with
5 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,9 +16,11 @@ To keep up with and provide feedback about `xmtpd` development, see the [Issues | |
|
||
## Prerequisites | ||
|
||
- [Go](https://go.dev/doc/install) | ||
- [Go 1.22](https://go.dev/doc/install) -- On macOS install with `brew install [email protected]` | ||
- [Docker](https://www.docker.com/get-started/) | ||
|
||
Note that a dependency of this repo will not compile with version of go newer than 1.22. | ||
|
||
## Install and build dependencies | ||
|
||
To install dependencies and build background services needed by the node, run: | ||
|
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