Giter Club home page Giter Club logo

Comments (3)

AndreMiras avatar AndreMiras commented on June 2, 2024

Also getting something similar with the last version, but working fine on 2.20.1.

npx hardhat test --verbose                                           
  hardhat:core:vars:varsManager Creating a new instance of VarsManager +0ms                                                             
  hardhat:core:vars:varsManager Loading ENV variables if any +1ms                                                                       
  hardhat:core:config Loading Hardhat config from /home/andre/workspace/some-fancy-scripts/hardhat.config.ts +0ms                       
  hardhat:core:global-dir Looking up Client Id at /home/andre/.local/share/hardhat-nodejs/analytics.json +0ms                           
  hardhat:core:global-dir Client Id found: 8e96ad81-ff23-479a-bce0-6e0eec411ad1 +0ms                                                    
  hardhat:core:hre Creating HardhatRuntimeEnvironment +0ms                                                                              
  hardhat:core:hre Running task test +0ms                                                                                               
  hardhat:core:hre Running task compile +1ms                                                                                            
  hardhat:core:hre Running compile's super +0ms                                                                                         
  hardhat:core:hre Running task compile:get-compilation-tasks +1ms                                                                      
  hardhat:core:hre Running task compile:solidity +0ms                                                                                   
  hardhat:core:hre Running task compile:solidity:get-source-paths +0ms                                                                  
  hardhat:core:hre Running task compile:solidity:get-source-names +0ms                                                                  
  hardhat:core:hre Running task compile:solidity:get-dependency-graph +1ms                                                              
  hardhat:core:hre Running task compile:solidity:get-remappings +0ms                                                                    
  hardhat:core:hre Running task compile:solidity:get-compilation-jobs +0ms                                                              
  hardhat:core:tasks:compile The dependency graph was divided in '0' connected components +0ms                                          
  hardhat:core:hre Running task compile:solidity:handle-compilation-jobs-failures +0ms                                                  
  hardhat:core:hre Running task compile:solidity:filter-compilation-jobs +1ms                                                           
  hardhat:core:tasks:compile '0' jobs were filtered out +1ms                                                                            
  hardhat:core:hre Running task compile:solidity:merge-compilation-jobs +0ms                                                            
  hardhat:core:hre Running task compile:solidity:compile-jobs +0ms                                                                      
  hardhat:core:hre Running compile:solidity:compile-jobs's super +0ms                                                                   
  hardhat:core:tasks:compile No compilation jobs to compile +0ms                                                                        
  hardhat:core:hre Running task compile:solidity:log:nothing-to-compile +0ms                                                            
  hardhat:core:hre Running task typechain:generate-types +0ms                                                                           
  hardhat:core:hre Running task compile:solidity:log:compilation-result +1ms                                                            
  hardhat:core:hre Running task compile:remove-obsolete-artifacts +0ms                                                                  
  hardhat:core:hre Running task test:get-test-files +0ms                                                                                
  hardhat:core:hre Running task test:setup-test-environment +1ms                                                                        
  hardhat:core:hre Running task test:show-fork-recommendations +0ms                                                                     
  hardhat:core:hre Running task test:run-mocha-tests +0ms                                                                               
  hardhat:core:hre Running test:run-mocha-tests's super +0ms                                                                            
                                                                                                                                        
                                                                                                                                        
  0 passing (1ms)                                                                                                                       
                                                                                                                                        
  hardhat:core:hre Creating provider for network hardhat +22ms                                                                          
An unexpected error occurred:                                       
                                                                    
[Error: The Http server returned error status code: HTTP status client error (415 Unsupported Media Type) for url (https://my.server.ip.address:8545)] {
  code: 'GenericFailure'                                                                                                                
}

My hardhat.config.ts:

import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";

import dotenv from "dotenv";

const config: HardhatUserConfig = {
  networks: {
    hardhat: {
      forking: {
        url: process.env.FORKING_URL,
        blockNumber: parseInt(process.env.FORKING_BLOCK_NUMBER),
      },
    },
  },
};

export default config;

from hardhat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.