go-ethereum/core/state/snapshot
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
..
account.go core/state/snapshot: implement storage iterator (#20971) 2020-04-29 12:53:08 +03:00
context.go core/state/snapshot: detect and clean up dangling storage snapshot in generation (#24811) 2022-05-23 13:26:22 +03:00
conversion.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
difflayer.go all: remove duplicate word in comments (#25618) 2022-08-29 11:16:34 +03:00
difflayer_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
disklayer.go snapshot, trie: fixed typos, mostly in snapshot pkg (#22133) 2021-01-07 08:36:21 +02:00
disklayer_test.go core/rawdb: simplify TestDiskSeek to use memorydb (#25182) 2022-06-29 11:54:42 +02:00
generate.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
generate_test.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
holdable_iterator.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
holdable_iterator_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
iterator.go core: fix typo in iterator.go (#23502) 2021-08-31 10:21:42 +02:00
iterator_binary.go snapshot, trie: fixed typos, mostly in snapshot pkg (#22133) 2021-01-07 08:36:21 +02:00
iterator_fast.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
iterator_test.go core/state/snapshot: implement storage iterator (#20971) 2020-04-29 12:53:08 +03:00
journal.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
metrics.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
snapshot.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
snapshot_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
sort.go core: fix broken tests due to API changes + linter 2020-02-25 12:51:16 +02:00
utils.go cmd/geth, core/state/snapshot: rework journal loading, implement account-check (#24765) 2022-06-06 17:09:39 +02:00