When trying to compile the project on the (almost) most recent version of Go, the following build error happens:
$ make mainnet
(...)
Building Go code
GOOS= GOARCH= go build -ldflags "-X github.com/keep-network/keep-core/build.Version=v2.0.0-m6-15-g281685c3f -X github.com/keep-network/keep-core/build.Revision=281685c3f" -o ./keep-client -a .
# github.com/lucas-clemente/quic-go/internal/qtls
../../../go/pkg/mod/github.com/lucas-clemente/quic-go@v0.27.1/internal/qtls/go119.go:6:13: cannot use "The version of quic-go you're using can't be built on Go 1.19 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.19 yet. F...) as int value in variable declaration
make[1]: *** [build] Error 1
make: *** [mainnet] Error 2
When trying to compile the project on the (almost) most recent version of Go, the following build error happens:
The relevant link: https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions