common: update parameters for rollback

This commit is contained in:
Daniel Liu 2025-04-11 16:02:52 +08:00
parent b960e22077
commit bfc741100a
5 changed files with 26 additions and 26 deletions

View file

@ -7,7 +7,7 @@
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"eip1559Block": 0,
"eip1559Block": 32400,
"XDPoS": {
"period": 2,
"epoch": 900,

View file

@ -16,18 +16,18 @@ var DevnetConstant = constant{
tipXDCX: big.NewInt(0),
tipXDCXLending: big.NewInt(0),
tipXDCXCancellationFee: big.NewInt(0),
tipTRC21Fee: big.NewInt(13523400),
tipTRC21Fee: big.NewInt(10800),
tipIncreaseMasternodes: big.NewInt(0),
berlinBlock: big.NewInt(0),
londonBlock: big.NewInt(0),
mergeBlock: big.NewInt(0),
shanghaiBlock: big.NewInt(0),
blockNumberGas50x: big.NewInt(0),
blockNumberGas50x: big.NewInt(21600),
TIPV2SwitchBlock: big.NewInt(0),
tipXDCXMinerDisable: big.NewInt(0),
tipXDCXReceiverDisable: big.NewInt(0),
eip1559Block: big.NewInt(0),
cancunBlock: big.NewInt(1702800),
eip1559Block: big.NewInt(32400),
cancunBlock: big.NewInt(43200),
trc21IssuerSMC: HexToAddress("0x8c0faeb5C6bEd2129b8674F262Fd45c4e9468bee"),
xdcxListingSMC: HexToAddress("0xDE34dD0f536170993E8CFF639DdFfCF1A85D3E53"),

View file

@ -9,25 +9,25 @@ var TestnetConstant = constant{
blackListHFNumber: 23779191,
maxMasternodesV2: 15,
tip2019Block: big.NewInt(1),
tipSigning: big.NewInt(3000000),
tipRandomize: big.NewInt(3464000),
tipNoHalvingMNReward: big.NewInt(23779191), // hardfork no halving masternodes reward
tipXDCX: big.NewInt(23779191),
tipXDCXLending: big.NewInt(23779191),
tipXDCXCancellationFee: big.NewInt(23779191),
tipTRC21Fee: big.NewInt(23779191),
tipIncreaseMasternodes: big.NewInt(5000000),
blockNumberGas50x: big.NewInt(56828700), // Target 13rd Nov 2023
TIPV2SwitchBlock: big.NewInt(56828700), // Target 13rd Nov 2023
berlinBlock: big.NewInt(61290000), // Target 31st March 2024
londonBlock: big.NewInt(61290000), // Target 31st March 2024
mergeBlock: big.NewInt(61290000), // Target 31st March 2024
shanghaiBlock: big.NewInt(61290000), // Target 31st March 2024
tipXDCXMinerDisable: big.NewInt(61290000), // Target 31st March 2024
tipXDCXReceiverDisable: big.NewInt(66825000), // Target 26 Aug 2024
eip1559Block: big.NewInt(71550000), // Target 14th Feb 2025
cancunBlock: big.NewInt(73425600),
tip2019Block: big.NewInt(1),
tipSigning: big.NewInt(3000000),
tipRandomize: big.NewInt(3464000),
tipNoHalvingMNReward: big.NewInt(23779191), // hardfork no halving masternodes reward
tipXDCX: big.NewInt(23779191),
tipXDCXLending: big.NewInt(23779191),
tipXDCXCancellationFee: big.NewInt(23779191),
tipTRC21Fee: big.NewInt(23779191),
tipIncreaseMasternodes: big.NewInt(5000000),
blockNumberGas50x: big.NewInt(56828700), // Target 13rd Nov 2023
TIPV2SwitchBlock: big.NewInt(56828700), // Target 13rd Nov 2023
berlinBlock: big.NewInt(61290000), // Target 31st March 2024
londonBlock: big.NewInt(61290000), // Target 31st March 2024
mergeBlock: big.NewInt(61290000), // Target 31st March 2024
shanghaiBlock: big.NewInt(61290000), // Target 31st March 2024
tipXDCXMinerDisable: big.NewInt(61290000), // Target 31st March 2024
tipXDCXReceiverDisable: big.NewInt(66825000), // Target 26 Aug 2024
eip1559Block: big.NewInt(71550000), // Target 14th Feb 2025
cancunBlock: big.NewInt(71551800),
trc21IssuerSMC: HexToAddress("0x0E2C88753131CE01c7551B726b28BFD04e44003F"),
xdcxListingSMC: HexToAddress("0x14B2Bf043b9c31827A472CE4F94294fE9a6277e0"),

View file

@ -7,7 +7,7 @@
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"eip1559Block": 0,
"eip1559Block": 32400,
"XDPoS": {
"period": 2,
"epoch": 900,

View file

@ -35,7 +35,7 @@ const (
var (
MainnetGenesisHash = common.HexToHash("0x4a9d748bd78a8d0385b67788c2435dcdb914f98a96250b68863a1f8b7642d6b1") // XDC Mainnet genesis hash to enforce below configs on
TestnetGenesisHash = common.HexToHash("0xbdea512b4f12ff1135ec92c00dc047ffb93890c2ea1aa0eefe9b013d80640075") // XDC Testnet genesis hash to enforce below configs on
DevnetGenesisHash = common.HexToHash("0x977c7a1b4ecbc40acc3963c1778666b62a95940a7fba6fec5867f78702835daf") // XDC Devnet genesis hash to enforce below configs on
DevnetGenesisHash = common.HexToHash("0x3c636c841ebee9121374fa76bd5480d17a23e1ba61d425dde21d7b3caba864f4") // XDC Devnet genesis hash to enforce below configs on
)
var (