go-ethereum/tests
lightclient bbfb1e4008
all: add support for EIP-2718, EIP-2930 transactions (#21502)
This adds support for EIP-2718 typed transactions as well as EIP-2930
access list transactions (tx type 1). These EIPs are scheduled for the
Berlin fork.

There very few changes to existing APIs in core/types, and several new APIs
to deal with access list transactions. In particular, there are two new
constructor functions for transactions: types.NewTx and types.SignNewTx.
Since the canonical encoding of typed transactions is not RLP-compatible,
Transaction now has new methods for encoding and decoding: MarshalBinary
and UnmarshalBinary.

The existing EIP-155 signer does not support the new transaction types.
All code dealing with transaction signatures should be updated to use the
newer EIP-2930 signer. To make this easier for future updates, we have
added new constructor functions for types.Signer: types.LatestSigner and
types.LatestSignerForChainID. 

This change also adds support for the YoloV3 testnet.

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com>
2021-02-25 15:26:57 +01:00
..
fuzzers tests/fuzzers/les: add fuzzer for les server handler (#22282) 2021-02-20 10:40:38 +01:00
solidity tests/solidity: add contract to test every opcode (#19283) 2019-09-26 10:30:33 +02:00
testdata@6c863f03be tests: update the reference tests (#22009) 2021-01-13 11:29:28 +01:00
block_test_util.go all: bloom-filter based pruning mechanism (#21724) 2021-02-08 13:16:30 +02:00
block_test.go cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213) 2021-01-28 21:19:07 +01:00
difficulty_test_util.go all: simplify timestamps to uint64 (#19372) 2019-04-02 23:28:48 +03:00
difficulty_test.go cmd: deprecate --testnet, use named networks instead (#20852) 2020-04-09 12:09:58 +03:00
gen_btheader.go all: simplify timestamps to uint64 (#19372) 2019-04-02 23:28:48 +03:00
gen_difficultytest.go all: simplify timestamps to uint64 (#19372) 2019-04-02 23:28:48 +03:00
gen_stenv.go all: switch gas limits from big.Int to uint64 2018-01-03 14:45:35 +02:00
gen_sttransaction.go all: regenerate codecs with gencodec commit 90983d99de (#15830) 2018-01-08 15:13:22 +02:00
gen_vmexec.go all: regenerate codecs with gencodec commit 90983d99de (#15830) 2018-01-08 15:13:22 +02:00
init_test.go tests, signer: remove staticcheck warnings (#20364) 2019-11-23 12:51:37 +01:00
init.go cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213) 2021-01-28 21:19:07 +01:00
rlp_test_util.go core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) 2019-01-24 11:36:30 +01:00
rlp_test.go tests: update tests and implement general state tests (#14734) 2017-07-11 13:49:14 +02:00
state_test_util.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
state_test.go cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213) 2021-01-28 21:19:07 +01:00
transaction_test_util.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
transaction_test.go tests: make transaction tests run again, fix #19033 (#19529) 2019-05-21 14:58:06 +03:00
vm_test_util.go core, all: split vm.Context into BlockContext and TxContext (#21672) 2020-11-13 13:42:19 +01:00
vm_test.go core/state/snapshot, tests: sync snap gen + snaps in consensus tests 2020-03-03 09:17:13 +02:00