Commit 508f9c36 authored by clabby's avatar clabby Committed by GitHub

feat(ctb): Update `sepolia-devnet-0` deploy config (#9761)

* Update `sepolia-devnet-0` deploy configuration

* prestate

* Update min proposal size / mock `SuperchainConfigProxy`

* map local -> L2

* update split depth to 30.
parent f8da0f3d
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
"baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000", "baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000", "l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000", "sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"baseFeeVaultWithdrawalNetwork": "local", "baseFeeVaultWithdrawalNetwork": 1,
"l1FeeVaultWithdrawalNetwork": "local", "l1FeeVaultWithdrawalNetwork": 1,
"sequencerFeeVaultWithdrawalNetwork": "local", "sequencerFeeVaultWithdrawalNetwork": 1,
"l1StandardBridgeProxy": "0x0000000000000000000000000000000000000000", "l1StandardBridgeProxy": "0x0000000000000000000000000000000000000000",
"l1CrossDomainMessengerProxy": "0x0000000000000000000000000000000000000000", "l1CrossDomainMessengerProxy": "0x0000000000000000000000000000000000000000",
"l1ERC721BridgeProxy": "0x0000000000000000000000000000000000000000", "l1ERC721BridgeProxy": "0x0000000000000000000000000000000000000000",
...@@ -68,12 +68,19 @@ ...@@ -68,12 +68,19 @@
"eip1559Denominator": 250, "eip1559Denominator": 250,
"eip1559DenominatorCanyon": 250, "eip1559DenominatorCanyon": 250,
"systemConfigStartBlock": 4071248, "systemConfigStartBlock": 4071248,
"faultGameAbsolutePrestate": "0x037bbcc23684afbb7f608024369242c5cdea261a4f63981387efb7cd81763536", "faultGameAbsolutePrestate": "0x038942ec840131a63c49fa514a3f0577ae401fd5584d56ad50cdf5a8b41d4538",
"faultGameMaxDepth": 73, "faultGameMaxDepth": 73,
"faultGameMaxDuration": 86400, "faultGameMaxDuration": 604800,
"faultGameGenesisBlock": 0, "faultGameGenesisBlock": 0,
"faultGameSplitDepth": 0, "faultGameGenesisOutputRoot": "0x91bd00ecd596a86c9f4e12c0646578e77022881c87c06ec6aa31e656d2730688",
"faultGameSplitDepth": 30,
"faultGameWithdrawalDelay": 604800, "faultGameWithdrawalDelay": 604800,
"preimageOracleMinProposalSize": 126000,
"preimageOracleChallengePeriod": 86400,
"proofMaturityDelaySeconds": 604800,
"disputeGameFinalityDelaySeconds": 302400,
"respectedGameType": 0,
"useFaultProofs": true,
"fundDevAccounts": false, "fundDevAccounts": false,
"requiredProtocolVersion": "0x0000000000000000000000000000000000000005000000000000000000000000", "requiredProtocolVersion": "0x0000000000000000000000000000000000000005000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000005000000000000000000000000" "recommendedProtocolVersion": "0x0000000000000000000000000000000000000005000000000000000000000000"
......
...@@ -12,11 +12,12 @@ contract FPACOPS is Deploy, StdAssertions { ...@@ -12,11 +12,12 @@ contract FPACOPS is Deploy, StdAssertions {
// ENTRYPOINTS // // ENTRYPOINTS //
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////
function deployFPAC(address _proxyAdmin, address _systemOwnerSafe) public { function deployFPAC(address _proxyAdmin, address _systemOwnerSafe, address _superchainConfigProxy) public {
console.log("Deploying a fresh FPAC system and OptimismPortal2 implementation."); console.log("Deploying a fresh FPAC system and OptimismPortal2 implementation.");
prankDeployment("ProxyAdmin", msg.sender); prankDeployment("ProxyAdmin", msg.sender);
prankDeployment("SystemOwnerSafe", msg.sender); prankDeployment("SystemOwnerSafe", msg.sender);
prankDeployment("SuperchainConfigProxy", _superchainConfigProxy);
// Deploy the proxies. // Deploy the proxies.
deployERC1967Proxy("DisputeGameFactoryProxy"); deployERC1967Proxy("DisputeGameFactoryProxy");
...@@ -62,7 +63,7 @@ contract FPACOPS is Deploy, StdAssertions { ...@@ -62,7 +63,7 @@ contract FPACOPS is Deploy, StdAssertions {
address dgfProxy = mustGetAddress("DisputeGameFactoryProxy"); address dgfProxy = mustGetAddress("DisputeGameFactoryProxy");
Proxy(payable(dgfProxy)).upgradeToAndCall( Proxy(payable(dgfProxy)).upgradeToAndCall(
mustGetAddress("DisputeGameFactory"), abi.encodeWithSignature("initialize(address)", msg.sender) mustGetAddress("DisputeGameFactory"), abi.encodeCall(DisputeGameFactory.initialize, msg.sender)
); );
} }
...@@ -70,10 +71,10 @@ contract FPACOPS is Deploy, StdAssertions { ...@@ -70,10 +71,10 @@ contract FPACOPS is Deploy, StdAssertions {
console.log("Initializing DelayedWETHProxy with DelayedWETH."); console.log("Initializing DelayedWETHProxy with DelayedWETH.");
address wethProxy = mustGetAddress("DelayedWETHProxy"); address wethProxy = mustGetAddress("DelayedWETHProxy");
address systemConfigProxy = mustGetAddress("SystemConfigProxy"); address superchainConfigProxy = mustGetAddress("SuperchainConfigProxy");
Proxy(payable(wethProxy)).upgradeToAndCall( Proxy(payable(wethProxy)).upgradeToAndCall(
mustGetAddress("DelayedWETH"), mustGetAddress("DelayedWETH"),
abi.encodeWithSignature("initialize(address,address)", msg.sender, systemConfigProxy) abi.encodeCall(DelayedWETH.initialize, (msg.sender, SuperchainConfig(superchainConfigProxy)))
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment