-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Revisit base config values (#2532)
## What ❔ - changes some values in base config - removes `request_timeout`, `account_pks` as those are dead - adds "override" config, it's not used by code but is helpful when setting new chain ## Why ❔ - unify config values - remove dead code ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zk fmt` and `zk lint`.
- Loading branch information
1 parent
2fa6bf0
commit 3fac8ac
Showing
11 changed files
with
77 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
state_keeper: | ||
block_commit_deadline_ms: 3600000 | ||
minimal_l2_gas_price: 45250000 | ||
eth: | ||
sender: | ||
tx_poll_period: 20 | ||
aggregate_tx_poll_period: 2 | ||
max_txs_in_flight: 100 | ||
aggregated_block_commit_deadline: 300 | ||
aggregated_block_prove_deadline: 300 | ||
aggregated_block_execute_deadline: 300 | ||
timestamp_criteria_max_allowed_lag: 104000 # 29h | ||
gas_adjuster: | ||
pricing_formula_parameter_a: 1.06 | ||
internal_l1_pricing_multiplier: 1 | ||
internal_pubdata_pricing_multiplier: 1.50 | ||
poll_period: 60 | ||
observability: | ||
log_directives: zksync=info,zksync_state_keeper=debug,zksync_core=debug,zksync_server=debug,zksync_contract_verifier=debug,zksync_dal=debug,zksync_state=debug,zksync_utils=debug,zksync_eth_sender=debug,loadnext=debug,dev_ticker=info,vm=info,block_sizes_test=info,setup_key_generator_and_server=info,zksync_queued_job_processor=debug,slot_index_consistency_checker=debug,zksync_health_check=debug,zksync_consensus_bft=debug,zksync_consensus_network=debug,zksync_consensus_storage=debug,zksync_consensus_executor=debug, | ||
|
||
# remove eth_sender_wait_confirmations, eth_watcher_confirmations_for_eth_event variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
state_keeper: | ||
block_commit_deadline_ms: 3600000 | ||
minimal_l2_gas_price: 25000000 | ||
eth: | ||
sender: | ||
tx_poll_period: 20 | ||
aggregate_tx_poll_period: 2 | ||
max_txs_in_flight: 100 | ||
aggregated_block_commit_deadline: 300 | ||
aggregated_block_prove_deadline: 300 | ||
aggregated_block_execute_deadline: 300 | ||
timestamp_criteria_max_allowed_lag: 104000 # 29h | ||
gas_adjuster: | ||
pricing_formula_parameter_a: 1.1 | ||
internal_l1_pricing_multiplier: 1 | ||
poll_period: 60 | ||
watcher: | ||
confirmations_for_eth_event: 10 | ||
observability: | ||
log_directives: zksync=info,zksync_state_keeper=debug,zksync_core=debug,zksync_server=debug,zksync_contract_verifier=debug,zksync_dal=debug,zksync_state=debug,zksync_utils=debug,zksync_eth_sender=debug,loadnext=debug,dev_ticker=info,vm=info,block_sizes_test=info,setup_key_generator_and_server=info,zksync_queued_job_processor=debug,slot_index_consistency_checker=debug,zksync_health_check=debug,zksync_consensus_bft=debug,zksync_consensus_network=debug,zksync_consensus_storage=debug,zksync_consensus_executor=debug, | ||
|
||
# remove eth_sender_wait_confirmations variable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters