bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 26쪽
| Description | Default | Environment variable |
| - | - | - | - |
| `--active-sequencer-check-duration` | The duration between checks to determine the active sequencer endpoint. | `2m0s` | `OP_PROPOSER_ACTIVE_SEQUENCER_CHECK_DURATION` |
| `--allow-non-finalized` | Allow the proposer to submit proposals for L2 blocks derived from non-finalized L1 blocks. | `false` | `OP_PROPOSER_ALLOW_NON_FINALIZED` |
| `--fee-limit-multiplier` | The multiplier applied to fee suggestions to put a hard limit on fee increases | `5` | `OP_PROPOSER_TXMGR_FEE_LIMIT_MULTIPLIER` |
| `--game-factory-address` | Address of the DisputeGameFactory contract | — | `OP_PROPOSER_GAME_FACTORY_ADDRESS` |
| `--game-type` | Dispute game type to create via the configured DisputeGameFactory | `0` | `OP_PROPOSER_GAME_TYPE` |
| `--hd-path` | The HD path used to derive the sequencer wallet from the mnemonic. The mnemonic flag must also be set. | — | `OP_PROPOSER_HD_PATH` |
| `--l2-output-hd-path` | DEPRECATED:The HD path used to derive the l2output wallet from the mnemonic. The mnemonic flag must also be set. | — | `OP_PROPOSER_L2_OUTPUT_HD_PATH` |
| `--log.color` | Color the log output if in terminal mode | `false` | `OP_PROPOSER_LOG_COLOR` |
| `--log.format` | Format the log output. Supported formats: text, terminal, logfmt, logfmtms, json, jsonms | `text` | `OP_PROPOSER_LOG_FORMAT` |
| `--log.level` | The lowest log level that will be output | `INFO` | `OP_PROPOSER_LOG_LEVEL` |
| `--log.pid` | Show pid in the log | `false` | `OP_PROPOSER_LOG_PID` |
| `--metrics.addr` | Metrics listening address | `"0.0.0.0"` | `OP_PROPOSER_METRICS_ADDR` |
| `--metrics.enabled` | Enable the metrics server | `false` | `OP_PROPOSER_METRICS_ENABLED` |
| `--metrics.port` | Metrics listening port | `7300` | `OP_PROPOSER_METRICS_PORT` |
| `--mnemonic` | The mnemonic used to derive the wallets for either the service | — | `OP_PROPOSER_MNEMONIC` |
| `--network-timeout` | Timeout for all network operations | `10s` | `OP_PROPOSER_NETWORK_TIMEOUT` |
| `--num-confirmations` | Number of confirmations which we will wait after sending a transaction | `10` | `OP_PROPOSER_NUM_CONFIRMATIONS` |
| `--poll-interval` | Delay between periodic checks on whether it is time to load an output root and propose it. | `12s` | `OP_PROPOSER_POLL_INTERVAL` |
| `--pprof.addr` | pprof listening address | `"0.0.0.0"` | `OP_PROPOSER_PPROF_ADDR` |
| `--pprof.enabled` | Enable the pprof server | `false` | `OP_PROPOSER_PPROF_ENABLED` |
| `--pprof.path` | pprof file path. If it is a directory, the path is \{dir}/\{profileType}.prof | — | `OP_PROPOSER_PPROF_PATH` |
| `--pprof.port` | pprof listening port | `6060` | `OP_PROPOSER_PPROF_PORT` |
| `--pprof.type` | pprof profile type. One of cpu, heap, goroutine, threadcreate, block, mutex, allocs | — | `OP_PROPOSER_PPROF_TYPE` |
| `--private-key` | The private key to use with the service. Must not be used with mnemonic. | — | `OP_PROPOSER_PRIVATE_KEY` |
| `--proposal-interval` | Interval between submitting L2 output proposals when the dispute game factory address is set | `0s` | `OP_PROPOSER_PROPOSAL_INTERVAL` |
| `--resubmission-timeout` | Duration we will wait before resubmitting a transaction to L1 | `48s` | `OP_PROPOSER_RESUBMISSION_TIMEOUT` |
| `--rollup-rpc` | HTTP provider URL for the rollup node. A comma-separated list enables the active rollup provider. | — | `OP_PROPOSER_ROLLUP_RPC` |
| `--rpc.addr` | rpc listening address | `"0.0.0.0"` | `OP_PROPOSER_RPC_ADDR` |
| `--rpc.enable-admin` | Enable the admin API | `false` | `OP_PROPOSER_RPC_ENABLE_ADMIN` |
| `--rpc.port` | rpc listening port | `8545` | `OP_PROPOSER_RPC_PORT` |
| `--safe-abort-nonce-too-low-count` | Number of ErrNonceTooLow observations required to give up on a tx at a particular nonce without receiving confirmation | `3` | `OP_PROPOSER_SAFE_ABORT_NONCE_TOO_LOW_COUNT` |
| `--signer.address` | Address the signer is signing requests for | — | `OP_PROPOSER_SIGNER_ADDRESS` |
| `--signer.endpoint` | Signer endpoint the client will connect to | — | `OP_PROPOSER_SIGNER_ENDPOINT` |
| `--signer.header` | Headers to pass to the remote signer. Format `key=value`. Value can contain any character allowed in a HTTP header. When using env vars, split with commas. When using flags one key value pair per flag. | — | `OP_PROPOSER_SIGNER_HEADER` |
| `--signer.tls.ca` | tls ca cert path | `"tls/ca.crt"` | `OP_PROPOSER_SIGNER_TLS_CA` |
| `--signer.tls.cert` | tls cert path | `"tls/tls.crt"` | `OP_PROPOSER_SIGNER_TLS_CERT` |
| `--signer.tls.enabled` | Enable or disable TLS client authentication for the signer | `true` | `OP_PROPOSER_SIGNER_TLS_ENABLED` |
| `--signer.tls.key` | tls key | `"tls/tls.key"` | `OP_PROPOSER_SIGNER_TLS_KEY` |
| `--supernode-rpcs` | HTTP provider URLs for the supernode instances. Multiple URLs can be provided to automatically fail over. | — | `OP_PROPOSER_SUPERNODE_RPCS` |
| `--txmgr.already-published-custom-errs` | List of custom RPC error messages that indicate that a transaction has already been published. | — | `OP_PROPOSER_TXMGR_ALREADY_PUBLISHED_CUSTOM_ERRS` |
| `--txmgr.cell-proof-time` | Enables cell proofs in blob transactions for Fusaka (EIP-7742) compatibility from the provided unix timestamp. Should be set to the L1 Fusaka time. May be left blank for Ethereum Mainnet, Sepolia, Holesky, or Hoodi L1s. | `18446744073709551615` | `OP_PROPOSER_TXMGR_CELL_PROOF_TIME` |
| `--txmgr.fee-limit-threshold` | The minimum threshold (in GWei) at which fee bumping starts to be capped. Allows arbitrary fee bumps below this threshold. | `100` | `OP_PROPOSER_TXMGR_FEE_LIMIT_THRESHOLD` |
| `--txmgr.max-basefee` | Enforces a maximum base fee (in GWei) to assume when determining tx fees, `TxMgr` returns an error when exceeded. Disabled by default. | `0` | `OP_PROPOSER_TXMGR_MAX_BASEFEE` |
| `--txmgr.max-retries` | Maximum number of times to resubmit a transaction to L1 on a transient error. Set to 0 to disable retries. | `10` | `OP_PROPOSER_TXMGR_MAX_RETRIES` |
| `--txmgr.max-tip-cap` | Enforces a maximum tip cap (in GWei) to use when determining tx fees, `TxMgr` returns an error when exceeded. Disabled by default. | `0` | `OP_PROPOSER_TXMGR_MAX_TIP_CAP` |
| `--txmgr.min-basefee` | Enforces a minimum base fee (in GWei) to assume when determining tx fees. 1 GWei by default. | `1` | `OP_PROPOSER_TXMGR_MIN_BASEFEE` |
| `--txmgr.min-tip-cap` | Enforces a minimum tip cap (in GWei) to use when determining tx fees. 1 GWei by default. | `1` | `OP_PROPOSER_TXMGR_MIN_TIP_CAP` |
| `--txmgr.not-in-mempool-timeout` | Timeout for aborting a tx send if the tx does not make it to the mempool. | `2m0s` | `OP_PROPOSER_TXMGR_TX_NOT_IN_MEMPOOL_TIMEOUT` |
| `--txmgr.rebroadcast-interval` | Interval at which a published transaction will be rebroadcasted if it has not yet been mined. Should be less than ResubmissionTimeout to have an effect. | `12s` | `OP_PROPOSER_TXMGR_REBROADCAST_INTERVAL` |
| `--txmgr.receipt-query-interval` | Frequency to poll for receipts | `12s` | `OP_PROPOSER_TXMGR_RECEIPT_QUERY_INTERVAL` |
| `--txmgr.retry-interval` | Duration we will wait before resubmitting a transaction to L1 on a transient error. Values \<= 0 will result in retrying immediately. Should be less than ResubmissionTimeout to have an effect. | `1s` | `OP_PROPOSER_TXMGR_RETRY_INTERVAL` |
| `--txmgr.send-timeout` | Timeout for sending transactions. If 0 it is disabled. | `0s` | `OP_PROPOSER_TXMGR_TX_SEND_TIMEOUT` |
| `--wait-node-sync` | Indicates if, during startup, the proposer should wait for the rollup node to sync to the current L1 tip before proceeding with its driver loop. | `false` | `OP_PROPOSER_WAIT_NODE_SYNC` |
# How to run an Alt-DA mode chain
Source: https://docs.optimism.io/chain-operators/guides/features/alt-da-mode-guide
Learn how to configure and run an Alt-DA mode chain within the OP Stack.
<Info>
The Alt-DA Mode feature is currently in <strong>Beta</strong> within the MIT-licensed OP Stack. Beta features are built and reviewed by core contributors, and provide developers with early access to highly requested configurations.
These features may experience stability issues, and we encourage feedback from our early users.
</Info>
This guide provides a walkthrough for chain operators who want to run an Alt-DA Mode chain. See the [Alt-DA Mode Explainer](/op-stack/features/experimental/alt-da-mode) for a general overview of this OP Stack configuration.
An Alt-DA Mode OP Stack chain enables a chain operator to post and read data to any alternative data availability layer that has built a functioning OP Stack DA Server.
<Info>
This page includes providers that meet specific [inclusion criteria](#inclusion-criteria), as outlined below.
</Info>
## Prerequisite
You should use at least the following compatible op\* versions when running your chain.
* op-node/v1.9.1
* op-proposer/v1.9.1
* op-batcher/v1.9.1
* Latest version of op-reth (see the [execution clients guide](/node-operators/guides/configuration/execution-clients))
<Warning>
**op-geth has reached end-of-support (2026-05-31) and does not support the now-active Karst hardfork, so op-geth nodes can no longer follow the canonical chain.** Migrate to op-reth, the primary supported execution client. See the [op-geth deprecation notice](/notices/archive/op-geth-deprecation) for the full migration plan.
</Warning>
<Steps>
<Step title="Setup your DA server">
<Info>
DA Servers are not built or maintained by core contributors. DA servers are maintained by third parties and run at your own risk. Please reach out to the team who built the DA Server you are trying to run with any questions or issues.
</Info>
* Celestia's docs on how to run the [Celestia DA server](https://github.com/celestiaorg/op-plasma-celestia/blob/main/README.md)
* EigenDA's docs on how to run the [EigenDA DA server](https://github.com/Layr-Labs/op-plasma-eigenda/blob/main/README.md)
* Avail's docs on how to run the [AvailDA DA Server](https://docs.availproject.org/docs/build-with-avail/deploy-rollup-on-avail/Optimium)
* 0gDA's docs on how to run the [0gDA DA Server](https://github.com/0glabs/0g-da-op-plasma)
* Near DA's docs on how to run the [Near DA Server](https://github.com/Nuffle-Labs/data-availability/blob/84b484de98f58a91bf12c8abe8df27f5e753f63a/docs/OP-Alt-DA.md)
</Step>
<Step title="Configure your `op-node`">
* Spin up your OP chain as usual but set `--altda.enabled=true` and point both `op-batcher` and `op-node` to the DA server.
* No configuration changes are required for your execution client (`op-reth`) or `op-proposer`.
```
Alt-DA (EXPERIMENTAL)
--altda.da-server value ($OP_NODE_ALTDA_DA_SERVER)
HTTP address of a DA Server
--altda.enabled (default: false) ($OP_NODE_ALTDA_ENABLED)
Enable Alt-DA mode
--altda.verify-on-read (default: true) ($OP_NODE_ALTDA_VERIFY_ON_READ)
Verify input data matches the commitments from the DA storage service
```
</Step>
<Step title="Configure your batcher">
* Set `--altda.enabled=true` and `--altda.da-service=true`.
* Provide the URL for `--altda.da-server=$DA_SERVER_HTTP_URL`.
```
--altda.da-server value ($OP_BATCHER_ALTDA_DA_SERVER)
HTTP address of a DA Server
--altda.da-service (default: false) ($OP_BATCHER_ALTDA_DA_SERVICE)
Use DA service type where commitments are generated by the DA server
--altda.enabled (default: false) ($OP_BATCHER_ALTDA_ENABLED)
Enable Alt-DA mode
--altda.verify-on-read (default: true) ($OP_BATCHER_ALTDA_VERIFY_ON_READ)
Verify input data matches the commitments from the DA storage service
```
After completing steps 1-3 above, you will have an Alt-DA mode chain up and running.
</Step>
<Step title="Set your fee configuration">
* Chain operators are not posting everything to Ethereum, just commitments, so chain operators will need to determine fee scalars values to charge users. The fee scalar values are network throughput dependent, so values will need to be adjusted by chain operators as needed.
* Cost structure for Alt-DA Mode: The transaction data is split up into 128kb chunks and then submitted to your DA Layer. Then, 32 byte commitments are submitted (goes to batch inbox address) to L1 for each 128kb chunk. Then, figure out how much that costs relative to the number of transactions your chain is putting through.
* Set scalar values inside the deploy config. The example below shows some possible fee scalar values, calculated assuming negligible DA Layer costs, but will need to be adjusted up or down based on network throughput - as a reminder of how to set your scalar values, see [this section](/chain-operators/guides/features/blobs#update-your-scalar-values-for-blobs) of the docs.
```
// Set in Deploy Config
"gasPriceOracleBaseFeeScalar": 7663, // Approximate commitment tx base cost
"gasPriceOracleBlobBaseFeeScalar": 0, // blobs aren't used for submitting the small data commitments
```
<Info>
Some initial scalar values must be set early on in the deploy config in [Step 2](#configure-your-op-node). And then at a later point, chain operators can update the scalar values with an L1 transaction.
</Info>
</Step>
</Steps>
## For node operators (full and archive nodes)
* Run a DA server as laid out in [Step 1](#setup-your-da-server)
* Provide the same `--altda.enabled=true, --altda.da-server...` on `op-node` as listed in [Step 2](#configure-your-op-node)
## Inclusion criteria
Alt DA teams who want to be featured on this page must meet the following criteria:
* Functional [DA Server](https://specs.optimism.io/experimental/alt-da.html?utm_source=op-docs\&utm_medium=docs#da-server), maintained in your own repo
* Supporting detailed documentation, to be referenced [here](#setup-your-da-server)
* Functioning OP Stack devnet using your DA server with linked configuration, contract addresses, and RPC address
## Breaking changes: renaming Plasma Mode to Alt-DA Mode
This feature has been renamed from Plasma Mode to Alt-DA Mode in the monorepo at: [0bb2ff5](https://github.com/ethereum-optimism/optimism/commit/0bb2ff57c8133f1e3983820c0bf238001eca119b). There are several breaking changes you should be aware of. These include changes to configuration file parameters, environment variables, and CLI commands.
Before proceeding with the migration, ensure you are using [OP Stack v1.9.1](https://github.com/ethereum-optimism/optimism/releases/tag/v1.9.1) or later.
### Modify `rollup.json` config
Update your `rollup.json` configuration file by replacing the old Plasma config with the new Alt-DA config.
There are two possible formats for the old Plasma config:
### Legacy plasma config
If your config looks like this:
```json theme={null}
"use_plasma": true,
"da_commitment_type": "GenericCommitment",
"da_challenge_contract_address": "0xAAA",
"da_challenge_window": 1000,
"da_resolve_window": 2000,
```
### Recent plasma config
Or if it looks like this:
```json theme={null}
"plasma_config": {
"da_commitment_type": "GenericCommitment",
"da_challenge_contract_address": "0xAAA",
"da_challenge_window": 1000,
"da_resolve_window": 2000
}
```
### New Alt-DA config
Replace either of the above configurations with:
```json theme={null}
"alt_da": {
"da_commitment_type": "GenericCommitment",
"da_challenge_contract_address": "0xAAA",
"da_challenge_window": 1000,
"da_resolve_window": 2000
}
```
<Info>
Only include fields in the new config that were present in your old config.
</Info>
## Updating OP Stack runtime config parameters
### CLI parameters
Update the following CLI parameters for both `op-node` and `op-batcher`:
| Former CLI param | Current CLI param |
| - | - |
| `--plasma.enabled` | `--altda.enabled` |
| `--plasma.da-server` | `--altda.da-server` |
| `--plasma.verify-on-read` | `--altda.verify-on-read` |
| `--plasma.da-service` | `--altda.da-service` |
### Environment variables
#### op-node
| Former env var | Current env var |
| - | - |
| `OP_NODE_PLASMA_ENABLED` | `OP_NODE_ALTDA_ENABLED` |
| `OP_NODE_PLASMA_DA_SERVER` | `OP_NODE_ALTDA_DA_SERVER` |
| `OP_NODE_PLASMA_VERIFY_ON_READ` | `OP_NODE_ALTDA_VERIFY_ON_READ` |
| `OP_NODE_PLASMA_DA_SERVICE` | `OP_NODE_ALTDA_DA_SERVICE` |
#### op-batcher
| Former env var | Current env var |
| - | - |
| `OP_BATCHER_PLASMA_ENABLED` | `OP_BATCHER_ALTDA_ENABLED` |
| `OP_BATCHER_PLASMA_DA_SERVER` | `OP_BATCHER_ALTDA_DA_SERVER` |
| `OP_BATCHER_PLASMA_VERIFY_ON_READ` | `OP_BATCHER_ALTDA_VERIFY_ON_READ` |
| `OP_BATCHER_PLASMA_DA_SERVICE` | `OP_BATCHER_ALTDA_DA_SERVICE` |
#### op-alt-da (formerly op-plasma) daserver
| Former env var | Current env var |
| - | - |
| `OP_PLASMA_DA_SERVER_ADDR` | `OP_ALTDA_SERVER_ADDR` |
| `OP_PLASMA_DA_SERVER_PORT` | `OP_ALTDA_SERVER_PORT` |
| `OP_PLASMA_DA_SERVER_FILESTORE_PATH` | `OP_ALTDA_SERVER_FILESTORE_PATH` |
| `OP_PLASMA_DA_SERVER_GENERIC_COMMITMENT` | `OP_ALTDA_SERVER_GENERIC_COMMITMENT` |
| `OP_PLASMA_DA_SERVER_S3_BUCKET` | `OP_ALTDA_SERVER_S3_BUCKET` |
| `OP_PLASMA_DA_SERVER_S3_ENDPOINT` | `OP_ALTDA_SERVER_S3_ENDPOINT` |
| `OP_PLASMA_DA_SERVER_S3_ACCESS_KEY_ID` | `OP_ALTDA_SERVER_S3_ACCESS_KEY_ID` |
| `OP_PLASMA_DA_SERVER_S3_ACCESS_KEY_SECRET` | `OP_ALTDA_SERVER_S3_ACCESS_KEY_SECRET` |
After making these changes, your system should be properly configured to use the new Alt-DA Mode.
<Info>
Remember to thoroughly test your configuration in testnet before going mainnet.
</Info>
## Next steps
* Additional questions? See the FAQ section in the [Alt-DA Mode Explainer](/op-stack/features/experimental/alt-da-mode#faqs).
* For more detailed info on Alt-DA Mode, see the [specs](https://specs.optimism.io/experimental/alt-da.html?utm_source=op-docs\&utm_medium=docs).
* If you experience any problems, please reach out to [developer support](https://github.com/ethereum-optimism/developers/discussions).
# Post batch data as blobs
Source: https://docs.optimism.io/chain-operators/guides/features/blobs
Learn how to switch your chain's batcher to posting batch data as blobs.
This guide walks you through how to switch to using blobs for your chain.
This feature was introduced with the Ecotone network upgrade.
## Switch to using blobs
<Steps>
<Step title="Determine scalar values for using blobs">
The first step to switching to submit data with Blobs is to calculate the
scalar values you wish to set for the formula to charge users fees.
Your scalar values depend on the average transactions per day your chain is processing, the types of transactions that occur on your chain, the [`OP_BATCHER_MAX_CHANNEL_DURATION`](/chain-operators/guides/configuration/batcher#set-your--op_batcher_max_channel_duration) you have parameterized on your `op-batcher`, and the target margin you wish to charge users on top of your L1 costs.
For a walkthrough of sizing the scalars against your measured batcher spend, see [Recover the spend with fee scalars](/use-cases/tune-batcher-costs#step-5-recover-the-spend-with-fee-scalars) in the Tune batcher costs guide.
For more details on fee scalar, see [Transaction Fees, Ecotone section](/op-stack/transactions/fees#ecotone).
#### Adjust fees to change margins
As a chain operator, you may want to scale your scalar values up or down either because the throughput of your chain has changed and you are either filling significantly more or less of blobs, or because you wish to simply increase your margin to cover operational expenses.
So, to increase or decrease your margin on L1 data costs, you would simply scale both the `l1baseFeeScalar` and the `l1blobBaseFeeScalar` by the same multiple.
For example, if you wished to increase your margin on L1 data costs by \~10%, you would do:
```
newBaseFeeScalar = prevBaseFeeScalar * 1.1
newBlobBaseFeeScalar = prevBlobBaseFeeScalar * 1.1
```
</Step>
<Step title="Update your scalar values for blobs">
Once you have determined your ideal `BaseFeeScalar` and `BlobBaseFeeScalar`, you will need to apply those values for your chain. The first step is to encode both values into a single value to be set in your L1 Config:
You can set프로젝트로 돌아가기