Daniel Liu
d8fd0923a9
refactor(miner): polish miner configuration #19480 ( #2135 )
...
Miner configuration is unified under [Eth.Miner] (GasCeil/GasPrice/Etherbase/ExtraData), replacing legacy top-level [Eth] miner keys.
Operational impact: existing config files using [Eth].GasPrice/[Eth].Etherbase/[Eth].ExtraData must be migrated before upgrade.
Behavior update: gasprice=0 remains valid; only negative gas prices are sanitized at startup.
Default change: XDCGenesisGasLimit is reduced to 42,000,000 and now feeds miner default GasCeil (including default --miner-gaslimit), so nodes relying on defaults should review capacity expectations.
2026-03-10 18:51:36 +05:30
Daniel Liu
8331c1431f
refactor(params): rename AllXDPoSProtocolChanges to AllDevChainProtocolChanges ( #2054 )
2026-03-10 18:42:26 +05:30
Daniel Liu
ed95075f03
fix(params): accept legacy foudationwalletaddr in chain config, fix #2063 ( #2141 )
...
Add backward-compatible XDPoSConfig JSON decoding for the legacy key
"foudationWalletAddr" introduced before PR #2063 renamed it to
"foundationWalletAddr".
Without this compatibility layer, old on-disk chain configs are decoded with a
zero FoundationWalletAddr, causing XDPoSConfigEqual mismatch and startup rewind
("mismatching XDPoS not equal in database").
This patch:
- Implements custom UnmarshalJSON for XDPoSConfig that reads both keys.
- Prefers foundationWalletAddr when both keys are present.
- Keeps existing behavior for all other fields.
- Adds regression tests for legacy-key decoding and precedence.
Validation:
- go test ./params/...
2026-03-07 06:37:24 +08:00
Daniel Liu
b991bd8aa7
test(ethclient): port ethclient tests from upstream ( #2060 )
2026-03-01 22:45:01 +04:00
Daniel Liu
2611f1dd9a
fix(all): fix typo foudation ( #2063 )
2026-02-28 18:00:55 +04:00
Daniel Liu
cc2109342c
feat(core): implement EIP-2935 #29465 #30924 ( #2033 )
2026-02-12 09:01:26 +05:30
Daniel Liu
50210d90e3
refactor(all): remove term whitelist and blacklist ( #1994 )
2026-02-10 17:09:21 +05:30
Daniel Liu
85f2bebfd1
refactor(all): move genesis initialization to blockchain #25523 ( #2018 )
2026-02-10 16:56:34 +05:30
Daniel Liu
872c1248f3
test(params): move params.V2TestsGasLimit to engine_v2_tests package ( #2028 )
...
- V2TestsGasLimit should be changed to const
- V2TestsGasLimit is only used by engine_v2_tests package
2026-02-06 14:44:54 +05:30
Daniel Liu
75c05e5dde
feat(params): start osaka fork #31125 ( #2013 )
2026-02-06 14:40:58 +05:30
Daniel Liu
9dba15a673
feat(core): implement EIP-7623 increase calldata cost 30946 ( #2031 )
...
Link to spec: https://eips.ethereum.org/EIPS/eip-7623
---------
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
2026-02-05 14:45:11 +05:30
Daniel Liu
2e0e142d2b
params: fix wrong comment #33503 ( #1965 )
2026-01-27 08:47:30 +05:30
Daniel Liu
1f3faa5184
all: set gas limit dynamically ( #1945 )
2026-01-21 10:49:20 +05:30
Daniel Liu
2b10e68b10
params: fix undefined slices ( #1956 )
2026-01-16 19:42:42 +08:00
Daniel Liu
7267895b82
params: improve function BuildConfigIndex() ( #1935 )
2026-01-16 15:49:03 +05:30
Daniel Liu
0c9fc2b882
params: fix V2 compare issue ( #1926 )
2026-01-16 15:46:28 +05:30
Daniel Liu
142b1155d8
all: implement eip-7702 set code tx #30078 ( #1759 )
2025-12-19 14:09:45 +04:00
Daniel Liu
4d790e6c45
params: refactor Description() for ChainConfig ( #1697 )
2025-12-07 15:40:07 +05:30
Daniel Liu
c6c5778632
params: define prague block #26481 #26880 ( #1836 )
2025-12-07 15:36:02 +05:30
Daniel Liu
e6b1fe9595
params: compare V2 between different versions, close XFN-45 ( #1807 )
2025-11-27 13:29:35 +05:30
Daniel Liu
6d7c36bb8f
all: upgrade package version #30638 ( #1745 )
2025-11-15 16:46:54 +05:30
Daniel Liu
650047c81e
consensus/XDPoS, params: fix some comments, close XFN-125 ( #1733 )
2025-11-15 16:44:39 +05:30
Daniel Liu
8cbbc1e83d
consensus, params: remove SkipV2Validation, close XFN-151 ( #1730 )
2025-11-14 21:53:05 +05:30
Daniel Liu
782a7ff5cb
all: fix typos, close XFN-23 ( #1725 )
2025-11-14 20:02:34 +05:30
Daniel Liu
4bb925258d
params: fix type V2 not equal bug, close XFN-45 ( #1737 )
2025-11-12 06:32:43 +08:00
Daniel Liu
5d25e016d2
params: check XDPoS V2 parameters, close XFN-45 ( #1638 )
...
* params: check XDPoS V2 parameters, close XFN-45
* params: remove reflect.DeepEqual
* params: pass non-nil block number to newCompatError
2025-11-04 11:15:26 +05:30
Daniel Liu
5a26279c1c
engine_v2, params: fix unsynchronized reads of V2.CurrentConfig, close XFN-53 ( #1642 )
2025-11-03 14:51:54 +05:30
Daniel Liu
33c09226ba
params: implement String() method for ChainConfig #32766 ( #1647 )
2025-11-03 12:58:12 +05:30
Wanwiset Peerapatanapokin
6abb4f88da
consensus: Verify gaslimit bounds when accepting blocks ( #1619 )
...
* Verify gaslimit bounds when accepting blocks
* fix tests
2025-10-16 12:16:34 +04:00
Daniel Liu
956767a41e
consensus/XDPoS: remove unused parameters in BlockConsensusVersion, close XFN-02 ( #1613 )
2025-10-08 13:19:45 +08:00
wgr523
968fb0124b
style: change limitPenaltyEpoch in config to real meaning, avoid +1 ( #1538 )
2025-09-19 13:43:31 -07:00
wit liu
a5d03e4a8a
all: fix inconsistent receiver name ( #1494 )
...
Co-authored-by: wit <wit765765346@gmail>
2025-09-17 08:15:23 +08:00
wit765
12eab8e785
all: rename ChainId to ChainID #16853 ( #1456 )
...
Co-authored-by: wit <wit765765346@gmail>
2025-09-09 22:54:34 +08:00
benjamin202410
db9c3de1dc
add syncinfo pool ( #1236 )
...
* add syncinfo message into pool for process later
* add missing file back
---------
Co-authored-by: liam.lai <liam.lai@us>
2025-07-28 01:43:41 -07:00
Daniel Liu
f3e346c471
params: prettier output of V2Config Description ( #1259 )
2025-07-26 17:47:54 +08:00
wgr523
4ec4a5390f
Consecutive penalty upgrade ( #1053 )
...
* feat: penalty upgrade, consecutive epochs penalty
can be unpenalized
* feat: use binary search inside penalty hook
* style: modification on style
* feat: in penaltyHook change startRange
* fix: add lastPenalty condition in HookPenalty V2
2025-06-25 01:12:56 -07:00
Daniel Liu
e83b87a80e
cicd, params: update bootnodes for testnet ( #1110 )
2025-06-17 13:35:28 +08:00
wanwiset25
6119591b7f
update mainnet bootnode
2025-05-19 15:03:47 +04:00
benjamin202410
9656e2d1c4
update devnet reward parameter ( #980 )
...
Co-authored-by: liam.lai <liam.lai@us>
2025-04-24 03:03:32 -07:00
benjamin202410
4f98a8b81c
update devnet config to test reward ( #951 )
...
* update devnet config to test reward
* udpate reward
---------
Co-authored-by: liam.lai <liam.lai@us>
2025-04-21 01:46:24 -07:00
wgr523
6a38aa00aa
Reward float upgrade ( #940 )
...
* feat: use float type reward
* feat: add test of float reward
2025-04-16 02:03:41 -07:00
Daniel Liu
66aff99ca0
params: bump version to v2.6.1-beta
2025-04-12 11:38:37 +08:00
Daniel Liu
7aaf724f4f
all: update parameters for rollback
2025-04-12 11:38:27 +08:00
Daniel Liu
91cbe818ea
common, params: define cancun block for testnet and print more chain config
2025-04-01 14:41:05 +08:00
Gerui Wang
6bac06b1e7
feat: fixed reward per node (per capita)
2025-03-25 22:33:49 +08:00
Gerui Wang
84ae914350
feat: add TIPEpochHalving, better style
2025-03-25 22:16:35 +08:00
Daniel Liu
d6fd1e868e
common, params: update parameters of devnet
2025-03-16 01:06:12 +08:00
Daniel Liu
db820bdd91
params: fix outdated DevnetChainConfig
2025-03-15 23:48:20 +08:00
liam.lai
fd8f8ec2dc
update config
2025-03-10 22:15:31 -07:00
liam.lai
cc63105314
test devnet reward more
2025-03-10 19:23:46 -07:00