Skip to content

Commit baf2cfc

Browse files
committed
fix: removes unnecessary comment on compliantFactory tests
1 parent f394bae commit baf2cfc

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

erc20-wrapper-registry/test/compliantFactory.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,9 @@ export function shouldBehaveLikeCompliantFactory(): void {
4747
);
4848

4949

50-
// const initCodeHash = ethers.keccak256(compliantERC20Bytecode.concat(
51-
// ethers.solidityPacked(
52-
// ["string", "string", "address", "address"],
53-
// ["cERC20", "cERC20", (await this.signers.user.getAddress()).toLowerCase(), (await this.mockERC20.getAddress()).toLowerCase()]
54-
// ).slice(2)));
5550
const initCodeHash = ethers.keccak256(compliantERC20Bytecode);
5651
const salt = ethers.keccak256(ethers.solidityPacked(["address"], [await this.mockERC20.getAddress()]))
5752
const factoryAddress = (await this.compliantFactory.getAddress()).toLowerCase();
58-
// console.log("Current salt:")
59-
// console.log(salt);
60-
// console.log("Current mockerc20:")
61-
// console.log(await this.mockERC20.getAddress());
62-
// console.log("Current violetid:")
63-
// console.log(await this.signers.user.getAddress());
6453

6554
const deployedAddress = ethers.getCreate2Address(
6655
factoryAddress,
@@ -75,7 +64,7 @@ export function shouldBehaveLikeCompliantFactory(): void {
7564
)
7665
console.log(tx.data);
7766

78-
// expect(deployedCreate2Address).to.be.equal(deployedAddress);
67+
expect(deployedCreate2Address).to.be.equal(deployedAddress);
7968
});
8069
});
8170
}

0 commit comments

Comments
 (0)