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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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

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
           }
       }
   ]
}

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.

1 participant