mirror of
https://github.com/tornadocash/tornado-pool-factory
synced 2024-02-02 15:04:08 +01:00
move relayer registry init
This commit is contained in:
parent
41ddd8023d
commit
ecbed3dd29
@ -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,
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user