Commit graph

292 commits

Author SHA1 Message Date
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
Alex Beregszaszi
c097e565fd core/vm: rename SHA3 instruction to KECCAK256 (#23976)
This was proposed in 2016, Solidity uses this since 2017, and evmone and other VMs use the keccak256 name. This brings geth in line with those.
2024-03-01 14:13:24 +08:00
Martin Holst Swende
446b9e86f4 core/vm, params: make 2200 in line with spec (#21605) 2024-03-01 14:13:23 +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 Lai
a937594fc4 bump-version-2.0.2 2024-02-05 20:31:01 +08: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
c7a42fd7c9
resolve sync issue by passing right round number (#384) 2023-12-27 22:14:13 +11:00
Liam Lai
bc9fae23b5 bump version to 2 since we start use consensus version 2 2023-12-01 22:20:02 +11: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 Lai
824d7b232f resolve conflict 2023-11-20 23:53:49 +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 Lai
ef3f174a51 bump version to 1.4.10-beta2 2023-11-08 18:27:40 +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
Daniel Liu
3b7f29a5a3 bump version to 1.4.10.beta1 2023-10-29 13:09:24 +08:00
Liam
493a0134da
set testnet v2 block (#330)
* set testnet v2 block

* set testnet v2 block
2023-10-12 10:50:23 +11:00
Liam
7997dc68c1
build universe docker image (#309)
* build universe docker image

* build universe docker image

* build universe docker image

---------

Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2023-08-10 15:37:23 +10:00
Liam Lai
f81b286b28 resolve conflict 2023-08-06 22:52:59 +10:00
Liam
53f066b895
bump current version to 1.4.8 (#301)
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2023-08-06 19:02:53 +10:00
Anil Chinchawale
433c202a55
Update version.go 2023-06-02 11:15:49 +05:30
Liam
2df16bbd37
merge waitPeriod into minePeriod (#274)
* merge waitperiod into mindePeriod

* merge waitperiod into mindePeriod
2023-05-31 23:40:50 +10:00
Liam
706292e1a1
Add debug msg and reset devnet config (#270)
* add debug msg

* remove all devnet config since we need to reset devnet
2023-05-24 14:52:58 +10:00
Liam
7894cbe205
fix config for round (#249) 2023-04-17 12:13:32 +10:00
Liam
2135e2b0a1
update config for fix (#248) 2023-04-16 01:48:54 +10:00
Liam
556f98a51b
attack recover (#243) 2023-04-01 04:32:28 +11:00
Liam
460cb52bac
change to 2 second mining time (#234) 2023-03-12 15:31:07 +04:00
Liam Lai
3a305d15b8 reorder config 2023-02-16 12:10:32 +08:00
Liam Lai
fc5b7d1bbc add testnet constant parameter 2023-02-16 12:08:58 +08:00
Liam
8fc4b8e52d
use constant number instead of variable (#225) 2023-02-08 10:25:45 +08:00
Jerome
2ca1d0461d
Fix issue when resync is not getting the right consensus config values (#221)
* Fix issue when resync is not getting the right consensus config values

* add test and fix log bug

* fix test

* delete temp file

Co-authored-by: Liam Lai <liam.icheng.lai@gmail.com>
2023-01-17 21:34:42 +08:00
Liam
42220718bd
test more dimension on devnet (#219) 2022-12-29 21:39:57 +08:00
Liam
c4f9a552e5
Multi config bug fix (#216)
* refactor multi config
remove pool cleaner
correct message and log level
2022-12-17 20:23:46 +08:00
Liam
f57e2c3577
Bug Fix on memory leak when doing send tx, block etc to peers (#212)
* resolve conflict

* update version number
2022-12-09 14:54:27 +08:00
Liam
d4fc180f20
test multi config on devnet (#213) 2022-12-07 12:19:11 +08:00
Liam
6ffbd3e141
Xin 259 support multi v2 config (#210)
* update timeout period and waittime

* remove wrong comment

* update config for preparing test
2022-12-06 20:08:56 +08:00
Liam
f9c0c40515
change devnet switch block for large scale test (#205)
* change switch block

* use mainnet masternode

* update mining and timeout time

* add timer on round number

* remove bug code
2022-11-12 12:19:28 +08:00
wgr523
7e32f6507b
Update version.go 2022-10-27 17:36:19 +08:00
Liam
2b3e059abf
xin-244 re-snyc blocks from v1 to v2 (#186)
* xin-244 re-snyc blocks from v1 to v2

* remove log

* correct log

* constant value

* remove comment
2022-10-04 23:33:13 +08:00
Jianrong
94781c741d add devnet constants 2022-09-03 14:54:48 +08:00
Liam
833f70bdb7
xin-203 fix wrong config hash and update v2 params on mainnet (#109)
* fix wrong config hash and update v2 params on mainnet

* update config and all the test

* hard code binary into code

* add default config for testing

* update test timestamp
2022-07-12 16:56:55 +02:00
Liam
ac5096d692
upgrade log level and log message (#102) 2022-06-19 10:59:09 +02:00
Liam
d975ba4014
xin-153 Broadcast syncInfo when consecutive timeouts of same round (#65)
* Broadcast syncInfo when consecutive timeouts of same round

* add test

* revert test period
2022-03-05 01:52:20 +01:00
Jianrong
cddeaf2db1 add v2 verify header 2022-02-19 19:36:32 +11:00
Jianrong
5733474c14 add v1 snapshot fix 2022-02-19 16:50:00 +11:00
wgr523
89acbdd742
XIN-121 Reward hook (#57)
* v2 Hook Reward, need test

* test reward

* fix RewardHook due to modifying params config directly (#56)

* more test

* finish test

Co-authored-by: Jerome <wjrjerome@gmail.com>
2022-02-19 15:31:19 +11:00