bsc/accounts
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
..
abi dependency: go version to 1.20 and some dependencies in go.mod (#1939) 2023-10-24 21:51:30 +08:00
external upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
keystore all: update golang/x/ext and fix slice sorting fallout (#27909) 2023-08-12 00:19:12 +02:00
scwallet accounts: replace noarg fmt.Errorf with errors.New (#27331) 2023-05-25 08:25:58 -04:00
usbwallet accounts: use atomic type (#27857) 2023-08-07 03:11:50 -04:00
accounts_test.go all: update author list and licenses 2019-07-22 12:17:27 +03:00
accounts.go dep: bump the version of several important library (#1274) 2023-02-02 19:36:37 +08:00
errors.go accounts: fix typo in comments (#24805) 2022-05-03 08:49:41 +02:00
hd_test.go accounts, signer: fix Ledger Live account derivation path (clef) (#21757) 2020-11-29 13:43:15 +01:00
hd.go dep: bump the version of several important library (#1274) 2023-02-02 19:36:37 +08:00
manager.go all: fix spelling mistakes (#25961) 2022-10-11 09:37:00 +02:00
sort.go accounts, console: frendly card errors, support pin unblock 2019-04-08 13:19:37 +02:00
url_test.go accounts: increase parseURL test coverage (#25033) 2022-10-28 09:03:21 +08:00
url.go dep: bump the version of several important library (#1274) 2023-02-02 19:36:37 +08:00