Commit graph

575 commits

Author SHA1 Message Date
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
28efc50013
build: fix make generate not print changed files (#1820) 2025-12-08 15:06:08 +05:30
Daniel Liu
01b8fce6e3
cmd/utils, internal/flags: deprecate flag XDCx-dbName and XDCx.dbName (#1823) 2025-12-08 15:05:25 +05:30
wit liu
ea3a55aef4
all: fix invalid directive syntax for golangci-lint nolint (#1799) 2025-12-08 13:02:54 +05:30
Daniel Liu
8c42c02bde
Makefile, build: remove unused xgo (#1812) 2025-12-08 12:58:22 +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
eaaeea0cad
all: use slices.Sort() to sort strings (#1712) 2025-12-07 15:49:13 +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
dfaa7fc19f
internal: remove extra space before XDPoS entry (#1796) 2025-12-04 08:03:45 +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
25f07b1040
build, internal, Makefile: upgrade package build (#1746) 2025-11-24 12:51:09 +05:30
wit liu
c53b38e5fe
internal/jsre: pass only extra args to setTimeout/setInterval callbacks#32936 (#1782) 2025-11-24 11:00:44 +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
wit liu
e9bf36c7dc
internal/web3ext: remove unused console APIs #23208 (#1756) 2025-11-17 11:14:45 +05:30
Daniel Liu
e34bbe10c6
core: persist bad blocks #21827 #27489 (#1771) 2025-11-15 16:51:21 +05:30
Daniel Liu
4716dc11af
cmd, internal: move func CheckExclusive() to package flags #31189 (#1747) 2025-11-15 16:47:38 +05:30
Daniel Liu
6d7c36bb8f
all: upgrade package version #30638 (#1745) 2025-11-15 16:46:54 +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
eef5242fa3
all: pre-allocate memory for slices and maps, close XFN-148 (#1714) 2025-11-14 20:13:36 +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
Daniel Liu
a311f01c7a
eth, internal: add getHeaderBy* APIs #19669 (#1597) 2025-10-08 12:52:56 +08:00
Daniel Liu
f9f47d2836
internal/ethapi: move revertError #28703 (#1591) 2025-10-08 12:50:02 +08:00
Daniel Liu
dce7b371a0
eth/gasestimator, internal/ethapi: move gas estimator out of rpc #28600 (#1589) 2025-10-08 12:47:45 +08:00
wit liu
afdb029356
internal/ethapi: remove unused estimateGasError (#1588) 2025-10-08 12:39:11 +08:00
Daniel Liu
6e8d261e42
all: eliminate zero owner variables (#1587) 2025-10-08 12:38:32 +08:00
Daniel Liu
940aeb3ccd
internal/ethapi: refactor func DoCall (#1586) 2025-10-08 12:36:35 +08:00
Daniel Liu
28c75fc213
internal/ethapi: change Time field to uint64 #26474 (#1585) 2025-10-08 12:33:13 +08:00
Daniel Liu
486d4cae73
internal/ethapi: add basefee to block overrides #25219 (#1583)
Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
2025-10-08 12:31:36 +08:00
wit liu
f709ef2edb
all: remove extra empty lines (#1574) 2025-10-08 12:25:10 +08:00
Daniel Liu
f46920b407
core, eth, internal: improve getBadBlocks to return full block rlp #16902 (#1595) 2025-09-26 19:02:13 +08:00
Daniel Liu
0ece8529c4
cmd, eth, internal/ethapi: allow for flag configured timeouts for eth_call #23645 (#1593) 2025-09-26 19:01:02 +08:00