Skip to content

Commit

Permalink
remove unused statements in SoulboundIdentity deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Oct 17, 2022
1 parent a12e2d1 commit 8472752
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions deploy/SoulboundIdentity.ts
@@ -1,5 +1,5 @@
import hre from "hardhat";
import { getEnvParams, getPrivateKey } from "../src/utils/EnvParams";
import { getEnvParams } from "../src/utils/EnvParams";
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";
import { DeployFunction } from "hardhat-deploy/dist/types";

Expand Down Expand Up @@ -49,14 +49,6 @@ const func: DeployFunction = async ({
}
}
}

// we set the soulName contract in soulboundIdentity and we add soulboundIdentity as soulName minter
const signer = env.OWNER
? new ethers.Wallet(
getPrivateKey(network.name),
ethers.getDefaultProvider(network.name)
)
: owner;
};

func.tags = ["SoulboundIdentity"];
Expand Down

0 comments on commit 8472752

Please sign in to comment.