Commit graph

157 commits

Author SHA1 Message Date
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
benjamin202410
080dcfd48f
update new reward parameter on devnet (#899)
Co-authored-by: liam.lai <liam.lai@us>
2025-03-10 00:31:36 -07:00
Daniel Liu
3976617ac2 core, light, params: clean genesis hash 2025-03-05 14:30:39 +08:00
wgr523
c36e4d54c0
Upgrade reward 2.0 (#865)
* refactor: reward hook gets prepared for upgrade

* feat: new reward hook, config change, unit tests

* add missing code

* feat: filter penalty in reward. add unit test

* update constant and config

---------

Co-authored-by: liam.lai <liam.lai@us>
2025-03-02 02:44:34 -08:00
Daniel Liu
98cff5d6c2 all: remove network rinkeby 2025-02-19 15:52:29 +08:00
Daniel Liu
3fc7eeff8a params: print chain configuration in more detail 2025-02-17 10:05:50 +08:00
Daniel Liu
cfc8cca674 common: refactor constants 2025-02-17 09:13:40 +08:00
Daniel Liu
4bbcd988b2 params: remove EIP150Hash from chainconfig (#27087) 2025-02-05 18:16:17 +08:00
Daniel Liu
bb8324357c params: log chain config a bit saner (#24904) 2025-02-05 18:10:06 +08:00
Daniel Liu
ec0e07b100 params: add Cancun blocks (#25305) 2025-02-05 18:01:29 +08:00
benjamin202410
2ff2e3442d
test exp timeout on devnet 2025-01-29 23:48:35 -08:00
Daniel Liu
ef80645f90 accounts/abi/bind: fix test 2025-01-24 16:18:29 +08:00
wgr523
537dc5e6fb
Exp timeout (#764)
* feat: write duration calculation in countdown as
interface. add more inputs as function argument

* feat: ExpTimeoutDuration

* fix: three dots usage

* feat: refine exp duration

* feat: add exp timeout config and use it in countdown

* feat: remove const countdown

* feat: remove use of interface in countdown, use error

* fix: countdown reset timer problem

* fix: add default ExpTimeoutConfig for config
2025-01-19 23:04:03 +08:00
wanwiset25
9bfec33942 remove old config
update bootnodes and cicd
2025-01-15 21:21:10 +04:00
benjamin202410
f8decab061
code refactor for performance (#782)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-29 21:47:14 -08:00
liam.lai
77f9cc59ec merge from dev-upgrade 2024-12-27 10:03:54 -08:00
Wanwiset Peerapatanapokin
b794f6a849
recover devnet by increasing timeout (#760) 2024-12-12 20:28:46 -08:00
liam.lai
21729181f7 increate timeout to 1 min for testnet 2024-11-22 18:36:53 -08:00
Daniel Liu
64f7389c65 params: print right Eip1559Block for ChainConfig 2024-11-01 11:36:52 +08:00
Liam Lai
3dac4dc014 reduce to 20s 2024-10-17 18:59:38 -07:00
Liam Lai
22fc7d0710 fix conflict 2024-10-16 22:42:53 -07:00
benjamin202410
f6afd24de7
update timeout to 30s (#669) 2024-10-09 23:46:02 -07:00
賴怡誠
528f10b422 update to 1 min timeout 2024-10-01 18:18:45 -07:00
Liam
9751e41dd5
Mainnet debug (#655)
* intro new timeout (#651)

* intro new timeout

* correct comment

* disable ProcessForensics

* disable ProcessForensics

* change version

* enable periodicProfilingFlag

* fix: ignore old timeout msg

* fix: ignore old timeout msg including equal to the current round

* udpate version file
2024-09-30 20:05:14 -07:00
Liam
450a63fc8c
intro new timeout (#651)
* intro new timeout

* correct comment
2024-09-30 16:48:38 -07:00
Daniel Liu
763f8cb4f8 params: fix sync problem 2024-09-09 13:59:11 +08:00
Liam
308607c670
lower the devnet cert to recover devnet again (#594) 2024-07-29 16:43:56 -07:00
Liam
014eb1c2ed
lower the devnet cert to recover devnet (#592)
* lower the devnet cert to recover devnet

* lower the devnet cert to recover devnet
2024-07-29 07:34:28 -07:00
Liam
4b35f33559
Fix crash during reorg for v2.0.0 (#590) (#593)
* params: fix usage of IsXDCxDisable

* internal/ethapi: fix nil block in function DoCall during reorg

Co-authored-by: Daniel Liu <139250065@qq.com>
2024-07-29 07:19:19 -07:00
Daniel Liu
438341c2ea
Fix crash during reorg for v2.0.0 (#590)
* params: fix usage of IsXDCxDisable

* internal/ethapi: fix nil block in function DoCall during reorg
2024-07-27 07:16:26 -07:00
Daniel Liu
01e1728a94 all: add support for EIP-2718, EIP-2930 transactions (#21502) 2024-05-14 23:15:35 +08:00
Daniel Liu
8568af05cc all: implement EIP-2929 (gas cost increases for state access opcodes) (#21509) 2024-04-22 21:14:54 +08:00
Wanwiset Peerapatanapokin
fb91c1e802
add trigger for disable XDCx precompiles (#509) 2024-04-22 11:43:22 +04:00
Liam
ef4b8ef91b
Disable on xdcx receiver part (#521)
* update all IsTIPXDCXReceiver condition

* add TIPXDCXReceiverDisable on testnet and devnet
2024-04-19 22:17:22 +08:00
geruiwang
968440ce3d core/vm: implement EIP-3855: PUSH0 instruction. 2024-03-07 21:44:37 +08:00
Liam
753729c28c
Disable xdcx related tx creation (#430)
* stop create xdcx tx
* refactor disable flag
* disable miner only
2024-03-04 22:06:47 +11:00
Gerui Wang
72e5ee0645 lint for params/config.go 2024-03-04 00:34:49 +08:00
Gerui Wang
a31489541d implement EIP-4399, PREVRANDAO opcode.
and remove unused LondonBlock and BerlinBlock in `params/config.go` (already defined in constants.go)
2024-03-04 00:32:14 +08:00
Daniel Liu
928a0691ca implement EIP-3198 2024-03-01 15:04:32 +08:00
Daniel Liu
4731eb2c6d params: lint ChainConfig 2024-02-29 17:41:55 +08:00
Liam
54b254e25c
lower log level for pretty log (#420)
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2024-02-11 20:27:37 +11:00
Liam
a76c885774
devnet deployment issue (#395)
Co-authored-by: Liam Lai <liamlai@Liams-Laptop.local>
2024-01-17 23:07:13 +08:00
Liam Lai
3e6ce89f79 fix timeout too fast issue 2024-01-16 16:15:05 +08:00
Liam
47bfdf7635
Move masternode in v2 config (#372)
* move masternode in v2 config

* update number to meet 7 vote for current setup

* add test

* update all failed test

* fix test

* remove comment

* remove comment

* fix test
2023-11-29 11:11:58 +11:00
Liam
c215316744
Make masternode dynamic (#356)
* make masternode dynamic

* fix all the tests

* remove cmt

* fix test again
2023-11-16 23:59:19 +11:00
Liam
24d02fe2b4
check v2 switch block is epoch number (#342)
* check v2 switch block is epoch number

* revert sync pr

* add test

* make default block number valid

* fix log

* fix test
2023-10-30 19:03:34 +11:00