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
Daniel Liu
b96310ebe7
ethclient: fix tx sender cache miss detection #23877 ( #1366 )
2025-08-21 13:43:52 +08:00
Daniel Liu
992e931623
ethclient: add BlockNumber method #21500 #21565 ( #1365 )
2025-08-21 13:43:12 +08:00
Daniel Liu
f214dd6d51
ethclient: serialize negative block number as "pending" #21177 ( #1364 )
2025-08-21 13:42:29 +08:00
Daniel Liu
917baceda8
ethclient, internal/ethapi: add support for EIP-695 (eth_chainId) #19694 #23778 ( #1362 )
...
* ethclient, internal/ethapi: add support for EIP-695 (eth_chainId) #19694
* ethclient: fix typo #23778
2025-08-21 13:40:35 +08:00
Daniel Liu
aaa42a9a42
eth/tracers: backend for 1559 #23038 ( #1255 )
2025-08-21 13:39:44 +08:00
Daniel Liu
ee81b721fc
core, trie: implement trie tracer #24403 ( #1088 )
...
Trie tracer is an auxiliary tool to capture all deleted nodes
which can't be captured by trie.Committer. The deleted nodes
can be removed from the disk later.
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-08-21 13:38:56 +08:00
Daniel Liu
0c57a6c64c
core/state: remove toAddr helper in tests #22772 ( #1203 )
...
Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
2025-08-21 13:38:23 +08:00
Daniel Liu
da624be994
core/state: fix panic in state dumping #22225 ( #1202 )
...
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-08-21 13:37:51 +08:00
Daniel Liu
06d94520ba
core/state: fix some comments #21450 ( #1201 )
2025-08-21 13:36:45 +08:00
Wanwiset Peerapatanapokin
3ca2ff4fdb
Merge pull request #1363 from XinFinOrg/cicd-selective-deploy
...
devnet cicd selective deployment
2025-08-20 14:51:47 +04:00
wanwiset25
33c55cc37b
devnet cicd selective deployment
2025-08-20 14:22:07 +04:00
Daniel Liu
eaa1452a53
core/state: add state transition tool for testing #20958 ( #1200 )
2025-08-20 16:30:34 +08:00
Daniel Liu
a8b841c0a0
trie: implement NodeBlob API for trie iterator #24391 ( #1084 )
...
This functionality is needed in new path-based storage scheme, but
can be implemented in a seperate PR though.
When an account is deleted, then all the storage slots should be
nuked out from the disk as well. In hash-based storage scheme they
are still left in the disk but in new scheme, they will be iterated
and marked as deleted.
But why the NodeBlob API is needed in this scenario? Because when
the node is marked deleted, the previous value is also required to
be recorded to construct the reverse diff.
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2025-08-20 16:28:58 +08:00
benjamin202410
3e43756fd7
fix: add TIP condition for reward bug fix ( #1360 )
...
Co-authored-by: liam.lai <liam.lai@us>
2025-08-20 01:25:44 -07:00
benjamin202410
d7412ea981
revert reward v2 block number for testing backward compatitble ( #1361 )
...
Co-authored-by: liam.lai <liam.lai@us>
2025-08-20 01:25:37 -07:00
Daniel Liu
9c6816eab6
core/vm: make time field use uint64 #26474 ( #1319 )
2025-08-20 15:22:06 +08:00
Daniel Liu
4ec6e8cd58
cmd, node, p2p: implement whitelist and blacklist for peers ( #1331 )
2025-08-20 15:14:56 +08:00
Daniel Liu
0ceeb24fb3
eth/tracer: extend call tracer #22245 ( #1254 )
2025-08-20 15:12:18 +08:00
Daniel Liu
9cad0a0cc0
all: create global hasher pool #31769 ( #1233 )
...
This PR creates a global hasher pool that can be used by all packages.
It also removes a bunch of the package local pools.
It also updates a few locations to use available hashers or the global
hashing pool to reduce allocations all over the codebase.
This change should reduce global allocation count by ~1%
---------
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2025-08-20 15:11:09 +08:00
Daniel Liu
6b31dedf03
crypto/bn256/gnark: align marshaling behavior #32065 ( #1231 )
...
Aligns the marshaling behavior of gnark to google and cloudflare
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: kevaundray <kevtheappdev@gmail.com>
2025-08-20 15:09:36 +08:00
Daniel Liu
628e1e52bb
core/state: make GetCodeSize mirror GetCode implementation wise #21056 ( #1198 )
...
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2025-08-20 15:08:05 +08:00
Daniel Liu
9013bfbf6f
core/state: include zero-address in state dump if present #21038 ( #1195 )
...
* Include 0x0000 address into the dump if it is present
* core/state: go fmt
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Alexey Akhunov <akhounov@gmail.com>
2025-08-20 15:06:37 +08:00
Daniel Liu
13fe871c25
trie: test for edgecase in VerifyRangeProof #24257 ( #1083 )
2025-08-20 15:04:35 +08:00
Daniel Liu
b196b7231c
trie: fix range prover #24266 ( #1082 )
...
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-08-20 14:54:24 +08:00
Daniel Liu
5702df86ee
trie: readonly interface for trie iterator resolver #24221 ( #1081 )
2025-08-20 14:52:56 +08:00
Daniel Liu
a75fa97f56
core, trie: use db.has over db.get where possible #24117 ( #1078 )
2025-08-20 14:51:32 +08:00
Daniel Liu
e6f85271a3
ethclient: ensure tx json is not nil before accessing it #19653 ( #1359 )
2025-08-20 14:49:43 +08:00
Daniel Liu
9ad6312396
ethclient: fix RPC parse error of Parity response #16924 ( #1358 )
2025-08-20 14:37:33 +08:00
Daniel Liu
df837a0c8b
ethclient: add DialContext and Close #16318 ( #1357 )
2025-08-20 14:36:52 +08:00
Daniel Liu
71608abda8
ethclient: fix parity compatibility on newHeads #16454 ( #1356 )
2025-08-20 14:36:01 +08:00
Daniel Liu
17bfe7af44
eth: add error when accessing missing block state #18346 ( #1355 )
2025-08-20 14:35:07 +08:00
Daniel Liu
9d24f95126
ethclient: include block hash from FilterQuery #17996 ( #1354 )
2025-08-20 14:33:49 +08:00
Wanwiset Peerapatanapokin
f035c4431c
Merge pull request #1330 from XinFinOrg/temp-disable-devnet-deploy
...
temp disable devnet deploy ci for devnet tshoot.yml
2025-08-11 12:38:27 +07:00
Wanwiset Peerapatanapokin
02835593af
temp disable devnet deploy ci for devnet tshoot.yml
2025-08-08 14:37:09 +07:00
Daniel Liu
3fecfcaa76
internal/web3ext: fix eth_call in console #26265 #26266 #26268 ( #1329 )
...
* internal/web3ext: fix eth_call stateOverrides in console #26265
* internal/web3ext: fix eth.call regression in console #26266
* internal/web3ext: fix eth_call in console 2 #26268
2025-08-08 10:43:27 +08:00