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

Update phase1 settings #4190

Merged
merged 6 commits into from
Feb 15, 2024
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
30 changes: 15 additions & 15 deletions soroban-settings/phase1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,45 @@
"contract_compute_v0": {
"ledger_max_instructions": 100000000,
"tx_max_instructions": 100000000,
"fee_rate_per_instructions_increment": 100,
"fee_rate_per_instructions_increment": 25,
"tx_memory_limit": 41943040
}
},
{
"contract_ledger_cost_v0": {
"ledger_max_read_ledger_entries": 40,
"ledger_max_read_bytes": 133120,
"ledger_max_write_ledger_entries": 20,
"ledger_max_write_ledger_entries": 25,
"ledger_max_write_bytes": 66560,
"tx_max_read_ledger_entries": 40,
"tx_max_read_bytes": 133120,
"tx_max_write_ledger_entries": 20,
"tx_max_write_ledger_entries": 25,
"tx_max_write_bytes": 66560,
"fee_read_ledger_entry": 1000,
"fee_write_ledger_entry": 3000,
"fee_read1_kb": 1000,
"bucket_list_target_size_bytes": 14495514624,
"write_fee1_kb_bucket_list_low": 1000,
"write_fee1_kb_bucket_list_high": 4000000,
"fee_read_ledger_entry": 6250,
"fee_write_ledger_entry": 10000,
"fee_read1_kb": 1786,
"bucket_list_target_size_bytes": 13958643712,
"write_fee1_kb_bucket_list_low": -1234673,
"write_fee1_kb_bucket_list_high": 115390,
"bucket_list_write_fee_growth_factor": 1000
}
},
{
"contract_historical_data_v0": {
"fee_historical1_kb": 5000
"fee_historical1_kb": 16235
}
},
{
"contract_events_v0": {
"tx_max_contract_events_size_bytes": 8198,
"fee_contract_events1_kb": 300
"fee_contract_events1_kb": 10000
}
},
{
"contract_bandwidth_v0": {
"ledger_max_txs_size_bytes": 71680,
"tx_max_size_bytes": 71680,
"fee_tx_size1_kb": 500
"fee_tx_size1_kb": 1624
}
},
{
Expand Down Expand Up @@ -295,15 +295,15 @@
{
"state_archival": {
"max_entry_ttl": 3110400,
"min_temporary_ttl": 16,
"min_persistent_ttl": 120960,
"min_temporary_ttl": 17280,
"min_persistent_ttl": 2073600,
"persistent_rent_rate_denominator": 535680,
"temp_rent_rate_denominator": 5356800,
"max_entries_to_archive": 100,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this new minimum TTL settings, we can update starting_eviction_scan_level to 7 since it is no longer possible for entries to expire in level 6.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we reduce one of the ttl values below 16384, we should reduce the scan size as well right? Do you foresee any issues with this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, but this should be fine. We have a test that reduces the scan level and we've done this before on future net without issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

"bucket_list_size_window_sample_size": 30,
"bucket_list_window_sample_period": 64,
"eviction_scan_size": 100000,
"starting_eviction_scan_level": 6
"starting_eviction_scan_level": 7
}
},
{
Expand Down
Loading