Commit 329b8699 authored by Maurelian's avatar Maurelian Committed by GitHub

ctb: Update safe on the DGM to Guardian Safe (#10649)

parent 7cbda018
...@@ -169,12 +169,12 @@ contract DeployOwnership is Deploy { ...@@ -169,12 +169,12 @@ contract DeployOwnership is Deploy {
/// @notice Deploy a DeputyGuardianModule for use on the Security Council Safe. /// @notice Deploy a DeputyGuardianModule for use on the Security Council Safe.
/// Note this function does not have the broadcast modifier. /// Note this function does not have the broadcast modifier.
function deployDeputyGuardianModule() public returns (address addr_) { function deployDeputyGuardianModule() public returns (address addr_) {
Safe councilSafe = Safe(payable(mustGetAddress("SecurityCouncilSafe"))); Safe guardianSafe = Safe(payable(mustGetAddress("GuardianSafe")));
DeputyGuardianModuleConfig memory deputyGuardianModuleConfig = DeputyGuardianModuleConfig memory deputyGuardianModuleConfig =
_getExampleGuardianConfig().deputyGuardianModuleConfig; _getExampleGuardianConfig().deputyGuardianModuleConfig;
addr_ = address( addr_ = address(
new DeputyGuardianModule({ new DeputyGuardianModule({
_safe: councilSafe, _safe: guardianSafe,
_superchainConfig: deputyGuardianModuleConfig.superchainConfig, _superchainConfig: deputyGuardianModuleConfig.superchainConfig,
_deputyGuardian: deputyGuardianModuleConfig.deputyGuardian _deputyGuardian: deputyGuardianModuleConfig.deputyGuardian
}) })
......
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