-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Invalid JSON RPC response: "" when using Truffle #634
Comments
@David-Kneel I ran this locally and everything worked. You might try adding the flag below to your network config and see if that helps stabilize things...
From this truffle release: https://github.com/trufflesuite/truffle/releases/tag/v5.1.55 |
I switched to truffle 5.1.55, then I uncommented the following in truffle-config.js: development: {
disableConfirmationListener: true,
host: '127.0.0.1', // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: '*' // Any network (default: none)
} And still the problem persists locally in my Debian distro within WSL2 and also in CI/CD, Ubuntu LTS 20 distro. |
I'm on OSX. Could you try creating a network called coverage that just looks like: coverage: {
disableConfirmationListener: true
} ... and then running
... to make sure it picks up the flag? |
Sure. This is what happens:
|
I setup CI/CD to also include MacOS in the operating system matrix. |
Got it to work by defining a coverage network that runs on
and running https://github.com/cgewecke/faster-than-light/actions/runs/865087452 (Editing the issue title) |
expectRevert
when used with truffle run coverage
When run
truffle run coverage
, the expectRevert command results in a failure.This situation is evidenced in the following GitHub actions run
The text was updated successfully, but these errors were encountered: