From d6fd1e868e85dd117c904f64ba04d6d8fb72a802 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Sun, 16 Mar 2025 00:37:26 +0800 Subject: [PATCH] common, params: update parameters of devnet --- common/constants.devnet.go | 4 ++-- common/constants.mainnet.go | 2 +- common/constants.testnet.go | 2 +- params/config.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/constants.devnet.go b/common/constants.devnet.go index d26d7f0274..2e6bbb9782 100644 --- a/common/constants.devnet.go +++ b/common/constants.devnet.go @@ -25,12 +25,12 @@ var DevnetConstant = constant{ mergeBlock: big.NewInt(0), shanghaiBlock: big.NewInt(0), blockNumberGas50x: big.NewInt(0), - TIPV2SwitchBlock: big.NewInt(1800), + TIPV2SwitchBlock: big.NewInt(0), tipXDCXMinerDisable: big.NewInt(0), tipXDCXReceiverDisable: big.NewInt(0), - tipUpgradeReward: big.NewInt(1773000), eip1559Block: big.NewInt(0), cancunBlock: big.NewInt(1702800), + tipUpgradeReward: big.NewInt(1773000), trc21IssuerSMCTestNet: HexToAddress("0x0E2C88753131CE01c7551B726b28BFD04e44003F"), trc21IssuerSMC: HexToAddress("0x8c0faeb5C6bEd2129b8674F262Fd45c4e9468bee"), diff --git a/common/constants.mainnet.go b/common/constants.mainnet.go index 5d46f7a12b..14f5870a7e 100644 --- a/common/constants.mainnet.go +++ b/common/constants.mainnet.go @@ -28,9 +28,9 @@ var MaintnetConstant = constant{ TIPV2SwitchBlock: big.NewInt(80370000), // Target 2nd Oct 2024 tipXDCXMinerDisable: big.NewInt(80370000), // Target 2nd Oct 2024 tipXDCXReceiverDisable: big.NewInt(80370900), // Target 2nd Oct 2024, safer to release after disable miner - tipUpgradeReward: big.NewInt(9999999999), eip1559Block: big.NewInt(9999999999), cancunBlock: big.NewInt(9999999999), + tipUpgradeReward: big.NewInt(9999999999), trc21IssuerSMCTestNet: HexToAddress("0x0E2C88753131CE01c7551B726b28BFD04e44003F"), trc21IssuerSMC: HexToAddress("0x8c0faeb5C6bEd2129b8674F262Fd45c4e9468bee"), diff --git a/common/constants.testnet.go b/common/constants.testnet.go index 4dc73524a5..b72493ac1a 100644 --- a/common/constants.testnet.go +++ b/common/constants.testnet.go @@ -28,9 +28,9 @@ var TestnetConstant = constant{ shanghaiBlock: big.NewInt(61290000), // Target 31st March 2024 tipXDCXMinerDisable: big.NewInt(61290000), // Target 31st March 2024 tipXDCXReceiverDisable: big.NewInt(66825000), // Target 26 Aug 2024 - tipUpgradeReward: big.NewInt(9999999999), eip1559Block: big.NewInt(71550000), // Target 14th Feb 2025 cancunBlock: big.NewInt(9999999999), + tipUpgradeReward: big.NewInt(9999999999), trc21IssuerSMCTestNet: HexToAddress("0x0E2C88753131CE01c7551B726b28BFD04e44003F"), trc21IssuerSMC: HexToAddress("0x8c0faeb5C6bEd2129b8674F262Fd45c4e9468bee"), diff --git a/params/config.go b/params/config.go index 70fb61bb28..88d7fb31e2 100644 --- a/params/config.go +++ b/params/config.go @@ -259,7 +259,7 @@ var ( XDPoS: &XDPoSConfig{ Period: 2, Epoch: 900, - Reward: 5000, + Reward: 10, RewardCheckpoint: 900, Gap: 450, FoudationWalletAddr: common.HexToAddress("0xde5b54e8e7b585153add32f472e8d545e5d42a82"),