Skip to content

0.7.0 beta hangs when run with eth-gas-reporter #423

@cgewecke

Description

@cgewecke

The gas-reporter makes synchronous http calls and requires that the ethereum node run in a separate process (or else the execution locks). Solidity-coverage@beta is the opposite - it requires the ethereum node be in the same process as the tests so it can monitor the node's VM.

As a work-around, the mocha reporter solidity-coverage 0.7.0-beta.2 uses can be set by adding a .solcover.js file with:

module.exports = {
  mocha: { reporter: 'spec' }
}

By default we should be checking the mocha reporter name and resetting it to spec for this case...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions