Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ConfigSettingContractLedgerCostExtV0 #234

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Stellar-contract-config-setting.x
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ struct ConfigSettingContractLedgerCostV0
uint32 bucketListWriteFeeGrowthFactor;
};

// Ledger access settings for contracts.
struct ConfigSettingContractLedgerCostExtV0
{
// Maximum number of in-memory ledger entry read operations per transaction
uint32 txMaxInMemoryReadEntries;
};

// Historical data (pushed to core archives) settings for contracts.
struct ConfigSettingContractHistoricalDataV0
{
Expand Down Expand Up @@ -313,7 +320,8 @@ enum ConfigSettingID
CONFIG_SETTING_CONTRACT_EXECUTION_LANES = 11,
CONFIG_SETTING_BUCKETLIST_SIZE_WINDOW = 12,
CONFIG_SETTING_EVICTION_ITERATOR = 13,
CONFIG_SETTING_CONTRACT_PARALLEL_COMPUTE_V0 = 14
CONFIG_SETTING_CONTRACT_PARALLEL_COMPUTE_V0 = 14,
CONFIG_SETTING_CONTRACT_LEDGER_COST_EXT_V0 = 15
};

union ConfigSettingEntry switch (ConfigSettingID configSettingID)
Expand Down Expand Up @@ -348,5 +356,7 @@ case CONFIG_SETTING_EVICTION_ITERATOR:
EvictionIterator evictionIterator;
case CONFIG_SETTING_CONTRACT_PARALLEL_COMPUTE_V0:
ConfigSettingContractParallelComputeV0 contractParallelCompute;
case CONFIG_SETTING_CONTRACT_LEDGER_COST_EXT_V0:
ConfigSettingContractLedgerCostExtV0 contractLedgerCostExt;
};
}