Daniel Liu
436166e447
feat(internal/ethapi): add eth_getStorageValues method #32591 ( #2116 )
2026-03-06 11:22:36 +05:30
Daniel Liu
ad0eea0f07
refactor(crypto): vendor in golang.org/x/crypto/sha3 #33323 ( #2046 )
...
The upstream libray has removed the assembly-based implementation of
keccak. We need to maintain our own library to avoid a peformance
regression.
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
2026-02-28 17:23:57 +04:00
Daniel Liu
466e3684b9
fix(internal): fix error code for revert in eth_simulateV1 #33007 ( #2039 )
2026-02-28 16:52:55 +04:00
Daniel Liu
ff37f8554d
fix(internal/ethapi): include AuthorizationList in gas estimation callArgs #33849 ( #2084 )
2026-02-28 04:36:04 +04:00
Daniel Liu
fc6c692097
fix(internal): process prague system calls in eth_simulate #31176 ( #2069 )
2026-02-23 07:20:38 +05:30
Daniel Liu
9f720806e1
refactor(core): remove unnecessary parameters #30776 ( #2068 )
2026-02-20 13:51:30 +05:30
Daniel Liu
cfca45a7eb
refactor(all): rework EVM constructor #30745 ( #2065 )
2026-02-17 14:35:18 +05:30
Daniel Liu
934c8d0679
perf(all): use big.Int.Sign() to compare with 0 ( #1969 )
2026-02-05 11:45:44 +05:30
Daniel Liu
e77ac510d0
all: replace Div/Mul with Rsh/Lsh if possible #29911 ( #1966 )
2026-01-29 11:31:58 +05:30
Daniel Liu
d12f9803eb
trie: remove parameter 'fromLevel' in Prove #27512 ( #1165 )
...
This removes the feature where top nodes of the proof can be elided.
It was intended to be used by the LES server, to save bandwidth
when the client had already fetched parts of the state and only needed
some extra nodes to complete the proof. Alas, it never got implemented
in the client.
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2026-01-29 11:29:02 +05:30
Daniel Liu
3d194d4303
all: port boring changes from pbss #27176 ( #1158 )
...
* all: port boring changes from pbss
* core, trie: address comments from martin
* trie: minor fixes
* core/rawdb: update comment
* core, eth, tests, trie: address comments
* tests, trie: add extra check when update trie database
* trie/triedb/hashdb: degrade the error to warning
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2026-01-26 11:21:46 +05:30
Daniel Liu
80db09613e
internal/ethapi: refactor RPC tx formatter #33582 ( #1940 )
2026-01-16 15:52:48 +05:30
Daniel Liu
6d4670a4ec
core, trie: refactor trie API #26995 ( #1147 )
...
In this PR, all TryXXX(e.g. TryGet) APIs of trie are renamed to XXX(e.g. Get) with an error returned.
The original XXX(e.g. Get) APIs are renamed to MustXXX(e.g. MustGet) and does not return any error -- they print a log output. A future PR will change the behaviour to panic on errorrs.
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2026-01-16 15:51:13 +05:30
wit liu
3147cf7835
ethapi: fix receiver name warning ( #1908 )
2026-01-06 11:01:48 +05:30
Daniel Liu
b3d354a897
all: move main transaction pool into a subpool #27463 ( #1890 )
2026-01-05 15:43:50 +05:30
Daniel Liu
b6b1c4b779
internal/ethapi: fix recover sender of pending transaction #23765 ( #1898 )
2026-01-05 15:42:23 +05:30
wit liu
267222d4a5
all: fix goimports warning ( #1903 )
2026-01-04 17:22:26 +05:30
wit liu
51e3c866c8
ethapi: fix ineffassign warning ( #1907 )
2026-01-04 17:21:09 +05:30
Daniel Liu
6a3b92b701
core/types: change SetCodeTx.ChainID to uint256 #30982 ( #1840 )
2025-12-25 09:26:44 +05:30
Daniel Liu
3fd03e0814
core, core/types: rename AuthList to SetCodeAuthorizations #30935 ( #1884 )
2025-12-23 15:40:53 +05:30
Daniel Liu
e2da8daab4
core/types: updates for EIP-7702 API functions #30933 ( #1827 )
2025-12-20 11:13:04 +05:30
Daniel Liu
0d381ece9f
core/types, internal/ethapi: fixes for prague RPC encoding #30926 ( #1839 )
2025-12-19 14:38:23 +04:00
Daniel Liu
142b1155d8
all: implement eip-7702 set code tx #30078 ( #1759 )
2025-12-19 14:09:45 +04:00
Daniel Liu
999ded17da
all: change chain head markers from block to header #26777 ( #1846 )
2025-12-16 07:36:51 +04:00
Daniel Liu
ebbbdf2bff
core/state: move state log mechanism to a separate layer #30569 #30732 ( #1775 )
2025-12-16 07:33:19 +04:00
wit liu
0199e57fcf
internal/ethapi: select precompiles using the simulated header #33363 ( #1866 )
2025-12-14 13:47:00 +05:30
wgr523
1089f0b4fe
record total minted API v2 ( #1769 )
...
* feat: GetTokenSupply API, total minted and burned
* feat: token supply API finish burned token. rename minted record functions
* fix(api): handle edge case about minus 1 for epoch in token supply
* fix: check both total minted and burned before breaking loop
* style: modify minor style
* style: modify by comment and rebase code
* chore: modify test based on statedb_utils
2025-12-09 19:43:19 +08:00
Daniel Liu
c287f9eddd
core/types: support yParity field in JSON transactions #27744 ( #1816 )
2025-12-09 11:27:37 +05:30
Daniel Liu
67df2bcb29
internal/ethapi: explicitly return chain id for EIP-155 legacy txs #25155 #25244 ( #1813 )
2025-12-08 12:57:49 +05:30
Daniel Liu
0c2b0f3234
internal/ethapi: eth api changes needed #27928 ( #1818 )
2025-12-08 12:56:40 +05:30
Daniel Liu
1990e73b3c
core, eth/hooks, internal/ethapi: rename xdc sort package ( #1707 )
2025-12-07 15:47:49 +05:30
wit liu
66e96b507c
all: use 0x-prefix for Address type in log ( #1830 )
2025-12-07 15:36:36 +05:30
wit liu
8dd497dd01
internal: deref gasUsed pointer in eth_simulate log #33192 ( #1794 )
2025-12-04 08:03:22 +05:30
Daniel Liu
6235de71ba
all: rework statedb utils ( #1785 )
2025-11-18 11:26:28 +05:30
Daniel Liu
0050bef807
all: rework trc21 ( #1777 )
2025-11-18 11:24:56 +05:30
Daniel Liu
a75a1467ab
eth, internal/ethapi: remove order tx pool API ( #1743 )
2025-11-15 16:45:05 +05:30
Daniel Liu
7a3ac998a3
eth: quick canceling block inserting when debug_setHead is invoked #32067 , close XFN-142 ( #1728 )
2025-11-14 21:52:35 +05:30
Daniel Liu
2c40021f71
core/state, internal/ethapi: GetAccountInfo handle error properly, close XFN-79 ( #1663 )
2025-11-14 16:28:18 +05:30
Daniel Liu
3af629078a
internal/ethapi: eth_simulateV1 #27720 ( #1606 )
2025-11-08 16:09:18 +05:30
Daniel Liu
13ed19bcf2
all: remove XDCx and XDCxlending public API, close XFN-74 XFN-134 ( #1675 )
...
* internal: remove XDCx public API
* XDCx, XDCxlending: remove api
* ethclient: remove SendOrderTransaction and SendLendingTransaction
* XDCx, XDCxlending: remove unused variables and function
* eth, internal/ethapi: remove function `OrderStats()`
2025-11-04 11:19:16 +05:30
Daniel Liu
611668c237
internal/ethapi: improve ChaindbCompact() and ChaindbProperty() #19021 #19856 #28207 , fix XFN-139 ( #1722 )
...
* internal/ethapi: clean up and properly abstract database accesses #19021
* internal/ethapi: fix debug.chaindbProperty #19856
* internal/ethapi: compact db missing key starts with 0xff #28207
2025-11-04 11:17:40 +05:30
Daniel Liu
0f4d266b9b
internal/ethapi: fix missing proper error propagation, close XFN-118 ( #1683 )
2025-11-03 12:50:04 +05:30
Daniel Liu
737bfa45a6
internal/ethapi: prealloc map for the txpool api #32110 , close XFN-106 ( #1685 )
2025-11-03 12:49:48 +05:30
Daniel Liu
58c066f053
all: handle err from func rlp.Encode, close XFN-127 ( #1692 )
2025-11-03 12:45:19 +05:30
Daniel Liu
689ac1b12a
internal/ethapi: remove error return value of RPCMarshalBlock #27449 ( #1604 )
2025-10-31 09:57:48 +05:30
Daniel Liu
378d14f2fc
internal/ethapi: minor refactor in block serialization #27268 ( #1600 )
2025-10-30 20:26:18 +05:30
wit liu
9f14aebcae
internal/ethapi: fix receiver name for BlockChainAPI ( #1621 )
2025-10-19 14:41:04 +08:00
Daniel Liu
915186fea2
internal/ethapi: refactor func rpcMarshalBlock #19570 ( #1602 )
2025-10-08 13:01:56 +08:00
Daniel Liu
72bfc81606
internal/ethapi: fix encoding of uncle headers and pending blocks #20460 ( #1599 )
2025-10-08 12:56:31 +08:00
Daniel Liu
e48bda95c3
internal/ethapi: use correct signer when serving old blocks #23683 ( #1598 )
2025-10-08 12:54:57 +08:00