move relayer registry init

This commit is contained in:
Drygin 2022-02-22 14:55:02 +03:00
parent 41ddd8023d
commit ecbed3dd29
2 changed files with 1 additions and 10 deletions

View File

@ -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,

View File

@ -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(