Comments (3)
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)
- Design an improved compilation pipeline
- Improved compilation pipeline initial problem statement
- Support multiple test runners as part of HHv3
- Boilerplate error: the transaction is executed but errors are printed in the HH node HOT 2
- Can you set pauses in test script? HOT 2
- hardhat chai matchers: `emit(...).withArgs` does not properly work with BigInt `closeTo` in the callback HOT 5
- Cannot deploy NickFactory: invalid opcode error HOT 1
- Forking config seems not working HOT 1
- npx hardhat compile never runs the optimizer. HOT 1
- Allow environment extension before parsing cli arguments
- Out of memory when trying to install hardhat v2.21.0 HOT 5
- looking for gitlab CI-CD image HOT 1
- An etherscan endpoint could not be found for this network. ChainID: 11155111. The selected network is sepolia. HOT 3
- Overriding a storage slot of a fork does not work anymore [duplicate] HOT 1
- Overriding a storage slot of a fork does not work anymore HOT 1
- Forking a network locally doesn't work anymore HOT 8
- Switch the default hardfork to cancun HOT 2
- Versioning problems. HOT 2
- `hardhat_setBalance` on contracts is reverting with "Contract with code hash `0x...` does not exist" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hardhat.