Commit graph

19 commits

Author SHA1 Message Date
Daniel Liu
92ffb4dba7
test(ethclient): port gethclient tests from upstream (#2053) 2026-03-06 13:20:03 +05:30
Daniel Liu
01aafc93bf
fix(ethclient): use common.Hash to debug_traceTransaction #32404 (#2048) 2026-02-28 16:59:32 +04:00
Daniel Liu
fe317dc94c
feat(ethclient): add tracing API methods #31510 (#2050)
Added methods `TraceCallWithCallTracer` and `TraceTransactionWithCallTracer`.

Fixes #28182

---------

Co-authored-by: Ragnar <rodiondenmark@gmail.com>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2026-02-28 16:59:14 +04:00
Daniel Liu
44b4a51ed4
feat(ethclient): add support for eth_simulateV1 #32856 (#1992)
Adds ethclient support for the eth_simulateV1 RPC method, which allows
simulating transactions on top of a base state without making changes to
the blockchain.

---------

Co-authored-by: hero5512 <lvshuaino@gmail.com>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2026-02-05 11:46:44 +05:30
Daniel Liu
3af629078a
internal/ethapi: eth_simulateV1 #27720 (#1606) 2025-11-08 16:09:18 +05:30
Daniel Liu
cb80dbe4f6
internal/ethapi: add block overrides to eth_call #26414 (#1332) 2025-09-09 14:39:59 +08:00
wit765
81f84b79ce
ethclient/gethclient: remove unused function GetProof (#1448)
Co-authored-by: Wit Liu <wit765765346@gmail>
2025-09-08 14:39:41 +08:00
Daniel Liu
b856f98b47
ethclient/gethclient: use common.Hash to debug_traceTransaction #32404 (#1401) 2025-08-31 15:55:06 +08:00
Daniel Liu
dc2a0c1b86
ethclient/gethclient: add method TraceBlock #32092 (#1399) 2025-08-31 15:48:35 +08:00
Daniel Liu
905cbd63df
ethclient/gethclient: add method TraceTransaction #31288 (#1398) 2025-08-31 15:43:31 +08:00
Daniel Liu
3fcd30adfe
ethclient: use 'input', not 'data' as field for transaction input #28078 (#1381)
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-08-26 15:12:41 +08:00
Daniel Liu
8bc1887564
ethclient/gethclient: add block overrides to eth_call #26414 (#1377) 2025-08-22 16:48:17 +08:00
Daniel Liu
9acddd1792
ethclient/gethclient: ensure getProof keys parameter is not null #26409 (#1374) 2025-08-22 16:46:18 +08:00
Daniel Liu
cf6c595dd0
eth/filters, ethclient/gethclient: add fullTx option to pending tx filter #25186 #26189 (#1372)
* eth/filters, ethclient/gethclient: add fullTx option to pending tx filter #25186

This PR adds a way to subscribe to the _full_ pending transactions, as opposed to just being notified about hashes.

In use cases where client subscribes to newPendingTransactions and gets txhashes only to then request the actual transaction, the caller can now shortcut that flow and obtain the transactions directly.

Co-authored-by: Felix Lange <fjl@twurst.com>

* ethclient: docs, fix misleading comment #26189

---------

Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-08-22 16:44:51 +08:00
Daniel Liu
fc9c5bebe7
ethclient/gethclient: fix bugs in override object encoding #25616 (#1371) 2025-08-22 16:44:06 +08:00
Daniel Liu
1bf181eda6
ethclient: return storage proofs in GetProof #24697 (#1369) 2025-08-22 16:42:46 +08:00
Daniel Liu
b628212d8e
rpc: change BlockNumber constant values to match ethclient #27219 (#992) 2025-04-28 10:59:34 +08:00
colin
bb55c1044b ethclient: apply accessList field in toCallArg (#28832)
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-11-01 11:36:53 +08:00
Daniel Liu
e94a0a91d8 ethclient/gethclient: RPC client wrapper for geth-specific API (#22977) 2024-11-01 11:36:52 +08:00