From 9656e2d1c46834717404da6ceca943cff305ef6c Mon Sep 17 00:00:00 2001 From: benjamin202410 Date: Thu, 24 Apr 2025 03:03:32 -0700 Subject: [PATCH] update devnet reward parameter (#980) Co-authored-by: liam.lai --- common/constants.devnet.go | 2 +- params/config.go | 20 +++++++++++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/common/constants.devnet.go b/common/constants.devnet.go index 53467df93c..d0e8ff8316 100644 --- a/common/constants.devnet.go +++ b/common/constants.devnet.go @@ -28,7 +28,7 @@ var DevnetConstant = constant{ tipXDCXReceiverDisable: big.NewInt(0), eip1559Block: big.NewInt(32400), cancunBlock: big.NewInt(43200), - tipUpgradeReward: big.NewInt(1773000), + tipUpgradeReward: big.NewInt(243000), tipEpochHalving: big.NewInt(9999999999), trc21IssuerSMC: HexToAddress("0x8c0faeb5C6bEd2129b8674F262Fd45c4e9468bee"), diff --git a/params/config.go b/params/config.go index eecf4aeb88..72fc9b8a64 100644 --- a/params/config.go +++ b/params/config.go @@ -147,9 +147,23 @@ var ( MaxMasternodes: 12, MaxProtectorNodes: 0, MaxObverserNodes: 1000, - MasternodeReward: 57.06, - ProtectorReward: 45.25, - ObserverReward: 22.62, + MasternodeReward: 63.42, // 57.078 goes to node, 6.34 goes to foundation + ProtectorReward: 50.27, // 45.243 goes to node, 5.02 goes to foundation + ObserverReward: 25.13, // 22.671 goes to node, 2.51 goes to foundation + }, + 300000: { + SwitchRound: 300000, + CertThreshold: 0.667, + TimeoutSyncThreshold: 3, + TimeoutPeriod: 5, + MinePeriod: 2, + ExpTimeoutConfig: ExpTimeoutConfig{Base: 2.0, MaxExponent: 5}, + MaxMasternodes: 12, + MaxProtectorNodes: 2, + MaxObverserNodes: 2, + MasternodeReward: 63.42, // 57.078 goes to node, 6.34 goes to foundation + ProtectorReward: 50.27, // 45.243 goes to node, 5.02 goes to foundation + ObserverReward: 25.13, // 22.671 goes to node, 2.51 goes to foundation }, }