Skip to content

Commit

Permalink
fix: mocked working when changing .env
Browse files Browse the repository at this point in the history
  • Loading branch information
jatZama committed Sep 25, 2024
1 parent 0511e4d commit 02aa2d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,16 @@ task('test', async (taskArgs, hre, runSuper) => {
// Run modified test task
if (hre.network.name === 'hardhat') {
// in fhevm mode all this block is done when launching the node via `pnmp fhevm:start`
await hre.run('compile:specific', { contract: 'lib' });
await hre.run('compile:specific', { contract: 'gateway' });
const privKeyDeployer = process.env.PRIVATE_KEY_GATEWAY_DEPLOYER;
await hre.run('task:computePredeployAddress', { privateKey: privKeyDeployer });
await hre.run('task:computeACLAddress');
await hre.run('task:computeTFHEExecutorAddress');
await hre.run('task:computeKMSVerifierAddress');
await hre.run('task:computeInputVerifierAddress');
await hre.run('task:computeFHEPaymentAddress');
await hre.run('compile:specific', { contract: 'lib' });
await hre.run('compile:specific', { contract: 'gateway' });
await hre.run('compile:specific', { contract: 'payment' });
await hre.run('task:deployACL');
await hre.run('task:deployTFHEExecutor');
await hre.run('task:deployKMSVerifier');
Expand Down

0 comments on commit 02aa2d3

Please sign in to comment.