@g4g/eth-gas-reporter
Version:
Mocha reporter which shows gas used per unit test.
19 lines (17 loc) • 341 B
JavaScript
usePlugin("@nomiclabs/buidler-truffle5");
module.exports = {
solc: { version: "0.5.5" },
networks: {
development: {
gas: 7000000,
url: "http://localhost:8545"
}
},
mocha: {
reporter: "eth-gas-reporter",
reporterOptions: {
artifactType: "buidler-v1",
url: "http://localhost:8545"
}
}
};