From d01024346cc0a23e155b9cbf4dbf1780adf3890d Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 11 Apr 2023 15:32:17 -0700 Subject: [PATCH] add config setting for host logic version (#80) --- Stellar-ledger-entries.x | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Stellar-ledger-entries.x b/Stellar-ledger-entries.x index 853573a..5a9c5d0 100644 --- a/Stellar-ledger-entries.x +++ b/Stellar-ledger-entries.x @@ -513,7 +513,8 @@ enum ConfigSettingID CONFIG_SETTING_CONTRACT_LEDGER_COST_V0 = 2, CONFIG_SETTING_CONTRACT_HISTORICAL_DATA_V0 = 3, CONFIG_SETTING_CONTRACT_META_DATA_V0 = 4, - CONFIG_SETTING_CONTRACT_BANDWIDTH_V0 = 5 + CONFIG_SETTING_CONTRACT_BANDWIDTH_V0 = 5, + CONFIG_SETTING_CONTRACT_HOST_LOGIC_VERSION = 6 }; // "Compute" settings for contracts (instructions and memory). @@ -611,6 +612,8 @@ case CONFIG_SETTING_CONTRACT_META_DATA_V0: ConfigSettingContractMetaDataV0 contractMetaData; case CONFIG_SETTING_CONTRACT_BANDWIDTH_V0: ConfigSettingContractBandwidthV0 contractBandwidth; +case CONFIG_SETTING_CONTRACT_HOST_LOGIC_VERSION: + uint32 contractHostLogicVersion; }; struct LedgerEntryExtensionV1