Commit graph

369 commits

Author SHA1 Message Date
benjamin202410
370c6b62e7
update devnet 1559 block number (#736)
* update devnet 1559 block number

* update devnet 1559 block number

---------

Co-authored-by: liam.lai <liam.lai@us>
2024-11-17 21:23:19 -08:00
Daniel Liu
41c4c9ba88 log: avoid stack lookups when not needed/used (#28069) 2024-11-15 10:02:42 +08:00
Daniel Liu
aedfea681b all: make logs a bit easier on the eye to digest (#22665) 2024-11-15 10:02:41 +08:00
Daniel Liu
d3eaeb9381 eth/gasprice: use slices package for sorting (#27490 #27909 #29314) 2024-11-13 09:30:55 +08:00
Daniel Liu
56ed523fc0 common: set Eip1559Block to 23580000 for devnet 2024-11-01 11:36:53 +08:00
Daniel Liu
e18553b855 all: implement eip-1559 (#22837) 2024-11-01 11:36:52 +08:00
Daniel Liu
5b0b5b52c7 common: fix staticcheck warning S1001: replace loop with copy 2024-10-30 21:05:15 +08:00
Daniel Liu
a79411fa06 all: fix staticcheck warning ST1005: incorrectly formatted error string 2024-10-24 09:48:20 +08:00
Daniel Liu
4f9501f12c common, crypto: move fuzzers out of core (#22029) 2024-09-22 19:25:37 +08:00
Daniel Liu
96f5876896 common/bitutil: improve the fuzzers (#21829) 2024-09-22 19:25:37 +08:00
cui
96e2743508 common/lru: use clear builtin (#29399) 2024-08-26 11:17:23 +08:00
Daniel Liu
bc121d3634 lru: fix mismatched names in comments (#29348) 2024-08-26 11:17:23 +08:00
Liam
e46f41d081
Dev upgrade merge from master to fix rpc nodes (#615)
* merge from master

* merge from master
2024-08-21 00:17:39 -07:00
Liam
e3df8e55a6
remove legacy testnet validate masternode logic (#603)
* remove legacy testnet validate masternode logic

* remove legacy testnet validate masternode logic

* remove legacy testnet validate masternode logic
2024-08-12 00:13:36 -07:00
Guillaume Ballet
1ce065f192 common/fdlimit: fix linter warning (#25192) 2024-08-03 08:12:28 +08:00
Daniel Liu
514b4ce7c5 common/fdlimit: build on DragonflyBSD (#21241) 2024-08-03 08:12:28 +08:00
Daniel Liu
467126234f common/fdlimit: fix macos file descriptors for Go 1.12 (#19166) 2024-08-03 08:12:28 +08:00
Daniel Liu
c012af02d3 common/fdlimit: Fix compilation error in freebsd, Raise returns uint64 (#19141) 2024-08-03 08:12:28 +08:00
Daniel Liu
be2d40bcdd common/fdlimit: fix windows build (#19068) 2024-08-03 08:12:28 +08:00
Daniel Liu
9cedb25a8d common/fdlimit: cap on MacOS file limits, fixes #18994 (#19035) 2024-08-03 08:12:28 +08:00
Liam Lai
3a6b18c5cd Merge branch 'master' into merge-from-master 2024-07-23 00:38:59 -07:00
Liam
d48e27038b
xdpos 2.0 release for mainnet (#574)
* xdpos 2.0 release for mainnet
2024-07-09 21:54:44 +10:00
JukLee0ira
2d89951e5b all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
JukLee0ira
0aab4ced98 common: add binary variables for system contract 2024-06-06 19:33:59 +08:00
Liam Lai
20e46d9b23 resolve conflict 2024-05-24 14:03:33 +08:00
Liam
320e9779f6
mainnet enable evm 0.8.23 hardfork blocks target date 19 June (#535)
* mainnet enable evm 0.8.23 hardfork blocks

* mainnet enable evm 0.8.23 hardfork blocks target date 14 July
2024-05-14 20:22:46 +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
Liam
acc9fc27e3
enable TIPXDCXReceiverDisable flag on devnet (#525) 2024-04-22 16:10:34 +08: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
Wanwiset Peerapatanapokin
328176651c
use 0x address scheme by default and add new enable xdc prefix flag (#518) 2024-04-12 12:27:39 +07:00
Liam
bfcd3829d0
enable ShanghaiBlock and disable xdcx (#501)
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com>
2024-03-25 14:03:30 +11:00
Daniel Liu
66e3ebaf0c enable shanghai for devnet on block 16832700 2024-03-08 14:55:39 +08:00
Daniel Liu
6c80c09cb8
Merge pull request #480 from gzliudan/lru
common/lru: add generic LRU implementation
2024-03-07 23:04:25 +08:00
geruiwang
968440ce3d core/vm: implement EIP-3855: PUSH0 instruction. 2024-03-07 21:44:37 +08:00
Daniel Liu
6ba7c26703 common/lru: add generic LRU implementation (#26162) 2024-03-07 20:59:16 +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
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
Wanwiset Peerapatanapokin
aaa246f60e
PDF-01 (#397)
* replace deprecated ioutil lib calls

* fix for FileInfo type required

* fix for ioutil.Discard

* fix .Discard

* fix for go-bindata generated files
2024-01-19 15:05:03 +04: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
0656774172 define gas switch block number for testnet 2023-11-08 18:09:30 +11:00
Liam
84994df759
Merge pull request #351 from XinFinOrg/bump-golang-1.21
Bump golang 1.21
2023-11-07 10:35:42 +11:00
Liam
64a2c84ed3
add testnet block for v2 (#345) 2023-11-02 10:57:37 +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
Liam
95f19e9684
Merge pull request #339 from gzliudan/new-gas-price-number
set new gas price number for testnet and mainnet
2023-10-30 11:25:57 +11:00
Daniel Liu
4a59bdf15a add function IsZero for type Address 2023-10-24 12:00:08 +08:00
Daniel Liu
8339e133ee add function IsZero for type Hash 2023-10-24 12:00:08 +08:00
Daniel Liu
4bbe5a0443 common: implement old version of func sort.Slice 2023-10-23 22:51:06 +08:00
Daniel Liu
446f3fd580 set new gas price number for testnet and mainnet 2023-10-23 13:57:40 +08:00
Daniel Liu
41c149916b set new gas price for devnet 2023-10-16 11:41:33 +08:00