Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Aug 1, 2023
1 parent 94dcda1 commit 76187d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions tasks/deploy-replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ interface InitData {
salt?: string;
}

export const deploy = async (
_: unknown, // { networks }: { networks: string[] },
hre: HardhatRuntimeEnvironment
) => {
export const deploy = async (_: unknown, hre: HardhatRuntimeEnvironment) => {
const contracts = Object.values(KnownContracts);
console.log(`\n\x1B[4m\x1B[1m${hre.network.name}\x1B[0m`);

Expand Down
2 changes: 1 addition & 1 deletion tasks/singleton-deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { deployModuleFactory } from "../sdk/factory/deployModuleFactory";

const FactoryInitCode = MasterCopyInitData[KnownContracts.FACTORY]?.initCode;

export const deploy = async (_: null, hre: HardhatRuntimeEnvironment) => {
export const deploy = async (_: unknown, hre: HardhatRuntimeEnvironment) => {
const Factory = await hre.ethers.getContractFactory("ModuleProxyFactory");
if (Factory.bytecode !== FactoryInitCode) {
console.warn(
Expand Down

0 comments on commit 76187d6

Please sign in to comment.