bsc/accounts/abi
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
..
bind dependency: go version to 1.20 and some dependencies in go.mod (#1939) 2023-10-24 21:51:30 +08:00
abi_test.go accounts/abi: add ErrorById (#27277) 2023-05-22 12:45:55 -04:00
abi.go accounts/abi: add ErrorById (#27277) 2023-05-22 12:45:55 -04:00
argument.go accounts/abi: return toGoType error immediately (#25565) 2022-09-29 10:47:12 +02:00
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error_handling.go accounts/abi: fix integer encoding/decoding (#26568) 2023-02-07 08:32:27 -05:00
error.go all: remove trailing whitespace (#27741) 2023-08-05 00:24:32 +02:00
event_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
event.go accounts/abi/bind: fix duplicate field names in the generated go struct (#24924) 2022-10-28 09:04:37 +08:00
method_test.go accounts/abi: Prevent recalculation of internal fields (#20895) 2020-04-20 09:01:04 +02:00
method.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
pack_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
pack.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
packing_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
reflect_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
reflect.go accounts: replace noarg fmt.Errorf with errors.New (#27331) 2023-05-25 08:25:58 -04:00
selector_parser_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
selector_parser.go accounts: replace noarg fmt.Errorf with errors.New (#27331) 2023-05-25 08:25:58 -04:00
topics_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
topics.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
type_test.go accounts/abi: return error on fixed bytes with size larger than 32 bytes (#26075) 2022-11-01 14:28:40 +01:00
type.go accounts, cmd/evm: fix docstrings (#27703) 2023-07-12 06:01:55 -04:00
unpack_test.go accounts/abi: fix integer encoding/decoding (#26568) 2023-02-07 08:32:27 -05:00
unpack.go accounts: replace noarg fmt.Errorf with errors.New (#27331) 2023-05-25 08:25:58 -04:00
utils.go dep: bump the version of several important library (#1274) 2023-02-02 19:36:37 +08:00