|
8 | 8 | - [Explorer](#explorer) |
9 | 9 | - [Notes on project creation / devnet deployment](#notes-on-project-creation--devnet-deployment) |
10 | 10 | - [Tests](#tests) |
| 11 | + - [Multisig Usage](#multisig-usage) |
11 | 12 |
|
12 | 13 | ## Local Devnet Setup |
13 | 14 |
|
@@ -788,3 +789,46 @@ To run the go tests |
788 | 789 | ```bash |
789 | 790 | make test |
790 | 791 | ``` |
| 792 | + |
| 793 | +## Multisig Usage |
| 794 | + |
| 795 | +You can create a Multisig wallet using [Safe](https://safe.global/). |
| 796 | + |
| 797 | +Once you have a Multisig, you can deploy the contracts using the Multisig wallet address as the upgrader, pauser, etc. |
| 798 | + |
| 799 | +In order to upgrade a contract using the Multisig, you have to run: |
| 800 | + |
| 801 | +```bash |
| 802 | +make upgrade_aligned_contracts |
| 803 | +``` |
| 804 | + |
| 805 | +Then, if the new implementation is correctly deployed, the script will show the following message: |
| 806 | + |
| 807 | +```bash |
| 808 | +To send the transaction using multisig use this calldata |
| 809 | +<calldata> |
| 810 | +``` |
| 811 | + |
| 812 | +You can use this calldata to send the transaction using the Multisig wallet in the transaction builder provided by Safe |
| 813 | + |
| 814 | + |
| 815 | + |
| 816 | +For example, if you are upgrading the ServiceManager, fill the data with the ProxyAdmin address and ABI |
| 817 | + |
| 818 | +To get the ProxyAdmin address for Holesky you can run |
| 819 | + |
| 820 | +```bash |
| 821 | +jq -r ".addresses.alignedLayerProxyAdmin" contracts/script/output/holesky/alignedlayer_deployment_output.json | pbcopy |
| 822 | +``` |
| 823 | + |
| 824 | +To get the ABI you can run |
| 825 | + |
| 826 | +```bash |
| 827 | +jq ".abi" contracts/out/ProxyAdmin.sol/ProxyAdmin.json | pbcopy |
| 828 | +``` |
| 829 | + |
| 830 | +Then, you can paste the ABI in the ABI field |
| 831 | + |
| 832 | + |
| 833 | + |
| 834 | +If the transaction is correctly created, you have to wait until required Multisig member sign the transaction to send it |
0 commit comments