build_release.sh报错
使用编译chainmaker-go模块时,出现报错
/root/go/pkg/mod/chainmaker.org/third_party/quic-go@v1.1.0/internal/qtls/go120.go:6:13: cannot use "quic-go doesn't build on Go 1.20 yet." (untyped string constant) as int value in variable declaration make: *** [Makefile:28: chainmaker] Error 1
原因为/root/go/pkg/mod/chainmaker.org/third_party/quic-go@v1.1.0/internal/qtls/go120.go中常量定义错误
原文件为:
var _ int = "quic-go doesn't build on Go 1.20 yet."
修改为string类型即可
var _ string = "quic-go doesn't build on Go 1.20 yet."
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information