Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Add missing EndowmentMultiSigEmitter deployment to deploy:EndowmentMultiSigFactory + deploy AccountsCreateEndowment #393

Merged
merged 2 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contract-address.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
"facets": {
"accountsDepositWithdrawEndowments": "0x0124773BEA450412ce9aA572b7EF3e4535495F01",
"accountsAllowance": "0x193556259E1962Faaa0a9Ac7D69DDeF54eD521d1",
"accountsCreateEndowment": "0xb9B2b1a49020216fC5715AE05132dda968A06023",
"accountsCreateEndowment": "0x9c6Dae062755a8fe43b8714FafE01755646d2660",
"accountsGasManager": "0xe224BcDd0aa37C262C7D9865d6fC9F8974996Ca4",
"accountsQueryEndowments": "0xD1159b23003Db899801022c06dC09C00528fe20A",
"accountsStrategy": "0x499272b4A1Cb3f6Ba622b34b666E40623b373817",
Expand Down
8 changes: 8 additions & 0 deletions tasks/deploy/deployEndowmentMultisigFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ task("deploy:EndowmentMultiSigFactory", "Will deploy EndowmentMultiSigFactory co
hre
);

// must deploy new EndowmentMultiSigEmitter as currently there's no way
// to update its EndowmentMultiSigFactory address
await hre.run("deploy:EndowmentMultiSigEmitter", {
apTeamSignerPkey: taskArgs.apTeamSignerPkey,
skipVerify: taskArgs.skipVerify,
yes: true,
});

await hre.run("manage:registrar:updateConfig", {
multisigFactory: deployData.proxy.contract.address,
apTeamSignerPkey: taskArgs.apTeamSignerPkey,
Expand Down