[beta] Stricter uint256 RLP decoding. Update consensus tests to 10.1 (#3089)
* Clean up test runners. Don't run legacy tests * Cherry pick https://github.com/ethereum/go-ethereum/pull/22927 * Tests update 10.1: Transaction Tests * Port decodeBigInt changes to decodeUint256 * Introduce (*Stream) Uint256Bytes * Temporarily disable stTransactionTest/HighGasPrice * linter * ttWrongRLP transaction tests pass now * Fix stTransactionTest/HighGasPrice Co-authored-by:Felix Lange <fjl@twurst.com>
Showing
- core/state_transition.go 12 additions, 3 deletionscore/state_transition.go
- core/types/access_list_tx.go 6 additions, 24 deletionscore/types/access_list_tx.go
- core/types/block.go 3 additions, 12 deletionscore/types/block.go
- core/types/dynamic_fee_tx.go 7 additions, 28 deletionscore/types/dynamic_fee_tx.go
- core/types/legacy_tx.go 5 additions, 20 deletionscore/types/legacy_tx.go
- eth/protocols/eth/protocol.go 1 addition, 4 deletionseth/protocols/eth/protocol.go
- rlp/decode.go 70 additions, 26 deletionsrlp/decode.go
- rlp/decode_test.go 19 additions, 3 deletionsrlp/decode_test.go
- rlp/encode_test.go 8 additions, 0 deletionsrlp/encode_test.go
- tests/block_test.go 2 additions, 31 deletionstests/block_test.go
- tests/init_test.go 0 additions, 2 deletionstests/init_test.go
- tests/state_test.go 26 additions, 48 deletionstests/state_test.go
- tests/state_test_util.go 0 additions, 7 deletionstests/state_test_util.go
- tests/testdata 1 addition, 1 deletiontests/testdata
- tests/transaction_test.go 1 addition, 10 deletionstests/transaction_test.go
- tests/transaction_test_util.go 30 additions, 19 deletionstests/transaction_test_util.go
- tests/vm_test.go 0 additions, 48 deletionstests/vm_test.go
Loading
Please register or sign in to comment