plugeth/core/vm
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
..
runtime all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
testdata core/vm, protocol_params: implement eip-2565 modexp repricing (#21607) 2020-11-13 13:39:59 +01:00
analysis_test.go core/vm: reverse bit order in bytes of code bitmap (#24120) 2021-12-17 10:32:00 +01:00
analysis.go core/vm: optimize jumpdest analysis (#23500) 2022-06-03 10:40:14 +02:00
common.go core/vm: use uint256 in EVM implementation (#20787) 2020-06-08 15:24:40 +03:00
contract.go core/vm: simplify op lookup in contract (#23974) 2021-11-25 20:10:01 +01:00
contracts_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
contracts.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
eips.go core/vm: implement EIP-3855: PUSH0 instruction (#24039) 2022-05-06 14:36:45 +02:00
errors.go core/vm: simplify error handling in interpreter loop (#23952) 2021-11-29 14:46:24 +01:00
evm.go core/vm: rename RANDOM to PREVRANDAO (#25691) 2022-09-07 13:09:52 +02:00
gas_table_test.go core, all: split vm.Context into BlockContext and TxContext (#21672) 2020-11-13 13:42:19 +01:00
gas_table.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
gas.go core/vm: use uint256 in EVM implementation (#20787) 2020-06-08 15:24:40 +03:00
instructions_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
instructions.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
interface.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
interpreter_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
interpreter.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
jump_table.go core/vm: rename RANDOM to PREVRANDAO (#25691) 2022-09-07 13:09:52 +02:00
logger.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
memory_table.go core/vm: Rename SHA3 instruction to KECCAK256 (#23976) 2021-11-30 10:34:34 +01:00
memory.go core/vm: optimize Memory.Set32 (#24847) 2022-05-11 11:00:29 +02:00
opcodes.go core/vm: rename RANDOM to PREVRANDAO (#25691) 2022-09-07 13:09:52 +02:00
operations_acl.go core/vm: fix sstore gas comment type (#24583) 2022-03-29 11:21:11 +03:00
stack_table.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00
stack.go core/vm: clean up some dead functions (#24851) 2022-05-11 08:03:35 +03:00