From 1674048fb7f37195a1a5c4df6fb48c9390bab0f7 Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Wed, 21 Jun 2023 15:44:59 +0100 Subject: [PATCH] Replace 'restorable' -> 'persistent' for state expiration config to match new terminology --- Stellar-contract-config-setting.x | 6 +++--- Stellar-ledger.x | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Stellar-contract-config-setting.x b/Stellar-contract-config-setting.x index 4dc0a2d..fb2fa69 100644 --- a/Stellar-contract-config-setting.x +++ b/Stellar-contract-config-setting.x @@ -164,11 +164,11 @@ struct ContractCostParamEntry { struct StateExpirationSettings { uint32 maxEntryExpiration; uint32 minTempEntryExpiration; - uint32 minRestorableEntryExpiration; + uint32 minPersistentEntryExpiration; uint32 autoBumpLedgers; // rent_fee = wfee_rate_average / rent_rate_denominator_for_type - int64 restorableRentRateDenominator; + int64 persistentRentRateDenominator; int64 tempRentRateDenominator; union switch (int v) @@ -227,4 +227,4 @@ case CONFIG_SETTING_STATE_EXPIRATION: case CONFIG_SETTING_CONTRACT_EXECUTION_LANES: ConfigSettingContractExecutionLanesV0 contractExecutionLanes; }; -} \ No newline at end of file +} diff --git a/Stellar-ledger.x b/Stellar-ledger.x index 3853267..e42e738 100644 --- a/Stellar-ledger.x +++ b/Stellar-ledger.x @@ -530,7 +530,7 @@ struct LedgerCloseMetaV2 // Expired restorable ledger entries that are being // evicted at this ledger. - LedgerEntry evictedRestorableLedgerEntries<>; + LedgerEntry evictedPersistentLedgerEntries<>; }; union LedgerCloseMeta switch (int v)