Martin Holst Swende
ca3d54a32c
all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 ( #21509 )
...
* core/vm, core/state: implement EIP-2929 + YOLOv2
* core/state, core/vm: fix some review concerns
* core/state, core/vm: address review concerns
* core/vm: address review concerns
* core/vm: better documentation
* core/vm: unify sload cost as fully dynamic
* core/vm: fix typo
* core/vm/runtime: fix compilation flaw
* core/vm/runtime: fix renaming-err leftovers
* core/vm: renaming
* params/config: use correct yolov2 chainid for config
* core, params: use a proper new genesis for yolov2
* core/state/tests: golinter nitpicks
# Conflicts:
# cmd/evm/internal/t8ntool/execution.go
# cmd/geth/chaincmd.go
# cmd/geth/consolecmd.go
# cmd/geth/main.go
# cmd/geth/usage.go
# cmd/utils/flags.go
# core/state/statedb.go
# core/state/statedb_test.go
# core/vm/evm.go
# core/vm/interpreter.go
# core/vm/logger.go
# core/vm/runtime/runtime.go
# eth/api_tracer.go
2020-12-03 17:37:38 +01:00
Igor Mandrigin
948cd29be7
fixes
2020-08-29 13:43:44 +02:00
gary rong
550bd11f9d
core, eth, les, trie: add a prefix to contract code ( #21080 )
...
# Conflicts:
# cmd/evm/internal/t8ntool/execution.go
# consensus/clique/clique.go
# consensus/ethash/consensus.go
# core/block_validator.go
# core/blockchain.go
# core/blockchain_test.go
# core/genesis.go
# core/rawdb/accessors_indexes_test.go
# core/rawdb/accessors_metadata.go
# core/rawdb/chain_iterator_test.go
# core/rawdb/database.go
# core/rawdb/schema.go
# core/state/database.go
# core/state/iterator_test.go
# core/state/statedb.go
# core/state/sync.go
# core/state/sync_test.go
# core/tx_pool_test.go
# core/types/block_test.go
# core/types/derive_sha.go
# eth/downloader/downloader.go
# eth/downloader/queue.go
# eth/downloader/statesync.go
# eth/fetcher/block_fetcher.go
# eth/fetcher/block_fetcher_test.go
# eth/handler.go
# les/odr_requests.go
# les/server_handler.go
# light/odr.go
# light/odr_test.go
# light/trie.go
# miner/worker.go
# trie/database.go
# trie/secure_trie.go
# trie/sync.go
# trie/sync_bloom.go
# trie/sync_test.go
2020-08-29 13:25:20 +02:00
Martin Holst Swende
cac316dc82
cmd/evm: statet8n output folder + tx hashes on trace filenames ( #21406 )
...
* t8ntool: add output basedir
* t8ntool: add txhash to trace filename
* t8ntool: don't default to '.' basedir, allow absolute paths
# Conflicts:
# cmd/evm/internal/t8ntool/execution.go
# cmd/evm/internal/t8ntool/transition.go
2020-08-27 17:41:02 +02:00
Igor Mandrigin
8600616c3d
geth 1.9.18 post-rebase fixups
2020-08-08 17:33:35 +02:00
Martin Holst Swende
14e3fda786
cmd/evm: add state transition tool for testing ( #20958 )
...
This PR implements the EVM state transition tool, which is intended
to be the replacement for our retesteth client implementation.
Documentation is present in the cmd/evm/README.md file.
Co-authored-by: Felix Lange <fjl@twurst.com>
# Conflicts:
# cmd/evm/main.go
# core/state/dump.go
# core/state/state_test.go
# tests/state_test_util.go
2020-08-07 11:38:07 +02:00