From 1078b4661997f48b458cc36f19eb33bbed96f741 Mon Sep 17 00:00:00 2001 From: Alexgao001 Date: Tue, 8 Aug 2023 17:41:28 +0800 Subject: [PATCH] modify the default params --- x/sp/types/params.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x/sp/types/params.go b/x/sp/types/params.go index fd041cad3..d25650a30 100644 --- a/x/sp/types/params.go +++ b/x/sp/types/params.go @@ -17,11 +17,11 @@ const ( // Default deposit denom DefaultDepositDenom = "BNB" // DefaultNumOfHistoricalBlocksForMaintenanceRecords The oldest block from current will be kept of for SP maintenance records - DefaultNumOfHistoricalBlocksForMaintenanceRecords = 21600 //todo set a reasonable number after test + DefaultNumOfHistoricalBlocksForMaintenanceRecords = 864000 // DefaultMaintenanceDurationQuota is the total allowed time for a SP to be in Maintenance mode within DefaultNumOfHistoricalBlocksForMaintenanceRecords - DefaultMaintenanceDurationQuota = 21600 // in second + DefaultMaintenanceDurationQuota = 21600 // 6 hour // DefaultNumOfLockUpBlocksForMaintenance defines blocks difference which Sp update itself to Maintenance mode is allowed - DefaultNumOfLockUpBlocksForMaintenance = 10 //todo set a reasonable number after test + DefaultNumOfLockUpBlocksForMaintenance = 21600 ) var (