Skip to content

Commit

Permalink
add config setting for host logic version (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon authored Apr 11, 2023
1 parent c9c50a4 commit d010243
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Stellar-ledger-entries.x
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d010243

Please sign in to comment.