move relayer registry init
This commit is contained in:
parent
41ddd8023d
commit
ecbed3dd29
|
@ -34,7 +34,7 @@ module.exports = {
|
||||||
hardhat: {
|
hardhat: {
|
||||||
forking: {
|
forking: {
|
||||||
url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY}`,
|
url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY}`,
|
||||||
blockNumber: 14220000,
|
blockNumber: 14250000,
|
||||||
},
|
},
|
||||||
chainId: 1,
|
chainId: 1,
|
||||||
initialBaseFeePerGas: 5,
|
initialBaseFeePerGas: 5,
|
||||||
|
|
|
@ -47,15 +47,6 @@ describe('Instance Factory Tests', () => {
|
||||||
config.instanceRegistry,
|
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
|
// deploy instance factory
|
||||||
InstanceFactory = await ethers.getContractFactory('InstanceFactory')
|
InstanceFactory = await ethers.getContractFactory('InstanceFactory')
|
||||||
const instanceFactory = await InstanceFactory.connect(deployer).deploy(
|
const instanceFactory = await InstanceFactory.connect(deployer).deploy(
|
||||||
|
|
Loading…
Reference in New Issue