Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PacificYield committed Dec 6, 2024
1 parent 9f32e20 commit e40bbf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 1 addition & 3 deletions test/asyncDecrypt.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import { Wallet, ZeroAddress } from "ethers";
import gatewayArtifact from "fhevm-core-contracts/artifacts/gateway/GatewayContract.sol/GatewayContract.json";
import { ethers, network } from "hardhat";

import { ACL_ADDRESS, GATEWAYCONTRACT_ADDRESS, KMSVERIFIER_ADDRESS, PRIVATE_KEY_KMS_SIGNER } from "./constants";
import { awaitCoprocessor, getClearText } from "./coprocessorUtils";
import { impersonateAddress } from "./mockedSetup";
import { waitNBlocks } from "./utils";

const gatewayArtifact = require("fhevm-core-contracts/artifacts/gateway/GatewayContract.sol/GatewayContract.json");

const networkName = network.name;

const aclAdd = ACL_ADDRESS;

const CiphertextType = {
Expand Down
7 changes: 1 addition & 6 deletions test/confidentialERC20/ConfidentialERC20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,7 @@ describe("ConfidentialERC20", function () {

// Decrypt Bob's balance
const balanceHandleBob2 = await this.erc20.balanceOf(this.signers.bob);
const balanceBob2 = await reencryptEuint64(
this.signers.bob,
this.fhevm,
balanceHandleBob2,
this.contractAddress,
);
const balanceBob2 = await reencryptEuint64(this.signers.bob, this.fhevm, balanceHandleBob2, this.contractAddress);
expect(balanceBob2).to.equal(1337); // check that transfer did happen this time
});

Expand Down

0 comments on commit e40bbf6

Please sign in to comment.