go-ethereum/internal/ethapi
Daniel Liu bbfa8d9255 core, internal/ethapi: reject tx value and gas price above uint256 max
Raw RLP transactions can decode values larger than uint256, so reject them during txpool validation before they fall through to state-dependent checks.

Also return ErrUint256Overflow from state transition and map it to an invalid params RPC error so raw transaction submission reports a consistent parameter validation failure.

Add focused regression tests for txpool validation and eth_sendRawTransaction error handling.
2026-04-16 18:03:36 +08:00
..
override eth/catalyst: implement testing_buildBlockV1 (#33656) 2026-02-23 15:56:31 +01:00
testdata internal/ethapi: Add timestamp to eth_getTransactionByHash (#33709) 2026-02-02 12:20:16 +01:00
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api.go core, eth, ethclient, triedb: report trienode index progress (#34633) 2026-04-04 21:00:07 +08:00
api_test.go core, internal/ethapi: reject tx value and gas price above uint256 max 2026-04-16 18:03:36 +08:00
backend.go internal/ethapi: add eth_SendRawTransactionSync (#32830) 2025-10-16 17:34:47 +02:00
dbapi.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
errors.go core, internal/ethapi: reject tx value and gas price above uint256 max 2026-04-16 18:03:36 +08:00
logtracer.go internal/ethapi: add timestamp to logs in eth_simulate (#32831) 2025-10-06 18:19:25 +02:00
simulate.go internal/ethapi: limit number of calls to eth_simulateV1 (#34616) 2026-03-30 16:01:12 +08:00
simulate_test.go internal/ethapi: fix gas cap for eth_simulateV1 (#33952) 2026-03-05 09:09:07 +08:00
transaction_args.go internal/ethapi: include AuthorizationList in gas estimation (#33849) 2026-02-23 18:07:26 +01:00
transaction_args_test.go ethapi: reduce some of the wasted effort in GetTransactionReceipt (#32021) 2025-07-01 15:18:49 +08:00