Skip to content

Commit

Permalink
fix: deploy
Browse files Browse the repository at this point in the history
Signed-off-by: GopherJ <[email protected]>
  • Loading branch information
GopherJ committed Aug 31, 2023
1 parent 294e91b commit dc81e57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion helpers/hardhat-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export const BROWSER_URLS = {
};

export const DEPLOY_START = parseInt(process.env.DEPLOY_START || "0");
export const DEPLOY_END = parseInt(process.env.DEPLOY_END || "24");
export const DEPLOY_END = parseInt(process.env.DEPLOY_END || "25");
export const DEPLOY_INCREMENTAL =
process.env.DEPLOY_INCREMENTAL == "true" ? true : false;

Expand Down
6 changes: 2 additions & 4 deletions scripts/deployments/steps/24_accountAbstraction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
deployAccountFactory,
deployAccountRegistry,
deployAccountRegistryProxy,
deployInitializableImmutableAdminUpgradeabilityProxy,
} from "../../../helpers/contracts-deployments";
import {getFirstSigner} from "../../../helpers/contracts-getters";
import {getParaSpaceConfig, isLocalTestnet} from "../../../helpers/misc-utils";
Expand All @@ -28,9 +27,8 @@ export const step_24 = async (verify = false) => {
);

const accountRegistryProxy = await deployAccountRegistryProxy(
paraSpaceConfig.ParaSpaceAdmin
? paraSpaceConfig.ParaSpaceAdmin
: await (await getFirstSigner()).getAddress(),
paraSpaceConfig.ParaSpaceAdmin ||
(await (await getFirstSigner()).getAddress()),
accountRegistry.address,
verify
);
Expand Down
2 changes: 2 additions & 0 deletions scripts/deployments/steps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const getAllSteps = async () => {
const {step_21} = await import("./21_helperContract");
const {step_22} = await import("./22_timelock");
const {step_23} = await import("./23_renounceOwnership");
const {step_24} = await import("./24_accountAbstraction");

return [
step_00,
Expand All @@ -49,5 +50,6 @@ export const getAllSteps = async () => {
step_21,
step_22,
step_23,
step_24,
];
};

0 comments on commit dc81e57

Please sign in to comment.