Skip to content

Commit

Permalink
Merge pull request #53 from ethereum-optimism/07-17-feat_genesis_gene…
Browse files Browse the repository at this point in the history
…rate_combined_allocs

feat(genesis): generate genesis files
  • Loading branch information
jakim929 authored Jul 19, 2024
2 parents 6073ce7 + 5e5c07d commit d84f3a8
Show file tree
Hide file tree
Showing 37 changed files with 172,571 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ go.work.sum
.env

.DS_Store

# vendored packages
lib
19 changes: 18 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,21 @@ test-go:
go test ./... -v

start:
go run ./...
go run ./...

clean-lib:
rm -rf lib

checkout-optimism-monorepo:
rm -rf lib/optimism
mkdir -p lib/optimism && \
cd lib/optimism && \
git init && \
git remote add origin https://github.com/ethereum-optimism/optimism.git && \
git fetch --depth=1 origin 9001eef4784dc2950d0bdcda29752cb2939bae2b && \
git reset --hard FETCH_HEAD && \
git submodule update --init --recursive && \
make cannon-prestate

generate-genesis: checkout-optimism-monorepo
python3 scripts/generate-genesis.py
4 changes: 3 additions & 1 deletion contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ src = "src"
out = "out"
libs = ["lib"]

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
fs_permissions = [
{ access='read-write', path='../generated' },
]
15 changes: 15 additions & 0 deletions contracts/script/CombineAllocs.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Script, console} from "forge-std/Script.sol";

contract CombineAllocs is Script {
function setUp() public {}

function run(string[] memory allocsPaths, string memory outputPath) public {
for (uint256 i = 0; i < allocsPaths.length; i++) {
vm.loadAllocs(allocsPaths[i]);
}
vm.dumpState(outputPath);
}
}
34 changes: 34 additions & 0 deletions genesisdeployment/generated/addresses/901-addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"AddressManager": "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",
"AnchorStateRegistry": "0xacBCD8AD8D9Cb7Cf238079988Ff0CdB09DA907eA",
"AnchorStateRegistryProxy": "0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44",
"DelayedWETH": "0x49BBFf1629824A1e7993Ab5c17AFa45D24AB28c9",
"DelayedWETHProxy": "0x4ed7c70F96B99c776995fB64377f0d4aB3B0e1C1",
"DisputeGameFactory": "0x20B168142354Cee65a32f6D8cf3033E592299765",
"DisputeGameFactoryProxy": "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d",
"L1CrossDomainMessenger": "0x094e6508ba9d9bf1ce421fff3dE06aE56e67901b",
"L1CrossDomainMessengerProxy": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
"L1ERC721Bridge": "0x5C4F5e749A61a9503c4AAE8a9393e89609a0e804",
"L1ERC721BridgeProxy": "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
"L1StandardBridge": "0xb7900B27Be8f0E0fF65d1C3A4671e1220437dd2b",
"L1StandardBridgeProxy": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1",
"L2OutputOracle": "0x19652082F846171168Daf378C4fD3ee85a0D4A60",
"L2OutputOracleProxy": "0x59b670e9fA9D0A427751Af201D676719a970857b",
"Mips": "0xcdAdd729ca2319E8955240bDb61A6A6A956A7664",
"OptimismMintableERC20Factory": "0x39Aea2Dd53f2d01c15877aCc2791af6BDD7aD567",
"OptimismMintableERC20FactoryProxy": "0x68B1D87F95878fE05B998F19b66F4baba5De1aed",
"OptimismPortal": "0xb7461Fb347f68f9717e6fD12C8407dEcee063bdc",
"OptimismPortal2": "0xfcbb237388CaF5b08175C9927a37aB6450acd535",
"OptimismPortalProxy": "0x9A676e781A523b5d0C0e43731313A708CB607508",
"PreimageOracle": "0x3bd7E801E51d48c5d94Ea68e8B801DFFC275De75",
"ProtocolVersions": "0xfbfD64a6C0257F613feFCe050Aa30ecC3E3d7C3F",
"ProtocolVersionsProxy": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
"ProxyAdmin": "0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",
"SafeProxyFactory": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"SafeSingleton": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0",
"SuperchainConfig": "0x068E44eB31e111028c41598E4535be7468674D0A",
"SuperchainConfigProxy": "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6",
"SystemConfig": "0x6167B477F8d9138aa509f54b2800443857e28c0f",
"SystemConfigProxy": "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
"SystemOwnerSafe": "0xBc2c114E9cA1C66C63DB1E745ff3aD6a51dF5B01"
}
34 changes: 34 additions & 0 deletions genesisdeployment/generated/addresses/902-addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"AddressManager": "0xbCF26943C0197d2eE0E5D05c716Be60cc2761508",
"AnchorStateRegistry": "0xE98C1A5843Db11A594b7A30d28BA676eE5Df1Af4",
"AnchorStateRegistryProxy": "0x63cf2Cd54fE91e3545D1379abf5bfd194545259d",
"DelayedWETH": "0x49BBFf1629824A1e7993Ab5c17AFa45D24AB28c9",
"DelayedWETHProxy": "0x2fc631e4B3018258759C52AF169200213e84ABab",
"DisputeGameFactory": "0x20B168142354Cee65a32f6D8cf3033E592299765",
"DisputeGameFactoryProxy": "0xfbAb4aa40C202E4e80390171E82379824f7372dd",
"L1CrossDomainMessenger": "0x094e6508ba9d9bf1ce421fff3dE06aE56e67901b",
"L1CrossDomainMessengerProxy": "0x5C7c905B505f0Cf40Ab6600d05e677F717916F6B",
"L1ERC721Bridge": "0x5C4F5e749A61a9503c4AAE8a9393e89609a0e804",
"L1ERC721BridgeProxy": "0x85C5Dd61585773423e378146D4bEC6f8D149E248",
"L1StandardBridge": "0xb7900B27Be8f0E0fF65d1C3A4671e1220437dd2b",
"L1StandardBridgeProxy": "0xe6b98F104c1BEf218F3893ADab4160Dc73Eb8367",
"L2OutputOracle": "0x19652082F846171168Daf378C4fD3ee85a0D4A60",
"L2OutputOracleProxy": "0xAfe1b5bdEbD4ae65AF2024738bf0735fbb65d44b",
"Mips": "0xcdAdd729ca2319E8955240bDb61A6A6A956A7664",
"OptimismMintableERC20Factory": "0x39Aea2Dd53f2d01c15877aCc2791af6BDD7aD567",
"OptimismMintableERC20FactoryProxy": "0x0D4ff719551E23185Aeb16FFbF2ABEbB90635942",
"OptimismPortal": "0xb7461Fb347f68f9717e6fD12C8407dEcee063bdc",
"OptimismPortal2": "0xfcbb237388CaF5b08175C9927a37aB6450acd535",
"OptimismPortalProxy": "0x73eccD6288e117cAcA738BDAD4FEC51312166C1A",
"PreimageOracle": "0x3bd7E801E51d48c5d94Ea68e8B801DFFC275De75",
"ProtocolVersions": "0xfbfD64a6C0257F613feFCe050Aa30ecC3E3d7C3F",
"ProtocolVersionsProxy": "0x90118d110B07ABB82Ba8980D1c5cC96EeA810d2C",
"ProxyAdmin": "0x59F2f1fCfE2474fD5F0b9BA1E73ca90b143Eb8d0",
"SafeProxyFactory": "0x71C95911E9a5D330f4D621842EC243EE1343292e",
"SafeSingleton": "0x948B3c65b89DF0B4894ABE91E6D02FE579834F8F",
"SuperchainConfig": "0x068E44eB31e111028c41598E4535be7468674D0A",
"SuperchainConfigProxy": "0x05Aa229Aec102f78CE0E852A812a388F076Aa555",
"SystemConfig": "0x6167B477F8d9138aa509f54b2800443857e28c0f",
"SystemConfigProxy": "0x381445710b5e73d34aF196c53A3D5cDa58EDBf7A",
"SystemOwnerSafe": "0x3DEc398dFE20D0bD7E75f2893879041724583322"
}
34 changes: 34 additions & 0 deletions genesisdeployment/generated/addresses/903-addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"AddressManager": "0x6e989C01a3e3A94C973A62280a72EC335598490e",
"AnchorStateRegistry": "0x3FfDc58fdc9F38D48F5848fA80fB90332e3ADe67",
"AnchorStateRegistryProxy": "0x17A7428596776A82b9E2D11fd7c523e8e1BA92B1",
"DelayedWETH": "0x49BBFf1629824A1e7993Ab5c17AFa45D24AB28c9",
"DelayedWETHProxy": "0xf764adBB39386BC744d533649D1EE3c86b0D6fD1",
"DisputeGameFactory": "0x20B168142354Cee65a32f6D8cf3033E592299765",
"DisputeGameFactoryProxy": "0x9E7088C23e5C0B2D02cD7886A1BDbC7FE8b71016",
"L1CrossDomainMessenger": "0x094e6508ba9d9bf1ce421fff3dE06aE56e67901b",
"L1CrossDomainMessengerProxy": "0xE8BBb5F22E6b3d6CD9157B8FD2b59C076e57a9Fc",
"L1ERC721Bridge": "0x5C4F5e749A61a9503c4AAE8a9393e89609a0e804",
"L1ERC721BridgeProxy": "0x5F1e91d509cFEB544809B0749284DEB25C3a113a",
"L1StandardBridge": "0xb7900B27Be8f0E0fF65d1C3A4671e1220437dd2b",
"L1StandardBridgeProxy": "0x36B22905A1211A55E0d62eF46720172e2b0f24BD",
"L2OutputOracle": "0x19652082F846171168Daf378C4fD3ee85a0D4A60",
"L2OutputOracleProxy": "0x029A31eDd4C791C99387B318cbc352EA4D3f64bf",
"Mips": "0xcdAdd729ca2319E8955240bDb61A6A6A956A7664",
"OptimismMintableERC20Factory": "0x39Aea2Dd53f2d01c15877aCc2791af6BDD7aD567",
"OptimismMintableERC20FactoryProxy": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
"OptimismPortal": "0xb7461Fb347f68f9717e6fD12C8407dEcee063bdc",
"OptimismPortal2": "0xfcbb237388CaF5b08175C9927a37aB6450acd535",
"OptimismPortalProxy": "0x558785b76e29e5b9f8Bf428936480B49d71F3d76",
"PreimageOracle": "0x3bd7E801E51d48c5d94Ea68e8B801DFFC275De75",
"ProtocolVersions": "0xfbfD64a6C0257F613feFCe050Aa30ecC3E3d7C3F",
"ProtocolVersionsProxy": "0x0124189Fc71496f8660dB5189F296055ED757632",
"ProxyAdmin": "0xF6168876932289D073567f347121A267095f3DD6",
"SafeProxyFactory": "0x2E983A1Ba5e8b38AAAeC4B440B9dDcFBf72E15d1",
"SafeSingleton": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
"SuperchainConfig": "0x068E44eB31e111028c41598E4535be7468674D0A",
"SuperchainConfigProxy": "0x8cDbD76bB6Cf0293e07deEEEd460cf579873aF44",
"SystemConfig": "0x6167B477F8d9138aa509f54b2800443857e28c0f",
"SystemConfigProxy": "0x71550ac84Ba7599220eAEf5C756b847cB4486606",
"SystemOwnerSafe": "0x72851E707089de83c374eE2Cd8193d7cf1BB2DA3"
}
34 changes: 34 additions & 0 deletions genesisdeployment/generated/addresses/904-addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"AddressManager": "0xe4EB561155AFCe723bB1fF8606Fbfe9b28d5d38D",
"AnchorStateRegistry": "0x81C78FE7D7baABd8B6080541F860721a745b7C86",
"AnchorStateRegistryProxy": "0x754A91555a8dd5037315ABFd3702ED49d92887b7",
"DelayedWETH": "0x49BBFf1629824A1e7993Ab5c17AFa45D24AB28c9",
"DelayedWETHProxy": "0x11c81c1A7979cdd309096D1ea53F887EA9f8D14d",
"DisputeGameFactory": "0x20B168142354Cee65a32f6D8cf3033E592299765",
"DisputeGameFactoryProxy": "0xD34052d665891976eE71E097EaAF03Df51e9e3d5",
"L1CrossDomainMessenger": "0x094e6508ba9d9bf1ce421fff3dE06aE56e67901b",
"L1CrossDomainMessengerProxy": "0xd787A42Ee3ac477c46Dd6C912e7af795D44453d5",
"L1ERC721Bridge": "0x5C4F5e749A61a9503c4AAE8a9393e89609a0e804",
"L1ERC721BridgeProxy": "0x4d8eC2972eb0bC4210c64E651638D4a00ad3B400",
"L1StandardBridge": "0xb7900B27Be8f0E0fF65d1C3A4671e1220437dd2b",
"L1StandardBridgeProxy": "0xfe36E31dFE8Cb3A3Aa0CB9f35B191DdB5451b090",
"L2OutputOracle": "0x19652082F846171168Daf378C4fD3ee85a0D4A60",
"L2OutputOracleProxy": "0xfcF38f326CA709b0B04B2215Dbc969fC622775F7",
"Mips": "0xcdAdd729ca2319E8955240bDb61A6A6A956A7664",
"OptimismMintableERC20Factory": "0x39Aea2Dd53f2d01c15877aCc2791af6BDD7aD567",
"OptimismMintableERC20FactoryProxy": "0x072B5bdBFC5e66B55317Ef4B4d1AE7d61592ebB2",
"OptimismPortal": "0xb7461Fb347f68f9717e6fD12C8407dEcee063bdc",
"OptimismPortal2": "0xfcbb237388CaF5b08175C9927a37aB6450acd535",
"OptimismPortalProxy": "0x6509f2a854BA7441039fCE3b959d5bAdd2fFCFCD",
"PreimageOracle": "0x3bd7E801E51d48c5d94Ea68e8B801DFFC275De75",
"ProtocolVersions": "0xfbfD64a6C0257F613feFCe050Aa30ecC3E3d7C3F",
"ProtocolVersionsProxy": "0x06d763ED65D2DC08BAc5743bd00AffD764dD80c1",
"ProxyAdmin": "0xcf27F781841484d5CF7e155b44954D7224caF1dD",
"SafeProxyFactory": "0x261D8c5e9742e6f7f1076Fa1F560894524e19cad",
"SafeSingleton": "0xCE3478A9E0167a6Bc5716DC39DbbbfAc38F27623",
"SuperchainConfig": "0x068E44eB31e111028c41598E4535be7468674D0A",
"SuperchainConfigProxy": "0x71F043a9072b5ec430C0a1DD766E1C8C613eDc5d",
"SystemConfig": "0x6167B477F8d9138aa509f54b2800443857e28c0f",
"SystemConfigProxy": "0x4af802b3010e07845b2B8C2250126e9Ac0BDb6B9",
"SystemOwnerSafe": "0x410fbB1364c5A3EE879C28673cC21EE5AA8204A5"
}
34 changes: 34 additions & 0 deletions genesisdeployment/generated/addresses/905-addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"AddressManager": "0x71a9d115E322467147391c4a71D85F8e1cA623EF",
"AnchorStateRegistry": "0x72823AE800FbFCE412B34bB2AFfcA4CC9e79e01a",
"AnchorStateRegistryProxy": "0x3857C14Ec0C727ac2aEcD5016283C76c6b5C860e",
"DelayedWETH": "0x49BBFf1629824A1e7993Ab5c17AFa45D24AB28c9",
"DelayedWETHProxy": "0x6705Dc3c8Add1EF084953B58246BA1D2eDd40bB7",
"DisputeGameFactory": "0x20B168142354Cee65a32f6D8cf3033E592299765",
"DisputeGameFactoryProxy": "0x968b1F578F9c225fa7e56A725B4aEB74813882a2",
"L1CrossDomainMessenger": "0x094e6508ba9d9bf1ce421fff3dE06aE56e67901b",
"L1CrossDomainMessengerProxy": "0x909296a852aBc3f3235a485479e266Ea24E85418",
"L1ERC721Bridge": "0x5C4F5e749A61a9503c4AAE8a9393e89609a0e804",
"L1ERC721BridgeProxy": "0x306CF0ca8F289e13985587a3303De0Fa765b5B6f",
"L1StandardBridge": "0xb7900B27Be8f0E0fF65d1C3A4671e1220437dd2b",
"L1StandardBridgeProxy": "0x0635605d7cd6d565Ab8088cC15e45A927c139d3E",
"L2OutputOracle": "0x19652082F846171168Daf378C4fD3ee85a0D4A60",
"L2OutputOracleProxy": "0x6e7cfe3fd749F6E1C53BC1065fc702eb6c22F600",
"Mips": "0xcdAdd729ca2319E8955240bDb61A6A6A956A7664",
"OptimismMintableERC20Factory": "0x39Aea2Dd53f2d01c15877aCc2791af6BDD7aD567",
"OptimismMintableERC20FactoryProxy": "0x88dD21924FbEeccC4dC8Ae3a0e207ecCA03c5b92",
"OptimismPortal": "0xb7461Fb347f68f9717e6fD12C8407dEcee063bdc",
"OptimismPortal2": "0xfcbb237388CaF5b08175C9927a37aB6450acd535",
"OptimismPortalProxy": "0xB65C61E60b2081B44adF3a73FD84eBB08b28F0cA",
"PreimageOracle": "0x3bd7E801E51d48c5d94Ea68e8B801DFFC275De75",
"ProtocolVersions": "0xfbfD64a6C0257F613feFCe050Aa30ecC3E3d7C3F",
"ProtocolVersionsProxy": "0xFc18426b71EDa3dC001dcc36ADC9C67bC6f38747",
"ProxyAdmin": "0x78e6B135B2A7f63b281C80e2ff639Eed32E2a81b",
"SafeProxyFactory": "0x2910E325cf29dd912E3476B61ef12F49cb931096",
"SafeSingleton": "0xA7918D253764E42d60C3ce2010a34d5a1e7C1398",
"SuperchainConfig": "0x068E44eB31e111028c41598E4535be7468674D0A",
"SuperchainConfigProxy": "0xB35D3C9b9f2Fd72FAAb282E8Dd56da31FAA30E3d",
"SystemConfig": "0x6167B477F8d9138aa509f54b2800443857e28c0f",
"SystemConfigProxy": "0x406c2b3599da0b3a35044dDb99a4cfe0FA5F6B62",
"SystemOwnerSafe": "0xc01E11c7f8ec92BD86dd096522fd99230322b6De"
}
75 changes: 75 additions & 0 deletions genesisdeployment/generated/deploy-configs/901-deploy-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"l1ChainID": 900,
"l2ChainID": 901,
"l2BlockTime": 2,
"maxSequencerDrift": 300,
"sequencerWindowSize": 200,
"channelTimeout": 120,
"p2pSequencerAddress": "0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc",
"batchInboxAddress": "0xff00000000000000000000000000000000000901",
"batchSenderAddress": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"cliqueSignerAddress": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"l1UseClique": true,
"l1StartingBlockTag": "earliest",
"l2OutputOracleSubmissionInterval": 10,
"l2OutputOracleStartingTimestamp": 0,
"l2OutputOracleStartingBlockNumber": 0,
"l2OutputOracleProposer": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"l2OutputOracleChallenger": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",
"l2GenesisBlockGasLimit": "0x1c9c380",
"l1BlockTime": 3,
"baseFeeVaultRecipient": "0x14dC79964da2C08b23698B3D3cc7Ca32193d9955",
"l1FeeVaultRecipient": "0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f",
"sequencerFeeVaultRecipient": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"baseFeeVaultWithdrawalNetwork": 0,
"l1FeeVaultWithdrawalNetwork": 0,
"sequencerFeeVaultWithdrawalNetwork": 0,
"proxyAdminOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"finalSystemOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"superchainConfigGuardian": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"finalizationPeriodSeconds": 2,
"fundDevAccounts": true,
"l2GenesisBlockBaseFeePerGas": "0x1",
"gasPriceOracleOverhead": 2100,
"gasPriceOracleScalar": 1000000,
"gasPriceOracleBaseFeeScalar": 1368,
"gasPriceOracleBlobBaseFeeScalar": 810949,
"enableGovernance": true,
"governanceTokenSymbol": "OP",
"governanceTokenName": "Optimism",
"governanceTokenOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250,
"eip1559Elasticity": 6,
"l1GenesisBlockTimestamp": "0x64c811bf",
"l2GenesisRegolithTimeOffset": "0x0",
"l2GenesisDeltaTimeOffset": null,
"l2GenesisCanyonTimeOffset": "0x0",
"systemConfigStartBlock": 0,
"requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameAbsolutePrestate": "0x03c7ae758795765c6664a5d39bf63841c71ff191e9189522bad8ebff5d4eca98",
"faultGameMaxDepth": 50,
"faultGameClockExtension": 0,
"faultGameMaxClockDuration": 1200,
"faultGameGenesisBlock": 0,
"faultGameGenesisOutputRoot": "0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF",
"faultGameSplitDepth": 14,
"faultGameWithdrawalDelay": 604800,
"preimageOracleMinProposalSize": 10000,
"preimageOracleChallengePeriod": 120,
"proofMaturityDelaySeconds": 12,
"disputeGameFinalityDelaySeconds": 6,
"respectedGameType": 254,
"useFaultProofs": true,
"usePlasma": false,
"daCommitmentType": "KeccakCommitment",
"daChallengeWindow": 160,
"daResolveWindow": 160,
"daBondSize": 1000000,
"daResolverRefundPercentage": 0,
"useInterop": true
}
75 changes: 75 additions & 0 deletions genesisdeployment/generated/deploy-configs/902-deploy-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"l1ChainID": 900,
"l2ChainID": 902,
"l2BlockTime": 2,
"maxSequencerDrift": 300,
"sequencerWindowSize": 200,
"channelTimeout": 120,
"p2pSequencerAddress": "0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc",
"batchInboxAddress": "0xff00000000000000000000000000000000000901",
"batchSenderAddress": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"cliqueSignerAddress": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"l1UseClique": true,
"l1StartingBlockTag": "earliest",
"l2OutputOracleSubmissionInterval": 10,
"l2OutputOracleStartingTimestamp": 0,
"l2OutputOracleStartingBlockNumber": 0,
"l2OutputOracleProposer": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"l2OutputOracleChallenger": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",
"l2GenesisBlockGasLimit": "0x1c9c380",
"l1BlockTime": 3,
"baseFeeVaultRecipient": "0x14dC79964da2C08b23698B3D3cc7Ca32193d9955",
"l1FeeVaultRecipient": "0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f",
"sequencerFeeVaultRecipient": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"baseFeeVaultWithdrawalNetwork": 0,
"l1FeeVaultWithdrawalNetwork": 0,
"sequencerFeeVaultWithdrawalNetwork": 0,
"proxyAdminOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"finalSystemOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"superchainConfigGuardian": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"finalizationPeriodSeconds": 2,
"fundDevAccounts": true,
"l2GenesisBlockBaseFeePerGas": "0x1",
"gasPriceOracleOverhead": 2100,
"gasPriceOracleScalar": 1000000,
"gasPriceOracleBaseFeeScalar": 1368,
"gasPriceOracleBlobBaseFeeScalar": 810949,
"enableGovernance": true,
"governanceTokenSymbol": "OP",
"governanceTokenName": "Optimism",
"governanceTokenOwner": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250,
"eip1559Elasticity": 6,
"l1GenesisBlockTimestamp": "0x64c811bf",
"l2GenesisRegolithTimeOffset": "0x0",
"l2GenesisDeltaTimeOffset": null,
"l2GenesisCanyonTimeOffset": "0x0",
"systemConfigStartBlock": 0,
"requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameAbsolutePrestate": "0x03c7ae758795765c6664a5d39bf63841c71ff191e9189522bad8ebff5d4eca98",
"faultGameMaxDepth": 50,
"faultGameClockExtension": 0,
"faultGameMaxClockDuration": 1200,
"faultGameGenesisBlock": 0,
"faultGameGenesisOutputRoot": "0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF",
"faultGameSplitDepth": 14,
"faultGameWithdrawalDelay": 604800,
"preimageOracleMinProposalSize": 10000,
"preimageOracleChallengePeriod": 120,
"proofMaturityDelaySeconds": 12,
"disputeGameFinalityDelaySeconds": 6,
"respectedGameType": 254,
"useFaultProofs": true,
"usePlasma": false,
"daCommitmentType": "KeccakCommitment",
"daChallengeWindow": 160,
"daResolveWindow": 160,
"daBondSize": 1000000,
"daResolverRefundPercentage": 0,
"useInterop": true
}
Loading

0 comments on commit d84f3a8

Please sign in to comment.