go-ethereum/internal/ethapi
Sina M bca0646ede
internal/ethapi: fix tx.from in eth_simulateV1 (#31480)
Issue statement: when user requests eth_simulateV1 to return full
transaction objects, these objects always had an empty `from` field. The
reason is we lose the sender when translation the message into a
types.Transaction which is then later on serialized.

I did think of an alternative but opted to keep with this approach as it
keeps complexity at the edge. The alternative would be to pass down a
signer object to RPCMarshal* methods and define a custom signer which
keeps the senders in its state and doesn't attempt the signature
recovery.
2025-05-05 12:42:19 +02:00
..
override internal/ethapi: support for beacon root and withdrawals in simulate api (#31304) 2025-03-24 19:08:53 +01:00
testdata core: implement eip-7623 floor data gas (#30946) 2025-01-30 09:07:45 -07:00
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api.go core: reduce load on txindexer from API (#31752) 2025-05-05 10:07:55 +08:00
api_test.go internal/ethapi: fix tx.from in eth_simulateV1 (#31480) 2025-05-05 12:42:19 +02:00
backend.go core: reduce load on txindexer from API (#31752) 2025-05-05 10:07:55 +08:00
dbapi.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
errors.go internal/ethapi: eth_multicall (#27720) 2024-09-06 11:31:00 +02:00
logtracer.go internal/ethapi: eth_multicall (#27720) 2024-09-06 11:31:00 +02:00
simulate.go internal/ethapi: fix tx.from in eth_simulateV1 (#31480) 2025-05-05 12:42:19 +02:00
simulate_test.go internal/ethapi: update default simulation timestamp increment to 12 (#30981) 2025-01-03 20:15:06 +08:00
transaction_args.go params,core: add max and target value to chain config (#31002) 2025-02-04 15:43:18 +01:00
transaction_args_test.go core: reduce load on txindexer from API (#31752) 2025-05-05 10:07:55 +08:00