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

JSON file for proposing phase5 network settings #4491

Merged
merged 12 commits into from
Oct 4, 2024

Conversation

anupsdf
Copy link
Contributor

@anupsdf anupsdf commented Sep 28, 2024

Proposing an increase to the following network settings

Contract limit:
contract_max_size_bytes 64KiB -> 128KiB

Tx limit:
Tx_max_write_bytes 65 KiB -> 129 KiB 
tx_max_size_bytes 70 KiB -> 129 KiB

Ledger limit:
Ledger_max_write_bytes 70 KiB -> 140 KiB
Ledger_max_txs_size_bytes 70 KiB -> 130 KiB

State archival limit:
eviction_scan_size 100 KB -> 500 KB

Mainnet arm command:
http-command 'upgrades?mode=set&upgradetime=YYYY-MM-DDT17:00:00Z&configupgradesetkey=V8RF//I9PaN2SnxMzvhxPGPgYKoh6Vq9HzRpqZeH9/MPiB7eTlpp1K/KrZdwabcdiJLhhhBIhhWwDSfnyyK+gA=='

Output of the proposed settings on testnet,

curl -G 'http://localhost:11626/dumpproposedsettings' --data-urlencode 'blob=FwrrdNbCXOcY6HQ6+brP0HT/oZixrwPR6Z+8aM2CvDDD2B5syC79NSEMZMr0pcK9evrBfO1nQklXUAhAtp7DaQ=='
{
   "ConfigSettingsEntries": [
       {
           "configSettingID": "CONFIG_SETTING_CONTRACT_MAX_SIZE_BYTES",
           "contractMaxSizeBytes": 131072
       },
       {
           "configSettingID": "CONFIG_SETTING_CONTRACT_LEDGER_COST_V0",
           "contractLedgerCost": {
               "ledgerMaxReadLedgerEntries": 200,
               "ledgerMaxReadBytes": 500000,
               "ledgerMaxWriteLedgerEntries": 125,
               "ledgerMaxWriteBytes": 143360,
               "txMaxReadLedgerEntries": 40,
               "txMaxReadBytes": 200000,
               "txMaxWriteLedgerEntries": 25,
               "txMaxWriteBytes": 132096,
               "feeReadLedgerEntry": 6250,
               "feeWriteLedgerEntry": 10000,
               "feeRead1KB": 1786,
               "bucketListTargetSizeBytes": 300000000,
               "writeFee1KBBucketListLow": 9836,
               "writeFee1KBBucketListHigh": 12116,
               "bucketListWriteFeeGrowthFactor": 5000
           }
       },
       {
           "configSettingID": "CONFIG_SETTING_CONTRACT_BANDWIDTH_V0",
           "contractBandwidth": {
               "ledgerMaxTxsSizeBytes": 133120,
               "txMaxSizeBytes": 132096,
               "feeTxSize1KB": 1624
           }
       },
       {
           "configSettingID": "CONFIG_SETTING_STATE_ARCHIVAL",
           "stateArchivalSettings": {
               "maxEntryTTL": 3110400,
               "minTemporaryTTL": 17280,
               "minPersistentTTL": 2073600,
               "persistentRentRateDenominator": 2103,
               "tempRentRateDenominator": 4206,
               "maxEntriesToArchive": 1000,
               "bucketListSizeWindowSampleSize": 30,
               "bucketListWindowSamplePeriod": 64,
               "evictionScanSize": 500000,
               "startingEvictionScanLevel": 7
           }
       }
   ]
}

@anupsdf anupsdf enabled auto-merge October 3, 2024 16:18
@anupsdf anupsdf changed the base branch from master to acceptance-test-pass October 3, 2024 22:50
@anupsdf anupsdf changed the base branch from acceptance-test-pass to master October 3, 2024 22:51
@anupsdf anupsdf added this pull request to the merge queue Oct 4, 2024
Merged via the queue into stellar:master with commit 1bccbc9 Oct 4, 2024
13 checks passed
@anupsdf anupsdf deleted the phase5_settings branch October 4, 2024 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants