bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 35쪽
FinalityDelaySeconds`, and `respectedGameType` fields.
</Info>
<Info>
Standard configuration is the set of requirements for an OP Stack chain to be
considered a Standard Chain within the OP Stack. These requirements are
currently a draft, pending governance approval. For more details, please see
this [governance thread](https://gov.optimism.io/t/season-6-draft-standard-rollup-charter/8135)
and the actual requirements in the [OP Stack Configurability Specification](https://specs.optimism.io/protocol/configurability.html?utm_source=op-docs\&utm_medium=docs).
</Info>
## Configuration values
Generated from the [`DeployConfig` struct](https://github.com/ethereum-optimism/optimism/blob/op-deployer%2Fv0.7.1/op-chain-ops/genesis/config.go)
in `op-chain-ops/genesis` at [`op-deployer/v0.7.1`](https://github.com/ethereum-optimism/optimism/releases/tag/op-deployer%2Fv0.7.1):
122 values in 20 groups. The JSON key for each value is its `json:"..."` struct
tag there; descriptions are the Go doc comments. When this page and the source
disagree, the source wins.
### Development accounts
| JSON key | Type | Description |
| - | - | - |
| `fundDevAccounts` | boolean | FundDevAccounts configures whether to fund the dev accounts. This should only be used during devnet deployments. |
### L2 genesis block
| JSON key | Type | Description |
| - | - | - |
| `l2GenesisBlockNonce` | number (hex-encoded) | — |
| `l2GenesisBlockGasLimit` | number (hex-encoded) | — |
| `l2GenesisBlockDifficulty` | number (hex-encoded big integer) | — |
| `l2GenesisBlockMixHash` | 32-byte hash | — |
| `l2GenesisBlockNumber` | number (hex-encoded) | — |
| `l2GenesisBlockGasUsed` | number (hex-encoded) | — |
| `l2GenesisBlockParentHash` | 32-byte hash | — |
| `l2GenesisBlockBaseFeePerGas` | number (hex-encoded big integer) | — |
### Ownership
OwnershipDeployConfig defines the ownership of an L2 chain deployment. This excludes superchain-wide contracts.
| JSON key | Type | Description |
| - | - | - |
| `proxyAdminOwner` | address | ProxyAdminOwner represents the owner of the ProxyAdmin predeploy on L2. |
| `finalSystemOwner` | address | FinalSystemOwner is the owner of the system on L1. Any L1 contract that is ownable has this account set as its owner. |
### Fee vaults
| JSON key | Type | Description |
| - | - | - |
| `baseFeeVaultRecipient` | address | BaseFeeVaultRecipient represents the recipient of fees accumulated in the BaseFeeVault. Can be an account on L1 or L2, depending on the BaseFeeVaultWithdrawalNetwork value. |
| `l1FeeVaultRecipient` | address | L1FeeVaultRecipient represents the recipient of fees accumulated in the L1FeeVault. Can be an account on L1 or L2, depending on the L1FeeVaultWithdrawalNetwork value. |
| `sequencerFeeVaultRecipient` | address | SequencerFeeVaultRecipient represents the recipient of fees accumulated in the SequencerFeeVault. Can be an account on L1 or L2, depending on the SequencerFeeVaultWithdrawalNetwork value. |
| `operatorFeeVaultRecipient` | address | OperatorFeeVaultRecipient represents the recipient of fees accumulated in the OperatorFeeVault. |
| `baseFeeVaultMinimumWithdrawalAmount` | number (hex-encoded big integer) | BaseFeeVaultMinimumWithdrawalAmount represents the minimum withdrawal amount for the BaseFeeVault. |
| `l1FeeVaultMinimumWithdrawalAmount` | number (hex-encoded big integer) | L1FeeVaultMinimumWithdrawalAmount represents the minimum withdrawal amount for the L1FeeVault. |
| `sequencerFeeVaultMinimumWithdrawalAmount` | number (hex-encoded big integer) | SequencerFeeVaultMinimumWithdrawalAmount represents the minimum withdrawal amount for the SequencerFeeVault. |
| `operatorFeeVaultMinimumWithdrawalAmount` | number (hex-encoded big integer) | OperatorFeeVaultMinimumWithdrawalAmount represents the minimum withdrawal amount for the OperatorFeeVault. |
| `baseFeeVaultWithdrawalNetwork` | string: "remote" (withdraw to L1) or "local" (withdraw to L2); legacy 0/1 accepted | BaseFeeVaultWithdrawalNetwork represents the withdrawal network for the BaseFeeVault. |
| `l1FeeVaultWithdrawalNetwork` | string: "remote" (withdraw to L1) or "local" (withdraw to L2); legacy 0/1 accepted | L1FeeVaultWithdrawalNetwork represents the withdrawal network for the L1FeeVault. |
| `sequencerFeeVaultWithdrawalNetwork` | string: "remote" (withdraw to L1) or "local" (withdraw to L2); legacy 0/1 accepted | SequencerFeeVaultWithdrawalNetwork represents the withdrawal network for the SequencerFeeVault. |
| `operatorFeeVaultWithdrawalNetwork` | string: "remote" (withdraw to L1) or "local" (withdraw to L2); legacy 0/1 accepted | OperatorFeeVaultWithdrawalNetwork represents the withdrawal network for the OperatorFeeVault. |
### Governance token
GovernanceDeployConfig is exclusive to OP-Mainnet and the testing of OP-Mainnet-like chains.
| JSON key | Type | Description |
| - | - | - |
| `enableGovernance` | boolean | EnableGovernance configures whether or not include governance token predeploy. |
| `governanceTokenSymbol` | string | GovernanceTokenSymbol represents the ERC20 symbol of the GovernanceToken. |
| `governanceTokenName` | string | GovernanceTokenName represents the ERC20 name of the GovernanceToken |
| `governanceTokenOwner` | address | GovernanceTokenOwner represents the owner of the GovernanceToken. Has the ability to mint and burn tokens. |
### Gas price oracle
GasPriceOracleDeployConfig configures the GasPriceOracle L2 predeploy.
| JSON key | Type | Description |
| - | - | - |
| `gasPriceOracleOverhead` | number | GasPriceOracleOverhead represents the initial value of the gas overhead in the GasPriceOracle predeploy. Deprecated: Since Ecotone, this field is superseded by GasPriceOracleBaseFeeScalar and GasPriceOracleBlobBaseFeeScalar. |
| `gasPriceOracleScalar` | number | GasPriceOracleScalar represents the initial value of the gas scalar in the GasPriceOracle predeploy. Deprecated: Since Ecotone, this field is superseded by GasPriceOracleBaseFeeScalar and GasPriceOracleBlobBaseFeeScalar. |
| `gasPriceOracleBaseFeeScalar` | number | GasPriceOracleBaseFeeScalar represents the value of the base fee scalar used for fee calculations. |
| `gasPriceOracleBlobBaseFeeScalar` | number | GasPriceOracleBlobBaseFeeScalar represents the value of the blob base fee scalar used for fee calculations. |
| `gasPriceOracleOperatorFeeScalar` | number | GasPriceOracleOperatorFeeScalar represents the value of the operator fee scalar used for fee calculations. |
| `gasPriceOracleOperatorFeeConstant` | number | GasPriceOracleOperatorFeeConstant represents the value of the operator fee constant used for fee calculations. |
### Custom gas token
GasTokenDeployConfig configures the optional custom gas token functionality.
| JSON key | Type | Description |
| - | - | - |
| `useCustomGasToken` | boolean | UseCustomGasToken is a flag to indicate that a custom gas token should be used |
| `gasPayingTokenName` | string | GasPayingTokenName represents the custom gas token name. |
| `gasPayingTokenSymbol` | string | GasPayingTokenSymbol represents the custom gas token symbol. |
| `nativeAssetLiquidityAmount` | number (hex-encoded big integer) | NativeAssetLiquidityAmount represents the amount of liquidity to pre-fund the NativeAssetLiquidity contract with. |
| `liquidityControllerOwner` | address | LiquidityControllerOwner represents the owner of the LiquidityController. |
### Operator addresses
OperatorDeployConfig configures the hot-key addresses for operations such as sequencing and batch-submission.
| JSON key | Type | Description |
| - | - | - |
| `p2pSequencerAddress` | address | P2PSequencerAddress is the address of the key the sequencer uses to sign blocks on the P2P layer. |
| `batchSenderAddress` | address | BatchSenderAddress represents the initial sequencer account that authorizes batches. Transactions sent from this account to the batch inbox address are considered valid. |
### EIP-1559 fee market
EIP1559DeployConfig configures the EIP-1559 parameters of the chain.
| JSON key | Type | Description |
| - | - | - |
| `eip1559Elasticity` | number | EIP1559Elasticity is the elasticity of the EIP1559 fee market. |
| `eip1559Denominator` | number | EIP1559Denominator is the denominator of EIP1559 base fee market. |
| `eip1559DenominatorCanyon` | number | EIP1559DenominatorCanyon is the denominator of EIP1559 base fee market when Canyon is active. |
### Network upgrade (hardfork) activations
UpgradeScheduleDeployConfig configures when network upgrades activate.
| JSON key | Type | Description |
| - | - | - |
| `l2GenesisRegolithTimeOffset` | number (hex-encoded), nullable | L2GenesisRegolithTimeOffset is the number of seconds after genesis block that Regolith hard fork activates. Set it to 0 to activate at genesis. Nil to disable Regolith. |
| `l2GenesisCanyonTimeOffset` | number (hex-encoded), nullable | L2GenesisCanyonTimeOffset is the number of seconds after genesis block that Canyon hard fork activates. Set it to 0 to activate at genesis. Nil to disable Canyon. |
| `l2GenesisDeltaTimeOffset` | number (hex-encoded), nullable | L2GenesisDeltaTimeOffset is the number of seconds after genesis block that Delta hard fork activates. Set it to 0 to activate at genesis. Nil to disable Delta. |
| `l2GenesisEcotoneTimeOffset` | number (hex-encoded), nullable | L2GenesisEcotoneTimeOffset is the number of seconds after genesis block that Ecotone hard fork activates. Set it to 0 to activate at genesis. Nil to disable Ecotone. |
| `l2GenesisFjordTimeOffset` | number (hex-encoded), nullable | L2GenesisFjordTimeOffset is the number of seconds after genesis block that Fjord hard fork activates. Set it to 0 to activate at genesis. Nil to disable Fjord. |
| `l2GenesisGraniteTimeOffset` | number (hex-encoded), nullable | L2GenesisGraniteTimeOffset is the number of seconds after genesis block that Granite hard fork activates. Set it to 0 to activate at genesis. Nil to disable Granite. |
| `l2GenesisHoloceneTimeOffset` | number (hex-encoded), nullable | L2GenesisHoloceneTimeOffset is the number of seconds after genesis block that the Holocene hard fork activates. Set it to 0 to activate at genesis. Nil to disable Holocene. |
| `l2GenesisIsthmusTimeOffset` | number (hex-encoded), nullable | L2GenesisIsthmusTimeOffset is the number of seconds after genesis block that the Isthmus hard fork activates. Set it to 0 to activate at genesis. Nil to disable Isthmus. |
| `l2GenesisJovianTimeOffset` | number (hex-encoded), nullable | L2GenesisJovianTimeOffset is the number of seconds after genesis block that the Jovian hard fork activates. Set it to 0 to activate at genesis. Nil to disable Jovian. |
| `l2GenesisKarstTimeOffset` | number (hex-encoded), nullable | L2GenesisKarstTimeOffset is the number of seconds after genesis block that the Karst hard fork activates. Set it to 0 to activate at genesis. Nil to disable Karst. |
| `l2GenesisInteropTimeOffset` | number (hex-encoded), nullable | L2GenesisInteropTimeOffset is the number of seconds after genesis block that the Interop hard fork activates. Set it to 0 to activate at genesis. Nil to disable Interop. |
| `l2GenesisPectraBlobScheduleTimeOffset` | number (hex-encoded), nullable | L2GenesisPectraBlobScheduleTimeOffset is the number of seconds after genesis block that the PectraBlobSchedule fix activates. Set it to 0 to activate at genesis. Nil to disable the PectraBlobSchedule fix. |
| `l1CancunTimeOffset` | number (hex-encoded), nullable | When Cancun activates. Relative to L1 genesis. |
| `l1PragueTimeOffset` | number (hex-encoded), nullable | When Prague activates. Relative to L1 genesis. |
| `l1OsakaTimeOffset` | number (hex-encoded), nullable | When Osaka activates. Relative to L1 genesis. |
| `l1BPO1TimeOffset` | number (hex-encoded), nullable | When BPO1 activates. Relative to L1 genesis. |
| `l1BPO2TimeOffset` | number (hex-encoded), nullable | When BPO2 activates. Relative to L1 genesis. |
| `l1BPO3TimeOffset` | number (hex-encoded), nullable | When BPO3 activates. Relative to L1 genesis. |
| `l1BPO4TimeOffset` | number (hex-encoded), nullable | When BPO4 activates. Relative to L1 genesis. |
| `l1BlobScheduleConfig` | object (go-ethereum blob schedule) | Blob schedule config. |
### Core protocol parameters
L2CoreDeployConfig configures the core protocol parameters of the chain.
| JSON key | Type | Description |
| - | - | - |
| `l1ChainID` | number | L1ChainID is the chain ID of the L1 chain. |
| `l2ChainID` | number | L2ChainID is the chain ID of the L2 chain. |
| `l2BlockTime` | number | L2BlockTime is the number of seconds between each L2 block. |
| `finalizationPeriodSeconds` | number | FinalizationPeriodSeconds represents the number of seconds before an output is considered finalized. This impacts the amount of time that withdrawals take to finalize and is generally set to 1 week. |
| `maxSequencerDrift` | number | MaxSequencerDrift is the number of seconds after the L1 timestamp of the end of the sequencing window that batches must be included, otherwise L2 blocks including deposits are force included. |
| `sequencerWindowSize` | number | SequencerWindowSize is the number of L1 blocks per sequencing window. |
| `channelTimeout` | number | ChannelTimeoutBedrock is the number of L1 blocks that a frame stays valid when included in L1. |
| `batchInboxAddress` | address | BatchInboxAddress is the L1 account that batches are sent to. |
| `systemConfigStartBlock` | number | SystemConfigStartBlock represents the block at which the op-node should start syncing from. It is an override to set this value on legacy networks where it is not set by default. It can be removed once all networks have this value set in their storage. |
### Fee market limits
| JSON key | Type | Description |
| - | - | - |
| `minBaseFee` | number | MinBaseFee is the minimum base applied to each block. |
| `daFootprintGasScalar` | number | DAFootprintGasScalar is the scalar used to compute the DAFootprint of each block. |
### Alt-DA mode
AltDADeployConfig configures optional AltDA functionality.
| JSON key | Type | Description |
| - | - | - |
| `useAltDA` | boolean | UseAltDA is a flag that indicates if the system is using op-alt-da |
| `daCommitmentType` | string | DACommitmentType specifies the allowed commitment |
| `daChallengeWindow` | number | DAChallengeWindow represents the block interval during which the availability of a data commitment can be challenged. |
| `daResolveWindow` | number | DAResolveWindow represents the block interval during which a data availability challenge can be resolved. |
| `daBondSize` | number | DABondSize represents the required bond size to initiate a data availability challenge. |
| `daResolverRefundPercentage` | number | DAResolverRefundPercentage represents the percentage of the resolving cost to be refunded to the resolver such as 100 means 100% refund. |
### Development L1 genesis
DevL1DeployConfig is used to configure a L1 chain for development/testing purposes. A production L2 deployment does not utilize this configuration, except of a L1BlockTime sanity-check (set this to 12 for L1 Ethereum).
| JSON key | Type | Description |
| - | - | - |
| `l1BlockTime` | number | — |
| `l1GenesisBlockTimestamp` | number (hex-encoded) | — |
| `l1GenesisBlockNonce` | number (hex-encoded) | — |
| `l1GenesisBlockGasLimit` | number (hex-encoded) | — |
| `l1GenesisBlockDifficulty` | number (hex-encoded big integer) | — |
| `l1GenesisBlockMixHash` | 32-byte hash | — |
| `l1GenesisBlockCoinbase` | address | — |
| `l1GenesisBlockNumber` | number (hex-encoded) | — |
| `l1GenesisBlockGasUsed` | number (hex-encoded) | — |
| `l1GenesisBlockParentHash` | 32-byte hash | — |
| `l1GenesisBlockBaseFeePerGas` | number (hex-encoded big integer) | — |
| `l1GenesisBlockExcessBlobGas` | number (hex-encoded), nullable | — |
| `l1GenesisBlockblobGasUsed` | number (hex-encoded), nullable | — |
### L1 starting block
| JSON key | Type | Description |
| - | - | - |
| `l1StartingBlockTag` | L1 block number, tag, or hash | L1StartingBlockTag anchors the L2 at an L1 block. The timestamp of the block referenced by l1StartingBlockTag is used in the L2 genesis block, rollup-config, and L1 output-oracle contract. The Output oracle deploy script may use it if the L2 starting timestamp is nil, assuming the L2 genesis is set up with this. The L2 genesis timestamp does not affect the initial L2 account state: the storage of the L1Block contract at genesis is zeroed, since the adoption of the L2-genesis allocs-generation through solidity script. |
### Superchain configuration
SuperchainL1DeployConfig configures parameters of the superchain-wide deployed contracts to L1. This deployment is global, and can be reused between L2s that target the same superchain.
| JSON key | Type | Description |
| - | - | - |
| `superchainConfigGuardian` | address | SuperchainConfigGuardian represents the GUARDIAN account in the SuperchainConfig. Has the ability to pause withdrawals. |
### Legacy output oracle
OutputOracleDeployConfig configures the legacy OutputOracle deployment to L1. This is obsoleted with Fault Proofs. See FaultProofDeployConfig.
| JSON key | Type | Description |
| - | - | - |
| `l2OutputOracleSubmissionInterval` | number | L2OutputOracleSubmissionInterval is the number of L2 blocks between outputs that are submitted to the L2OutputOracle contract located on L1. |
| `l2OutputOracleStartingTimestamp` | number | L2OutputOracleStartingTimestamp is the starting timestamp for the L2OutputOracle. MUST be the same as the timestamp of the L2OO start block. |
| `l2OutputOracleStartingBlockNumber` | number | L2OutputOracleStartingBlockNumber is the starting block number for the L2OutputOracle. Must be greater than or equal to the first Bedrock block. The first L2 output will correspond to this value plus the submission interval. |
| `l2OutputOracleProposer` | address | L2OutputOracleProposer is the address of the account that proposes L2 outputs. |
| `l2OutputOracleChallenger` | address | L2OutputOracleChallenger is the address of the account that challenges L2 outputs. |
### Fault proofs
FaultProofDeployConfig configures the fault-proof deployment to L1.
| JSON key | Type | Description |
| - | - | - |
| `useFaultProofs` | boolean | UseFaultProofs is a flag that indicates if the system is using fault proofs instead of the older output oracle mechanism. |
| `faultGameAbsolutePrestate` | 32-byte hash | FaultGameAbsolutePrestate is the absolute prestate of Cannon. This is computed by generating a proof from the 0th -> 1st instruction and grabbing the prestate from the output JSON. All honest challengers should agree on the setup state of the program. |
| `faultGameMaxDepth` | number | FaultGameMaxDepth is the maximum depth of the position tree within the fault dispute game. `2^{FaultGameMaxDepth}` is how many instructions the execution trace bisection game supports. Ideally, this should be conservatively set so that there is always enough room for a full Cannon trace. |
| `faultGameClockExtension` | number | FaultGameClockExtension is the amount of time that the dispute game will set the potential grandchild claim's, clock to, if the remaining time is less than this value at the time of a claim's creation. |
| `faultGameMaxClockDuration` | number | FaultGameMaxClockDuration is the maximum amount of time that may accumulate on a team's chess clock before they may no longer respond. |
| `faultGameGenesisBlock` | number | FaultGameGenesisBlock is the block number for genesis. |
| `faultGameGenesisOutputRoot` | 32-byte hash | FaultGameGenesisOutputRoot is the output root for the genesis block. |
| `faultGameSplitDepth` | number | FaultGameSplitDepth is the depth at which the fault dispute game splits from output roots to execution trace claims. |
| `faultGameWithdrawalDelay` | number | FaultGameWithdrawalDelay is the number of seconds that users must wait before withdrawing ETH from a fault game. |
| `preimageOracleMinProposalSize프로젝트로 돌아가기