Skip to content

Commit

Permalink
fix: mocked mode with changing .env
Browse files Browse the repository at this point in the history
  • Loading branch information
jatZama committed Sep 25, 2024
1 parent a55663f commit 123adbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 6 additions & 3 deletions gateway/lib/Gateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

pragma solidity ^0.8.24;

import "./PredeployAddress.sol";
import "../GatewayContract.sol";
import "../../lib/ACL.sol";
import "../../lib/KMSVerifier.sol";
import "../../lib/ACLAddress.sol";
import "../../lib/KMSVerifierAddress.sol";

GatewayContract constant gatewayContract = GatewayContract(0xc8c9303Cd7F337fab769686B593B87DC3403E0ce); // Replace by GatewayContract address
ACL constant acl = ACL(0x2Fb4341027eb1d2aD8B5D9708187df8633cAFA92); // Replace by ACL address
KMSVerifier constant kmsVerifier = KMSVerifier(address(0x12B064FB845C1cc05e9493856a1D637a73e944bE));
GatewayContract constant gatewayContract = GatewayContract(GATEWAY_CONTRACT_PREDEPLOY_ADDRESS); // Replace by GatewayContract address
ACL constant acl = ACL(aclAdd); // Replace by ACL address
KMSVerifier constant kmsVerifier = KMSVerifier(address(KMS_VERIFIER_CONTRACT_ADDRESS));

library Gateway {
function GatewayContractAddress() internal pure returns (address) {
Expand Down
2 changes: 0 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import dotenv from 'dotenv';
import * as fs from 'fs';
import 'hardhat-deploy';
import 'hardhat-ignore-warnings';
import 'hardhat-preprocessor';
import { TASK_PREPROCESS } from 'hardhat-preprocessor';
import type { HardhatUserConfig, extendProvider } from 'hardhat/config';
import { task } from 'hardhat/config';
import type { NetworkUserConfig } from 'hardhat/types';
Expand Down

0 comments on commit 123adbd

Please sign in to comment.