Skip to content

Commit

Permalink
restore to main values
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-calvin committed Feb 2, 2024
1 parent a38f718 commit 8d9c1db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
14 changes: 5 additions & 9 deletions etc/env/base/chain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,34 +52,30 @@ minimal_l2_gas_price = 100000000
# The constant that represents the possibility that a batch can be sealed because of overuse of computation resources.
# It has range from 0 to 1. If it is 0, the compute will not depend on the cost for closing the batch.
# If it is 1, the gas limit per batch will have to cover the entire cost of closing the batch.
# compute_overhead_part=1.0
compute_overhead_part = 0.0

# The constant that represents the possibility that a batch can be sealed because of overuse of pubdata.
# It has range from 0 to 1. If it is 0, the pubdata will not depend on the cost for closing the batch.
# If it is 1, the pubdata limit per batch will have to cover the entire cost of closing the batch.
# pubdata_overhead_part=1.0
pubdata_overhead_part = 0
pubdata_overhead_part = 1.0

# The constant amount of L1 gas that is used as the overhead for the batch. It includes the price for batch verification, etc.
# batch_overhead_l1_gas=800000
batch_overhead_l1_gas = 1000000
batch_overhead_l1_gas = 800000

# The maximum amount of gas that can be used by the batch. This value is derived from the circuits limitation per batch.
max_gas_per_batch = 200000000

# The maximum amount of pubdata that can be used by the batch. Note that if the calldata is used as pubdata, this variable should not exceed 128kb.
# max_pubdata_per_batch=100000
max_pubdata_per_batch = 1000000000000
max_pubdata_per_batch = 100000

# The version of the fee model to use.
# The version of the fee model to use.
# - `V1`, the first model that was used in zkSync Era. In this fee model, the pubdata price must be pegged to the L1 gas price.
# Also, the fair L2 gas price is expected to only include the proving/computation price for the operator and not the costs that come from
# processing the batch on L1.
# - `V2`, the second model that was used in zkSync Era. There the pubdata price might be independent from the L1 gas price. Also,
# The fair L2 gas price is expected to both the proving/computation price for the operator and the costs that come from
# processing the batch on L1.
fee_model_version = "V2"
fee_model_version = "V1"

# Max number of computational gas that validation step is allowed to take.
validation_computational_gas_limit = 300000
Expand Down
1 change: 0 additions & 1 deletion etc/env/base/eth_sender.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ pricing_formula_parameter_b = 1.0005
internal_l1_pricing_multiplier = 0.8
# Node polling period in seconds.
poll_period = 5
internal_enforced_l1_gas_price = 45_000_000_000

0 comments on commit 8d9c1db

Please sign in to comment.