diff --git a/docs/software/commands.md b/docs/software/commands.md index 46fac346e1..ac51fe10f0 100644 --- a/docs/software/commands.md +++ b/docs/software/commands.md @@ -382,7 +382,7 @@ Most commands return their results in JSON format. and dump it as base64 xdr. This can be used along with the `stellar-xdr` command line tool to dump the current settings in the same format as the JSON file we use for upgrades. This is helpful if you want to make settings changes off of the current settings. - Ex. `curl -s "127.0.0.1:11626/sorobaninfo?format=upgrade_xdr" | stellar-xdr decode --type ConfigUpgradeSet` + Ex. `curl -s "127.0.0.1:11626/sorobaninfo?format=upgrade_xdr" | stellar-xdr decode --type ConfigUpgradeSet --output json-formatted` * **dumpproposedsettings** `dumpproposedsettings?blob=Base64`
diff --git a/soroban-settings/pubnet_phase5.json b/soroban-settings/pubnet_phase5.json new file mode 100644 index 0000000000..4a7ba8cb0e --- /dev/null +++ b/soroban-settings/pubnet_phase5.json @@ -0,0 +1,47 @@ +{ + "updated_entry": [ + { + "contract_max_size_bytes": 131072 + }, + { + "contract_ledger_cost_v0": { + "ledger_max_read_ledger_entries": 200, + "ledger_max_read_bytes": 500000, + "ledger_max_write_ledger_entries": 125, + "ledger_max_write_bytes": 143360, + "tx_max_read_ledger_entries": 40, + "tx_max_read_bytes": 200000, + "tx_max_write_ledger_entries": 25, + "tx_max_write_bytes": 132096, + "fee_read_ledger_entry": 6250, + "fee_write_ledger_entry": 10000, + "fee_read1_kb": 1786, + "bucket_list_target_size_bytes": 14500000000, + "write_fee1_kb_bucket_list_low": 8510, + "write_fee1_kb_bucket_list_high": 12116, + "bucket_list_write_fee_growth_factor": 5000 + } + }, + { + "contract_bandwidth_v0": { + "ledger_max_txs_size_bytes": 133120, + "tx_max_size_bytes": 132096, + "fee_tx_size1_kb": 1624 + } + }, + { + "state_archival": { + "max_entry_ttl": 3110400, + "min_temporary_ttl": 17280, + "min_persistent_ttl": 2073600, + "persistent_rent_rate_denominator": 2103, + "temp_rent_rate_denominator": 4206, + "max_entries_to_archive": 1000, + "bucket_list_size_window_sample_size": 30, + "bucket_list_window_sample_period": 64, + "eviction_scan_size": 500000, + "starting_eviction_scan_level": 7 + } + } + ] + } \ No newline at end of file diff --git a/soroban-settings/testnet_settings_phase_1.json b/soroban-settings/testnet_settings_enable_upgrades.json similarity index 100% rename from soroban-settings/testnet_settings_phase_1.json rename to soroban-settings/testnet_settings_enable_upgrades.json diff --git a/soroban-settings/testnet_settings_phase_2.json b/soroban-settings/testnet_settings_phase_2.json deleted file mode 100644 index 011658dd1a..0000000000 --- a/soroban-settings/testnet_settings_phase_2.json +++ /dev/null @@ -1,535 +0,0 @@ -{ - "updated_entry": [ - { - "contract_max_size_bytes": 65536 - }, - { - "contract_compute_v0": { - "ledger_max_instructions": 500000000, - "tx_max_instructions": 100000000, - "fee_rate_per_instructions_increment": 25, - "tx_memory_limit": 41943040 - } - }, - { - "contract_ledger_cost_v0": { - "ledger_max_read_ledger_entries": 200, - "ledger_max_read_bytes": 500000, - "ledger_max_write_ledger_entries": 125, - "ledger_max_write_bytes": 70000, - "tx_max_read_ledger_entries": 40, - "tx_max_read_bytes": 200000, - "tx_max_write_ledger_entries": 25, - "tx_max_write_bytes": 66560, - "fee_read_ledger_entry": 6250, - "fee_write_ledger_entry": 10000, - "fee_read1_kb": 1786, - "bucket_list_target_size_bytes": 300000000, - "write_fee1_kb_bucket_list_low": 9836, - "write_fee1_kb_bucket_list_high": 12116, - "bucket_list_write_fee_growth_factor": 5000 - } - }, - { - "contract_historical_data_v0": { - "fee_historical1_kb": 16235 - } - }, - { - "contract_events_v0": { - "tx_max_contract_events_size_bytes": 8198, - "fee_contract_events1_kb": 10000 - } - }, - { - "contract_bandwidth_v0": { - "ledger_max_txs_size_bytes": 71680, - "tx_max_size_bytes": 71680, - "fee_tx_size1_kb": 1624 - } - }, - { - "contract_cost_params_cpu_instructions": [ - { - "ext": "v0", - "const_term": 4, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 434, - "linear_term": 16 - }, - { - "ext": "v0", - "const_term": 42, - "linear_term": 16 - }, - { - "ext": "v0", - "const_term": 44, - "linear_term": 16 - }, - { - "ext": "v0", - "const_term": 295, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 60, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 221, - "linear_term": 26 - }, - { - "ext": "v0", - "const_term": 331, - "linear_term": 4369 - }, - { - "ext": "v0", - "const_term": 3636, - "linear_term": 7013 - }, - { - "ext": "v0", - "const_term": 40256, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 377551, - "linear_term": 4059 - }, - { - "ext": "v0", - "const_term": 417482, - "linear_term": 45712 - }, - { - "ext": "v0", - "const_term": 41142, - "linear_term": 634 - }, - { - "ext": "v0", - "const_term": 1945, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 6481, - "linear_term": 5943 - }, - { - "ext": "v0", - "const_term": 711, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 2314804, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 4176, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 4716, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 4680, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 4256, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 884, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 1059, - "linear_term": 502 - }, - { - "ext": "v0", - "const_term": 73077, - "linear_term": 25410 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 540752 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 176363 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 29989 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 1061449 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 237336 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 328476 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 701845 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 429383 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 28 - }, - { - "ext": "v0", - "const_term": 43030, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 7556 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 10711 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 3300 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 23038 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 42488 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 828974 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 297100 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 14 - }, - { - "ext": "v0", - "const_term": 1882, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 3000906, - "linear_term": 0 - } - ] - }, - { - "contract_cost_params_memory_bytes": [ - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 16, - "linear_term": 128 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 242, - "linear_term": 384 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 384 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 132773, - "linear_term": 4903 - }, - { - "ext": "v0", - "const_term": 69472, - "linear_term": 1217 - }, - { - "ext": "v0", - "const_term": 14, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 181, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 99, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 99, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 99, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 99, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 99, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 17564, - "linear_term": 6457 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 47464 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 13420 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 6285 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 64670 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 29074 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 48095 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 103229 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 36394 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 257 - }, - { - "ext": "v0", - "const_term": 70704, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 14613 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 6833 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 1025 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 129632 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 13665 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 97637 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 9176 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 126 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - }, - { - "ext": "v0", - "const_term": 0, - "linear_term": 0 - } - ] - }, - { - "contract_data_key_size_bytes": 250 - }, - { - "contract_data_entry_size_bytes": 65536 - }, - { - "state_archival": { - "max_entry_ttl": 3110400, - "min_temporary_ttl": 17280, - "min_persistent_ttl": 2073600, - "persistent_rent_rate_denominator": 2103, - "temp_rent_rate_denominator": 4206, - "max_entries_to_archive": 1000, - "bucket_list_size_window_sample_size": 30, - "bucket_list_window_sample_period": 64, - "eviction_scan_size": 100000, - "starting_eviction_scan_level": 7 - } - }, - { - "contract_execution_lanes": { - "ledger_max_tx_count": 100 - } - } - ] -} diff --git a/soroban-settings/testnet_settings_upgrade.json b/soroban-settings/testnet_settings_upgrade.json new file mode 100644 index 0000000000..ac8fb0f2bc --- /dev/null +++ b/soroban-settings/testnet_settings_upgrade.json @@ -0,0 +1,536 @@ +{ + "updated_entry": [ + { + "contract_max_size_bytes": 131072 + }, + { + "contract_compute_v0": { + "ledger_max_instructions": 500000000, + "tx_max_instructions": 100000000, + "fee_rate_per_instructions_increment": 25, + "tx_memory_limit": 41943040 + } + }, + { + "contract_ledger_cost_v0": { + "ledger_max_read_ledger_entries": 200, + "ledger_max_read_bytes": 500000, + "ledger_max_write_ledger_entries": 125, + "ledger_max_write_bytes": 143360, + "tx_max_read_ledger_entries": 40, + "tx_max_read_bytes": 200000, + "tx_max_write_ledger_entries": 25, + "tx_max_write_bytes": 132096, + "fee_read_ledger_entry": 6250, + "fee_write_ledger_entry": 10000, + "fee_read1_kb": 1786, + "bucket_list_target_size_bytes": 300000000, + "write_fee1_kb_bucket_list_low": 9836, + "write_fee1_kb_bucket_list_high": 12116, + "bucket_list_write_fee_growth_factor": 5000 + } + }, + { + "contract_historical_data_v0": { + "fee_historical1_kb": 16235 + } + }, + { + "contract_events_v0": { + "tx_max_contract_events_size_bytes": 8198, + "fee_contract_events1_kb": 10000 + } + }, + { + "contract_bandwidth_v0": { + "ledger_max_txs_size_bytes": 133120, + "tx_max_size_bytes": 132096, + "fee_tx_size1_kb": 1624 + } + }, + { + "contract_cost_params_cpu_instructions": [ + { + "ext": "v0", + "const_term": 4, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 434, + "linear_term": 16 + }, + { + "ext": "v0", + "const_term": 42, + "linear_term": 16 + }, + { + "ext": "v0", + "const_term": 44, + "linear_term": 16 + }, + { + "ext": "v0", + "const_term": 295, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 60, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 221, + "linear_term": 26 + }, + { + "ext": "v0", + "const_term": 331, + "linear_term": 4369 + }, + { + "ext": "v0", + "const_term": 3636, + "linear_term": 7013 + }, + { + "ext": "v0", + "const_term": 40256, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 377551, + "linear_term": 4059 + }, + { + "ext": "v0", + "const_term": 417482, + "linear_term": 45712 + }, + { + "ext": "v0", + "const_term": 41142, + "linear_term": 634 + }, + { + "ext": "v0", + "const_term": 1945, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 6481, + "linear_term": 5943 + }, + { + "ext": "v0", + "const_term": 711, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 2314804, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 4176, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 4716, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 4680, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 4256, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 884, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 1059, + "linear_term": 502 + }, + { + "ext": "v0", + "const_term": 73077, + "linear_term": 25410 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 540752 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 176363 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 29989 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 1061449 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 237336 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 328476 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 701845 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 429383 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 28 + }, + { + "ext": "v0", + "const_term": 43030, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 7556 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 10711 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 3300 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 23038 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 42488 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 828974 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 297100 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 14 + }, + { + "ext": "v0", + "const_term": 1882, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 3000906, + "linear_term": 0 + } + ] + }, + { + "contract_cost_params_memory_bytes": [ + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 16, + "linear_term": 128 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 242, + "linear_term": 384 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 384 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 132773, + "linear_term": 4903 + }, + { + "ext": "v0", + "const_term": 69472, + "linear_term": 1217 + }, + { + "ext": "v0", + "const_term": 14, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 181, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 99, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 99, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 99, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 99, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 99, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 17564, + "linear_term": 6457 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 47464 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 13420 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 6285 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 64670 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 29074 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 48095 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 103229 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 36394 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 257 + }, + { + "ext": "v0", + "const_term": 70704, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 14613 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 6833 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 1025 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 129632 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 13665 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 97637 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 9176 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 126 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + }, + { + "ext": "v0", + "const_term": 0, + "linear_term": 0 + } + ] + }, + { + "contract_data_key_size_bytes": 250 + }, + { + "contract_data_entry_size_bytes": 65536 + }, + { + "state_archival": { + "max_entry_ttl": 3110400, + "min_temporary_ttl": 17280, + "min_persistent_ttl": 2073600, + "persistent_rent_rate_denominator": 2103, + "temp_rent_rate_denominator": 4206, + "max_entries_to_archive": 1000, + "bucket_list_size_window_sample_size": 30, + "bucket_list_window_sample_period": 64, + "eviction_scan_size": 500000, + "starting_eviction_scan_level": 7 + } + }, + { + "contract_execution_lanes": { + "ledger_max_tx_count": 100 + } + } + ] + } + \ No newline at end of file