Daniel Liu
76dd02eed4
ethclient: fix retrieval of pending block #31504 ( #1397 )
2025-08-31 15:42:53 +08:00
Daniel Liu
773b513213
eth/filters: eth_getLogs fast exit for invalid block range #28386 ( #1389 )
2025-08-31 15:40:48 +08:00
Daniel Liu
59568b167f
eth/filters: retrieve logs in async #27135 ( #1388 )
2025-08-29 05:29:38 +08:00
Daniel Liu
031ea75eca
eth/tracers: package restructuring #23857 ( #1266 )
2025-08-29 05:26:36 +08:00
Daniel Liu
2dcec889e6
core/state: do not ignore null addr while iterative dump #27320 ( #1223 )
...
fixes bug which caused the zero-address to be ignored during an iterative state-dump.
---------
Co-authored-by: Park Changwan <pcw109550@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-08-29 05:25:15 +08:00
Daniel Liu
bbc4612d9f
core/state: remove notion of fake storage #24916 ( #1219 )
2025-08-29 05:24:28 +08:00
Daniel Liu
3fed9ebeb8
core, eth, trie: rework preimage store #25287 ( #1099 )
...
* core, trie, eth, cmd: rework preimage store
* trie: address comment
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-08-29 05:22:44 +08:00
Daniel Liu
db50cdd311
ethclient: add EstimateGasAt[Hash] functions #27508 ( #1396 )
2025-08-28 19:00:44 +08:00
Daniel Liu
8679a9fc4f
ethclient: add BlobBaseFee method #31290 ( #1395 )
2025-08-28 19:00:09 +08:00
Daniel Liu
bd1d41d3bc
ethclient: enhance the description of using block number tags #30984 ( #1394 )
2025-08-28 18:59:31 +08:00
Daniel Liu
47520a1316
ethclient: add RevertErrorData function #30669 ( #1393 )
2025-08-28 18:58:46 +08:00
Daniel Liu
0662224c31
ethclient: support networkID in hex format #30263 ( #1392 )
...
Some chains’ network IDs use hexadecimal such as Optimism ("0xa" instead
of "10"), so when converting the string to big.Int, we cannot specify
base 10; otherwise, it will encounter errors with hexadecimal network
IDs.
Co-authored-by: Zhihao Lin <3955922+kkqy@users.noreply.github.com>
2025-08-28 18:58:05 +08:00
Daniel Liu
e1a407d2c0
eth/filters: reuse func handleLogs for Removed logs #27438 ( #1390 )
2025-08-28 18:57:27 +08:00
Daniel Liu
0be5580b98
all: use big.Sign to compare with zero #29490 ( #1387 )
2025-08-28 18:56:39 +08:00
Daniel Liu
f561e7664d
internal/ethapi: avoid using pending for defaults #28784 ( #1386 )
2025-08-28 18:56:00 +08:00
Daniel Liu
9fcb8f6a37
ethclient: replace noarg fmt.Errorf with errors.New #27334 ( #1385 )
2025-08-28 18:55:20 +08:00
Daniel Liu
f49d90eb69
ethclient: simplify error handling in TransactionReceipt #28748 ( #1384 )
2025-08-28 18:54:48 +08:00
Daniel Liu
d138eb22a3
eth/tracers: support for golang tracers + add golang callTracer #23708 ( #1264 )
2025-08-28 18:53:13 +08:00
Daniel Liu
9425af8b7c
eth: make traceChain avoid OOM on long-running tracing #23736 ( #1263 )
2025-08-28 18:52:32 +08:00
Daniel Liu
3926b08074
core/state: maintain destruction flag by default #26371 ( #1218 )
2025-08-28 18:51:36 +08:00
Daniel Liu
0b7b02b8e0
trie: lint whitespace #25312 ( #1098 )
2025-08-28 18:49:37 +08:00
Daniel Liu
67106daaa8
trie: fix gosimple lint issue #25309 ( #1097 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-08-26 15:44:53 +08:00
Daniel Liu
152e3d9923
core/state: return error when storage trie can't be opened #26350 ( #1216 )
...
This changes the StorageTrie method to return an error when the trie
is not available. It used to return an 'empty trie' in this case, but that's
not possible anymore under PBSS.
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-08-26 15:31:00 +08:00
Daniel Liu
32ed739110
eth/tracers: avoid unsyncronized mutations on trie database #23632 ( #1261 )
2025-08-26 15:26:19 +08:00
Daniel Liu
98f6825514
eth/tracers: implement debug.intermediateRoots #23594 ( #1260 )
2025-08-26 15:25:30 +08:00
Daniel Liu
28550526ba
eth/tracers: improve test #23303 ( #1258 )
2025-08-26 15:24:49 +08:00
Daniel Liu
4a4de2319f
core/state: fix typos and comments ( #1206 )
...
Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
2025-08-26 15:22:37 +08:00
Daniel Liu
18d2dbad89
core, trie: port snap sync changes #24898 ( #1096 )
...
core, eth, les, trie: rework snap sync
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-08-26 15:20:39 +08:00
Daniel Liu
3d69b27ae4
trie: more linters #24783 ( #1092 )
2025-08-26 15:19:07 +08:00
Daniel Liu
cb338be877
ethclient: allow calling contracts at a specific block hash #28084 ( #1383 )
2025-08-26 15:14:06 +08:00
Daniel Liu
c332874737
ethclient: fix BlockReceipts parameter encoding #28087 ( #1382 )
...
Co-authored-by: Andryanau Kanstantsin <andrianov.dev@yandex.by>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-08-26 15:13:20 +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
ee1807b75c
internal/web3ext: remove deprecated method debug_seedHash ( #1380 )
2025-08-26 15:10:26 +08:00
Daniel Liu
17e6757daa
ethclient: acquire the rpc.Client #27246 ( #1379 )
...
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Delweng <delweng@gmail.com>
2025-08-26 15:09:41 +08:00
Daniel Liu
6f36533962
all: remove ethash pow 27178 ( #1378 )
2025-08-26 11:54:01 +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
5311a890fa
ethclient: ensure returned subscription is nil on error #26976 ( #1376 )
...
Co-authored-by: norwnd <112318969+norwnd@users.noreply.github.com>
2025-08-22 16:47:37 +08:00
Daniel Liu
0e6d2f4b94
ethclient: fix panic when requesting missing blocks #26817 ( #1375 )
2025-08-22 16:46:55 +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
144fbbf35a
core: reset txpool on sethead #26392 ( #1373 )
2025-08-22 16:45:41 +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
aa88fe1d86
ethclient: add PeerCount method #24849 ( #1370 )
2025-08-22 16:43:26 +08:00
Daniel Liu
1bf181eda6
ethclient: return storage proofs in GetProof #24697 ( #1369 )
2025-08-22 16:42:46 +08:00
Daniel Liu
34073a1925
ethclient: add CallContractAtHash #24355 ( #1368 )
2025-08-22 16:42:06 +08:00
Daniel Liu
cf714776ba
ethclient: fix unmarshaling of ethereum.SyncProgress #24199 ( #1367 )
2025-08-22 16:41:28 +08:00
Daniel Liu
ad45cb55fe
eth/tracers: expose contextual infos (block hash, tx hash, tx index) #23104 ( #1256 )
2025-08-22 16:40:18 +08:00
Daniel Liu
516883d14c
all: snapshot dump + unify with trie dump #22795 ( #1205 )
2025-08-22 16:39:28 +08:00
Daniel Liu
793293f041
trie: move locking into trieDB insert method #25030 ( #1091 )
...
Move locking into trieDB insert function
Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
2025-08-22 16:38:30 +08:00
Daniel Liu
d52bfaa5ca
all: introduce trie owner notion #24750 ( #1090 )
...
* cmd, core/state, light, trie, eth: add trie owner notion
* all: refactor
* tests: fix goimports
* core/state/snapshot: fix ineffasigns
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-08-22 16:37:39 +08:00