plugeth/core/state
Felix Lange b628d72766
build: upgrade to go 1.19 (#25726)
This changes the CI / release builds to use the latest Go version. It also
upgrades golangci-lint to a newer version compatible with Go 1.19.

In Go 1.19, godoc has gained official support for links and lists. The
syntax for code blocks in doc comments has changed and now requires a
leading tab character. gofmt adapts comments to the new syntax
automatically, so there are a lot of comment re-formatting changes in this
PR. We need to apply the new format in order to pass the CI lint stage with
Go 1.19.

With the linter upgrade, I have decided to disable 'gosec' - it produces
too many false-positive warnings. The 'deadcode' and 'varcheck' linters
have also been removed because golangci-lint warns about them being
unmaintained. 'unused' provides similar coverage and we already have it
enabled, so we don't lose much with this change.
2022-09-10 13:25:40 +02:00
..
pruner build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
snapshot build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
access_list.go all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) 2020-10-23 08:26:57 +02:00
database.go core, light, trie: remove DiskDB function from trie database (#25690) 2022-09-07 09:08:56 +02:00
dump.go core/state: move state account to core/types + abstracted "write account to trie" (#23567) 2021-09-28 10:48:07 +02:00
iterator_test.go core, light, trie: remove DiskDB function from trie database (#25690) 2022-09-07 09:08:56 +02:00
iterator.go core/state: move state account to core/types + abstracted "write account to trie" (#23567) 2021-09-28 10:48:07 +02:00
journal.go core/state: fix typos in comments (#23702) 2021-10-10 15:00:00 +02:00
metrics.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
state_object_test.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
state_object.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
state_test.go core, trie, eth, cmd: rework preimage store (#25287) 2022-07-27 20:37:04 +02:00
statedb_test.go core/state, trie: fix trie flush order for proper pruning 2022-08-23 21:17:12 +03:00
statedb.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
sync_test.go core, light, trie: remove DiskDB function from trie database (#25690) 2022-09-07 09:08:56 +02:00
sync.go core, les, eth: port snap sync changes (#24898) 2022-07-15 14:55:51 +03:00
trie_prefetcher_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
trie_prefetcher.go core/state: filter out nil trie for copy (#25575) 2022-09-01 09:34:32 +02:00