Skip to content

Commit

Permalink
Disable contract expiry (#5027)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeharika-Sompalli committed Feb 21, 2023
1 parent 7031ac7 commit 8d9d4c3
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion hedera-node/configuration/mainnet/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
autoRenew.targetTypes=CONTRACT

1 change: 0 additions & 1 deletion hedera-node/configuration/mainnet/bootstrap.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ledger.id=0x00
hedera.recordStream.recordFileVersion=6
hedera.recordStream.signatureFileVersion=6
autoRenew.targetTypes=CONTRACT
contracts.sidecars=
hedera.recordStream.enableTraceabilityMigration=false
2 changes: 1 addition & 1 deletion hedera-node/configuration/preprod/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
autoRenew.targetTypes=CONTRACT

Original file line number Diff line number Diff line change
@@ -1 +1 @@
autoRenew.targetTypes=CONTRACT

2 changes: 1 addition & 1 deletion hedera-node/configuration/testnet/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
autoRenew.targetTypes=CONTRACT

Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ hedera.transaction.minValidityBufferSecs=10
hedera.allowances.maxTransactionLimit=20
hedera.allowances.maxAccountLimit=100
hedera.allowances.isEnabled=true
autoRenew.targetTypes=CONTRACT
autoRenew.targetTypes=
autorenew.numberOfEntitiesToScan=100
autorenew.maxNumberOfEntitiesToRenewOrDelete=2
autorenew.gracePeriod=604800
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
import com.hedera.test.extensions.LoggingSubject;
import com.hedera.test.extensions.LoggingTarget;
import java.io.IOException;
import java.util.Collections;
import java.util.EnumSet;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -390,7 +391,7 @@ class BootstrapPropertiesTest {
entry(AUTO_CREATION_ENABLED, true),
entry(LAZY_CREATION_ENABLED, true),
entry(CRYPTO_CREATE_WITH_ALIAS_AND_EVM_ADDRESS_ENABLED, false),
entry(AUTO_RENEW_TARGET_TYPES, EnumSet.of(EntityType.CONTRACT)),
entry(AUTO_RENEW_TARGET_TYPES, Collections.emptySet()),
entry(AUTO_RENEW_NUM_OF_ENTITIES_TO_SCAN, 100),
entry(AUTO_RENEW_MAX_NUM_OF_ENTITIES_TO_RENEW_OR_DELETE, 2),
entry(AUTO_RENEW_GRACE_PERIOD, 604800L),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ hedera.transaction.minValidityBufferSecs=10
hedera.allowances.maxTransactionLimit=20
hedera.allowances.maxAccountLimit=100
hedera.allowances.isEnabled=true
autoRenew.targetTypes=CONTRACT
autoRenew.targetTypes=
autorenew.numberOfEntitiesToScan=100
autorenew.maxNumberOfEntitiesToRenewOrDelete=2
autorenew.gracePeriod=604800
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ hedera.transaction.minValidityBufferSecs=10
hedera.allowances.maxTransactionLimit=20
hedera.allowances.maxAccountLimit=100
hedera.allowances.isEnabled=true
autoRenew.targetTypes=CONTRACT
autoRenew.targetTypes=
autorenew.numberOfEntitiesToScan=100
autorenew.maxNumberOfEntitiesToRenewOrDelete=2
autorenew.gracePeriod=604800
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ hedera.transaction.minValidityBufferSecs=10
hedera.allowances.maxTransactionLimit=20
hedera.allowances.maxAccountLimit=100
hedera.allowances.isEnabled=true
autoRenew.targetTypes=CONTRACT
autoRenew.targetTypes=
autorenew.numberOfEntitiesToScan=100
autorenew.maxNumberOfEntitiesToRenewOrDelete=2
autorenew.gracePeriod=604800
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ hedera.transaction.maxValidDuration=180
hedera.transaction.minValidDuration=15
hedera.transaction.minValidityBufferSecs=10
hedera.allowances.isEnabled=true
autoRenew.targetTypes=CONTRACT
autoRenew.targetTypes=
autorenew.numberOfEntitiesToScan=100
autorenew.maxNumberOfEntitiesToRenewOrDelete=2
autorenew.gracePeriod=604800
Expand Down

0 comments on commit 8d9d4c3

Please sign in to comment.