Skip to content

Commit 881c879

Browse files
authored
Merge pull request #13 from zapper-95/update-readme-config
chore: fix typos and improve config documentation
2 parents 65c7c6d + adf6632 commit 881c879

File tree

1 file changed

+43
-12
lines changed

1 file changed

+43
-12
lines changed

README.md

Lines changed: 43 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ This is a fork of the optimism package built to allow more chain configurations.
33

44
## New Configurations
55
### Signer Information
6-
In the upstream package, privates keys are determined by the mnemonic `test test test test test test test test test test test junk` and cannot be customised.
6+
In the upstream package, private keys are determined by the mnemonic `test test test test test test test test test test test junk` and cannot be customised.
77

8-
We introduce customisation for private keys and signer information (address and endpoint) for each privallaged role.
8+
We introduce customisation for private keys and signer information (address and endpoint) for each privileged role.
99

1010

11-
| Role | Parameter | Path |
11+
| Role | Field | YAML Path |
1212
|------------|---------------|-----------------------------------------|
1313
| **Batcher** | private_key | `chain.batcher_params.private_key` |
1414
| | signer_endpoint | `chain.batcher_params.signer_endpoint` |
@@ -24,14 +24,14 @@ We introduce customisation for private keys and signer information (address and
2424
| | signer_address | `chain.challenger_params.signer_address` |
2525

2626
### Network Parameters
27-
| Parameter | Path |
27+
| Field | YAML Path |
2828
|---------------------------------|---------------------------------------------------|
2929
| Withdrawal delay | `chain.network_params.withdrawal_delay` |
3030
| Fee withdrawal network | `chain.network_params.fee_withdrawal_network` |
3131
| Dispute game finality delay | `chain.network_params.dispute_game_finality_delay` |
3232

3333
### Gas Parameters
34-
| Parameter | Path |
34+
| Field | YAML Path |
3535
|-----------------------------|--------------------------------------------|
3636
| Block gas limit | `chain.gas_params.gas_limit` |
3737
| EIP 1559 Elasticity | `chain.gas_params.eip_1559_elasticity` |
@@ -40,8 +40,8 @@ We introduce customisation for private keys and signer information (address and
4040
| Blob Base Fee Scalar | `chain.gas_params.blob_base_fee_scalar` |
4141

4242

43-
### Data Availibility
44-
| Parameter | Path |
43+
### Data Availability
44+
| Field | YAML Path |
4545
|-----------------------------------|----------------------------------------------------------------|
4646
| Data availability type | `optimism_package.altda_deploy_config.da_type` |
4747
| Batch submissions frequency | `optimism_package.altda_deploy_config.da_batch_submission_frequency` |
@@ -155,17 +155,29 @@ optimism_package:
155155
# - For altda chains, set da_server_params to use an image and cmd of your choice (one could use da-server, another eigenda-proxy, another celestia proxy, etc). If unset, op's default da-server image will be used.
156156
altda_deploy_config:
157157
use_altda: false
158-
da_type: "calldata" # allows auto, blobs, calldata or custom. Sets --data-availability-type in batcher_launcher
159-
160-
da_batch_submission_frequency: 1 #--max-channel-duration=1 in block units but user input in minutes
158+
159+
# Specifies how transactions are posted. Allows auto, blobs calldata or custom.
160+
da_type: "calldata"
161161

162-
da_challenge_contract_address: "0x49cce536156dC6E5F05B26eaA8a2607Cb943e041"
162+
# Determines how frequently the batcher submits aggregated transaction data to L1 (via the batcher transaction).
163+
da_batch_submission_frequency: 1
163164

165+
# Represents the L1 address of the DataAvailabilityChallenge contract.
166+
da_challenge_contract_address: ""
164167

168+
# Specifies the allowed commitment. Either KeccakCommitment or GenericCommitment. However, KeccakCommitment will be deprecated soon.
165169
da_commitment_type: KeccakCommitment
170+
171+
# Represents the block interval during which the availability of a data commitment can be challenged.
166172
da_challenge_window: 100
173+
174+
# Represents the block interval during which a data availability challenge can be resolved.
167175
da_resolve_window: 100
176+
177+
# Represents the required bond size to initiate a data availability challenge.
168178
da_bond_size: 1000
179+
180+
# Represents the percentage of the resolving cost to be refunded to the resolver such as 100 means 100% refund.
169181
da_resolver_refund_percentage: 0
170182

171183
# An array of L2 networks to run
@@ -385,6 +397,15 @@ optimism_package:
385397
# Defaults to True
386398
fund_dev_accounts: true
387399

400+
# The number of seconds that a proof must be mature before it can be used to finalize a withdrawal.
401+
withdrawal_delay: 604800
402+
403+
# Sets the fee withdrawal network (0 for L1, 1 for L2) for baseFee, l1FeeVault, sequencerFee,
404+
fee_withdrawal_network: 0
405+
406+
# An additional number of seconds a dispute game must wait before it can be used to finalize a withdrawal.
407+
dispute_game_finality_delay: 302400
408+
388409
# Default batcher configuration
389410
batcher_params:
390411
# The Docker image that should be used for the batcher; leave blank to use the default op-batcher image
@@ -449,10 +470,20 @@ optimism_package:
449470
signer_address: "" # wallet address of the signer
450471

451472
gas_params:
473+
474+
# Represents the chain's block gas limit.
452475
gas_limit: "0x17D7840"
476+
477+
# The elasticity of the EIP1559 fee market.
453478
eip_1559_elasticity: 6
479+
480+
# The denominator of EIP1559 base fee market.
454481
eip_1559_denominator: 50
482+
483+
# Represents the value of the base fee scalar used for fee calculations.
455484
base_fee_scalar: 2
485+
486+
# Represents the value of the blob base fee scalar used for fee calculations.
456487
blob_base_fee_scalar: 1
457488

458489
# Default MEV configuration
@@ -510,7 +541,7 @@ optimism_package:
510541
# Defaults to empty
511542
global_tolerations: []
512543

513-
# Whether the environment should be persistent; this is WIP and is slowly being rolled out accross services
544+
# Whether the environment should be persistent; this is WIP and is slowly being rolled out across services
514545
# Defaults to false
515546
persistent: false
516547

0 commit comments

Comments
 (0)