Failed to compile: #6741
                  
                    
                      Ibrahim-Awab
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
whenever i want to deploy smart contract on zksync sepolia testnet, on compilation it gives error, by the way i'm using this
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import { AggregatorV3Interface } from "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
error is given below
Failed to compile:
Error HH404: File @chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol, imported from FundMe.sol, not found.
HardhatError: HH404: File @chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol, imported from FundMe.sol, not found.
at Resolver.resolveImport (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/solidity/resolver.ts:221:17)
at async /opt/app/api/hardhat_env/node_modules/hardhat/src/internal/solidity/dependencyGraph.ts:188:28
at async Promise.all (index 0)
at async DependencyGraph._addDependenciesFrom (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/solidity/dependencyGraph.ts:186:5)
at async Promise.all (index 3)
at async Function.createFromResolvedFiles (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/solidity/dependencyGraph.ts:15:5)
at async Environment._runTaskDefinition (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14)
at async Environment.run (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14)
at async SimpleTaskDefinition.action (/opt/app/api/hardhat_env/node_modules/hardhat/src/builtin-tasks/compile.ts:1389:58)
at async Environment._runTaskDefinition (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14)
Beta Was this translation helpful? Give feedback.
All reactions