From ecbed3dd292523e38b83ecb282113366fe0412b0 Mon Sep 17 00:00:00 2001 From: Drygin Date: Tue, 22 Feb 2022 14:55:02 +0300 Subject: [PATCH] move relayer registry init --- hardhat.config.js | 2 +- test/instance.factory.test.js | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/hardhat.config.js b/hardhat.config.js index d34fd1c..6c85282 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -34,7 +34,7 @@ module.exports = { hardhat: { forking: { url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY}`, - blockNumber: 14220000, + blockNumber: 14250000, }, chainId: 1, initialBaseFeePerGas: 5, diff --git a/test/instance.factory.test.js b/test/instance.factory.test.js index 50bfc7d..ccef3bb 100644 --- a/test/instance.factory.test.js +++ b/test/instance.factory.test.js @@ -47,15 +47,6 @@ describe('Instance Factory Tests', () => { config.instanceRegistry, ) - // execute relayer registry proposal - const proposalId = await gov.proposalCount() - expect(await gov.state(proposalId)).to.be.equal(ProposalState.Active) - await minewait(596400) - expect(await gov.state(proposalId)).to.be.equal(ProposalState.AwaitingExecution) - - await gov.execute(proposalId) - expect(await gov.state(proposalId)).to.be.equal(ProposalState.Executed) - // deploy instance factory InstanceFactory = await ethers.getContractFactory('InstanceFactory') const instanceFactory = await InstanceFactory.connect(deployer).deploy(