Fix gas report generation (#4824)

Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
Hadrien Croubois
2024-01-13 00:24:17 +01:00
committed by GitHub
parent e68720efb6
commit efb8c1af6e
6 changed files with 31 additions and 579 deletions

View File

@ -3,9 +3,7 @@ const { expect } = require('chai');
const { loadFixture, mine } = require('@nomicfoundation/hardhat-network-helpers');
async function fixture() {
const signers = await ethers.getSigners();
const addresses = await Promise.all(signers.map(s => s.getAddress()));
return { signers, addresses };
return {};
}
describe('Environment sanity', function () {
@ -13,13 +11,6 @@ describe('Environment sanity', function () {
Object.assign(this, await loadFixture(fixture));
});
describe('[skip-on-coverage] signers', function () {
it('signer #0 is skipped', async function () {
const signer = await ethers.provider.getSigner(0);
expect(this.addresses).to.not.include(await signer.getAddress());
});
});
describe('snapshot', function () {
let blockNumberBefore;