Skip to content

Commit

Permalink
feat: add unichain network in workflow and add missing configs
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGuru7 committed Feb 6, 2025
1 parent f85388b commit dd76091
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:

- name: Export deployments
run: |
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone opsepolia opmainnet basesepolia basemainnet; do
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone opsepolia opmainnet basesepolia basemainnet unichainmainnet; do
EXPORT=true yarn hardhat export --network ${NETWORK} --export ./deployments/${NETWORK}.json
jq -M '{name, chainId, addresses: .contracts | map_values(.address)}' ./deployments/${NETWORK}.json > ./deployments/${NETWORK}_addresses.json
done
Expand Down
5 changes: 3 additions & 2 deletions helpers/deploy/deploymentUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const getAcmAdminAccount = async (network: SUPPORTED_NETWORKS): Promise<s
} else if (network === "basemainnet") {
return "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C"; // BASE MAINNET MULTISIG
} else if (network === "unichainmainnet") {
return "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C";
return "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C"; // Unichain mainnet multisig
}

const normalTimelock = await ethers.getContract("NormalTimelock");
Expand Down Expand Up @@ -88,8 +88,9 @@ export const guardian = async (network: SUPPORTED_NETWORKS): Promise<string> =>
return "0xdf3b635d2b535f906BB02abb22AED71346E36a00"; // BASE SEPOLIA MULTISIG
} else if (network === "basemainnet") {
return "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C"; // BASE MAINNET MULTISIG
} else if (network === "unichainmainnet") {
return "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C"; // Unichain mainnet multisig
}

return deployer;
};

Expand Down

0 comments on commit dd76091

Please sign in to comment.