bsc/.github
lx 01d75a9d21
dependency: go version to 1.20 and some dependencies in go.mod (#1939)
* go.mod: upgrade prysm and the indrect dependency
prysm from v4.0.2 to v4.0.8, and run go mod tidy

* ci: upgrade go version from 1.19 to 1.20
* go-version: upgrade from v1.19 to v1.20
there is some dependency on go v1.20, such as go-libp2p v0.27.8
and also run go mod tidy

* dependency: upgrade docker version for security
it is not a big issue, since docker is only used for test purpose.

* rand: update the usage of math/rand after golang v1.20

2 APIs of math/rand module were deprecated since golang v1.20.
that is: rand.Seed() and rand.Read(), refer: ettps://pkg.go.dev/math/rand

"rand.Seed(seed int64)" has been replaced by: "r := rand.New(rand.NewSource(seed int64))",
need to initialize it with an instance before use

"rand.Read()" has been replaced by "crypto/rand.Read()"

* readme: need golang v1.20+ to build bsc
2023-10-24 21:51:30 +08:00
..
ISSUE_TEMPLATE upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
workflows dependency: go version to 1.20 and some dependencies in go.mod (#1939) 2023-10-24 21:51:30 +08:00
CODEOWNERS remove @gballet as a GraphQL codeowner (#27012) 2023-03-30 04:58:23 -04:00
commitlint.config.js ci: increase header-max-length from 72 to 80 for master branch (#1834) 2023-08-22 21:35:43 +08:00
CONTRIBUTING.md all: update links in documentation (#26882) 2023-03-14 10:23:49 -04:00
generate_change_log.sh ci: fix release job (#1519) 2023-04-24 22:30:27 +08:00
no-response.yml Change issue labels in bot configs to the new prefixed version 2018-12-14 14:50:10 +01:00
release.env docs: some url update (#1742) 2023-06-30 17:26:38 +08:00
stale.yml Change issue labels in bot configs to the new prefixed version 2018-12-14 14:50:10 +01:00