Skip to content

Commit

Permalink
L1testnet run details
Browse files Browse the repository at this point in the history
  • Loading branch information
shirren committed Nov 11, 2024
1 parent 4b5ed87 commit a69de26
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ In this step we deploy the `MultiCallDeploy` only. We use the standard deploymen
not need to be the same across all the environments.

* Set the value of RELAYER_SUBMITTER_EOA_PUB_KEY to match the EOA of the primary Relayer submitter. The Submitter EOA is granted execute permission on the MultiCallDeploy.
* Set the value of MULTICALL_ADMIN_PUB_KEY
* Set the `accountIndex` to 0 in `wallet-options.ts`.
* Execute the command `npx hardhat run scripts/step0.ts --network <ENV>`

Expand All @@ -65,6 +66,7 @@ this address is used to produce a deterministic counter factual address for the
all the chains.

* Set the value of RELAYER_SUBMITTER_EOA_PUB_KEY to match the EOA of the primary Relayer submitter.
* Set the value of the FACTORY_ADMIN_PUB_KEY to the privileged mulstisig pub key (Purple ledger)
* Set the value of `multiCallDeployAddress` to match the address of the contract deployed in Step0.
* Set the `accountIndex` to 10 in `wallet-options.ts`.
* Execute the command `npx hardhat run scripts/step1.ts --network <ENV>`
Expand All @@ -74,7 +76,8 @@ all the chains.
In this step we deploy the contract that tracks the location of the latest wallet implementation. As this step
just uses the CREATE2 contract factory we use the standard deployment key (Orange Key!!!).

* Set the value of WALLET_IMPL_LOCATOR_ADMIN, and WALLET_IMPL_CHANGER_ADMIN environment variables to the public key of the Priveleged key.
* Set the value of DEPLOYER_CONTRACT_ADDRESS to the address of the CREATE2 factory contract.
* Set the value of WALLET_IMPL_LOCATOR_ADMIN, and WALLET_IMPL_CHANGER_ADMIN environment variables to the public key of the Privileged key.
* Set the `accountIndex` to 0.
* Execute the command `npx hardhat run scripts/step2.ts --network <ENV>`

Expand Down
5 changes: 5 additions & 0 deletions scripts/deployment_artefacts/l1testnet_deploy/step0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"multiCallAdminPubKey": "0x0E2D55943f4EF07c336C12A85d083c20FF189182",
"multiCallDeploy": "0x0039Ae5ae1Dc345508b859d40903dDBA0C36Fc90",
"submitterAddress": "0x92fdaB84b46D49A5f999425c06D31A40C7d9E386"
}
5 changes: 5 additions & 0 deletions scripts/deployment_artefacts/l1testnet_deploy/step1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"factoryAdminPubKey": "0x0E2D55943f4EF07c336C12A85d083c20FF189182",
"multiCallDeploy": "0x0039Ae5ae1Dc345508b859d40903dDBA0C36Fc90",
"factory": "0x8Fa5088dF65855E0DaF87FA6591659893b24871d"
}
5 changes: 5 additions & 0 deletions scripts/deployment_artefacts/l1testnet_deploy/step2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"walletImplLocatorAdmin": "0x0E2D55943f4EF07c336C12A85d083c20FF189182",
"walletImplChangerAdmin": "0x0E2D55943f4EF07c336C12A85d083c20FF189182",
"latestWalletImplLocator": "0xDB4b8F9D2C0C731A345a405b6335b3750d197b6C"
}
4 changes: 4 additions & 0 deletions scripts/deployment_artefacts/l1testnet_deploy/step3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"walletImplLocatorAddress": "0xDB4b8F9D2C0C731A345a405b6335b3750d197b6C",
"startupWalletImpl": "0x8FD900677aabcbB368e0a27566cCd0C7435F1926"
}
5 changes: 5 additions & 0 deletions scripts/deployment_artefacts/l1testnet_deploy/step4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"factoryAddress": "0x8Fa5088dF65855E0DaF87FA6591659893b24871d",
"startupWalletImplAddress": "0x8FD900677aabcbB368e0a27566cCd0C7435F1926",
"mainModuleDynamicAuth": "0xC2d54E4D795469f8616612CC343af078A892F36F"
}
6 changes: 6 additions & 0 deletions scripts/deployment_artefacts/l1testnet_deploy/step5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"signerRootAdminPubKey": "0x0E2D55943f4EF07c336C12A85d083c20FF189182",
"signerAdminPubKey": "0xB3533118Ff0f823fAF916AC499bB2a3E9054A698",
"signerAddress": "0x1cE50560686b1297B6311F36B47dbe5d6E04D0f8",
"immutableSigner": "0xcff469E561D9dCe5B1185CD2AC1Fa961F8fbDe61"
}
5 changes: 5 additions & 0 deletions scripts/deployment_artefacts/l1testnet_deploy/step6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"mainModuleDynamicAuth": "0xC2d54E4D795469f8616612CC343af078A892F36F",
"walletImplLocatorContractAddress": "0xDB4b8F9D2C0C731A345a405b6335b3750d197b6C",
"signerAddress": "0x1cE50560686b1297B6311F36B47dbe5d6E04D0f8"
}

0 comments on commit a69de26

Please sign in to comment.