Commit graph

61 commits

Author SHA1 Message Date
Daniel Liu
be40f8ac21
chore(cicd,common): unify XDC runtime binary across networks (#2147)
Package a single XDC binary for all networks and remove binary-switching logic from the CI/CD flow.

Changes:

- cicd/Dockerfile: build once and copy only /usr/bin/XDC

- cicd/entry.sh: validate NETWORK and remove runtime relink

- Makefile: make XDC-devnet-local depend on XDC; remove constants file swap

- common/constants: delete duplicated constants.go.{testnet,devnet,local}

Impact:

- network differences are now driven by runtime config, not separate binaries
2026-03-10 18:52:38 +05:30
Daniel Liu
01bd024bfb common: not copy constants.go for compatibility 2025-02-23 11:55:20 +08:00
Daniel Liu
2a2711ad64 cmd, common, eth: copy constants after get chain id 2025-02-18 15:16:55 +08:00
JukLee0ira
51dac59e92 common: change type of variables for constants 2025-02-17 11:38:16 +08:00
Daniel Liu
cfc8cca674 common: refactor constants 2025-02-17 09:13:40 +08:00
Daniel Liu
ec0e07b100 params: add Cancun blocks (#25305) 2025-02-05 18:01:29 +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
d48e27038b
xdpos 2.0 release for mainnet (#574)
* xdpos 2.0 release for mainnet
2024-07-09 21:54:44 +10: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
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
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
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
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
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
446f3fd580 set new gas price number for testnet and mainnet 2023-10-23 13:57:40 +08:00
Daniel Liu
3764cb3d84 add gas price variables and function 2023-10-16 11:22:19 +08:00
Liam Lai
5623ce8de0 merge from master 2023-07-30 16:50:45 +10:00
Liam Lai
fc5b7d1bbc add testnet constant parameter 2023-02-16 12:08:58 +08:00
Daniel Liu
6a768b04f9
add enable-0x-prefix flag (#194) 2022-12-09 19:15:13 +08:00
Liam
5fffa0cd43
xin-188 update penalty limit epoch constant for v2 and shorter test (#87) 2022-05-18 11:17:32 -04:00
AnilChinchawale
5112dc7564 Set Network Upgrade BlockNumber and Version. 2021-11-15 19:34:07 +05:30
olumuyiwadad
420a589599 ignoreSignerBlockList added. 2021-11-11 18:48:50 +05:30
olumuyiwadad
abee93984b Mainnet test sync. 2021-11-08 14:55:20 +05:30
AnilChinchawale
f4e745b72e update apothem block number. 2021-09-23 09:40:49 +05:30
Anil Chinchawale
de82274056
Update constants.go 2021-09-23 08:20:20 +05:30
Anil Chinchawale
3078da4fad
Update constants.go 2021-09-23 07:09:12 +05:30
olumuyiwadad
b5abbfed79 new EVM Upgrade
- Solidity Upgraded up to v0.8.0
-  Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30
olumuyiwadad
92ffe69ab4 Work around for the issue "return wrong list signers from snapshot"
Update signers in snapshot
Ignore signerCheck at checkpoint block 27307800
due to wrong snapshot at gap 27307799
2021-09-17 18:45:46 +05:30
olumuyiwadad
571c41f891 FIx Bad block error. 2021-09-17 17:59:06 +05:30
AnilChinchawale
c59df4c3c0 Patch upgrade added at 5mil Block. 2019-07-30 11:55:32 +05:30
Sinh Vu
3180921a7f upgrade increase masternodes 2019-07-23 17:25:55 +07:00
rushabh parmar
2454030063
Merge pull request #82 from XinFinOrg/main-net
Main net
2019-04-24 16:30:01 +05:30
parmarrushabh
44e1e35a0f changes in params due to large data 2019-04-22 18:03:59 +05:30
AnilChinchawale
a1915c3249 random block set 2019-03-26 17:10:47 +05:30
parmarrushabh
2d1eddf74f TIP random 2019-03-26 14:34:58 +05:30
parmarrushabh
2d046cc16a tip block randomize 2019-03-26 14:28:13 +05:30
parmarrushabh
4af57cc070 case m2 down affect to m1. 2019-03-25 12:19:25 +05:30
Anil Chinchawale
ab70081cf9
TestNet Config updated 2019-03-22 22:25:36 +05:30
AnilChinchawale
a638d2adc0 Minor error fixed. 2019-03-16 16:02:10 +05:30
parmarrushabh
147e1f0baf create new func penalties for hard fork 2019-02-19 17:25:31 +05:30
AnilChinchawale
1ce4eba0d6 Fixed issue | File updated 2019-01-06 08:32:23 +05:30
parmarrushabh
7833a10c16 remove run evm with signing tracsaction 2018-12-28 12:33:35 +05:30
AnilChinchawale
9fe12cb097 Fixed check penalty using block creator instead of using block signer 2018-12-26 12:15:48 +05:30
AnilChinchawale
0fdf32e271 updated genesis file 2018-12-21 11:24:19 +05:30