From 6e2c7b3d9b310324c9c87ac5230992e7c52cda73 Mon Sep 17 00:00:00 2001 From: Matt Hess Date: Wed, 11 Oct 2023 19:13:46 -0500 Subject: [PATCH] [release/0.42] Remove unrecognized properties from testnet bootstrap and application config files (#9208) Signed-off-by: Matt Hess --- .../testnet/application.properties | 7 +++---- .../configuration/testnet/bootstrap.properties | 17 ++++++++++------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/hedera-node/configuration/testnet/application.properties b/hedera-node/configuration/testnet/application.properties index ff673ce3c0d9..1621f39a2f76 100644 --- a/hedera-node/configuration/testnet/application.properties +++ b/hedera-node/configuration/testnet/application.properties @@ -1,14 +1,13 @@ -# This is exact replica of file 121 on testnet and must match bootstrap.properties exactly. +# Except for network-specific properties (e.g. testnet vs. mainnet), this file is intended to be an +# exact replica of file 121 on testnet and should match bootstrap.properties exactly. # It will be used by modular code for all the property overrides. # It does not have to match bootstrap.properties once that file is deprecated by the switch from mono-service to hedera-config. accounts.maxNumber=20_000_000 staking.fees.stakingRewardPercentage=10 -staking.maxDailyStakeRewardThPerH=6_849 staking.maxStakeRewarded=650000000000000000 staking.rewardBalanceThreshold=8500000000000000 -staking.rewardRate=48630136986000 tokens.nfts.maxAllowedMints=10_000_000 -#Overrides that differ based on the network +# Overrides that differ based on the network ledger.id=0x01 contracts.chainId=296 bootstrap.genesisPublicKey=e06b22e0966108fa5d63fc6ae53f9824319b891cd4d6050dbf2b242be7e13344 diff --git a/hedera-node/configuration/testnet/bootstrap.properties b/hedera-node/configuration/testnet/bootstrap.properties index 2aa288bf25b4..42e1a5176201 100644 --- a/hedera-node/configuration/testnet/bootstrap.properties +++ b/hedera-node/configuration/testnet/bootstrap.properties @@ -1,16 +1,19 @@ -# This file needs to exist even though there aren't any properties in it. -# Downstream processes depend on its existence. -# This is an exact replica of file 121 on testnet and must match application.properties exactly. -# It will be used by mono-service for all the property overrides. +# NOTE: Downstream processes depend on this file's existence +# +# Except network-specific overrides (e.g. mainnet vs. testnet), this file is intended to +# be an exact replica of file 121 on testnet and should match application.properties exactly. +# Whenever a configuration change is made to file 121, it should be made here as well. There will be +# some lag time between the property change in file 121 and that same change promoted to the repo and +# to subsequent artifacts, but this span of time should be minimized as much as possible. +# +# This file will be used by mono-service for all the property overrides. # This file will be deprecated when we deprecate using the mono-service config and fully move to hedera-config. accounts.maxNumber=20_000_000 staking.fees.stakingRewardPercentage=10 -staking.maxDailyStakeRewardThPerH=6_849 staking.maxStakeRewarded=650000000000000000 staking.rewardBalanceThreshold=8500000000000000 -staking.rewardRate=48630136986000 tokens.nfts.maxAllowedMints=10_000_000 -#Overrides that differ based on the network +# Overrides that differ based on the network ledger.id=0x01 contracts.chainId=296 bootstrap.genesisPublicKey=e06b22e0966108fa5d63fc6ae53f9824319b891cd4d6050dbf2b242be7e13344