diff --git a/crosschain-resolver/hardhat.config.ts b/crosschain-resolver/hardhat.config.ts index 4f1c056a..9e54c70e 100644 --- a/crosschain-resolver/hardhat.config.ts +++ b/crosschain-resolver/hardhat.config.ts @@ -14,7 +14,7 @@ const config: HardhatUserConfig = { settings: { optimizer: { enabled: true, - runs: 10000 + runs: 1200 }, viaIR: true, }, diff --git a/crosschain-resolver/test/testResolver.ts b/crosschain-resolver/test/testResolver.ts index 52f9b092..69087c1d 100644 --- a/crosschain-resolver/test/testResolver.ts +++ b/crosschain-resolver/test/testResolver.ts @@ -105,13 +105,12 @@ describe('Crosschain Resolver', () => { await reverseRegistrar.setDefaultResolver(publicResolverAddress) console.log({ensAddress,baseRegistrarAddress, metaDataserviceAddress}) - // wrapper = await wrapperFactory.deploy( - // ensAddress, - // baseRegistrarAddress, - // metaDataserviceAddress - // ); - // wrapperAddress = await wrapper.getAddress() - + wrapper = await wrapperFactory.deploy( + ensAddress, + baseRegistrarAddress, + metaDataserviceAddress + ); + wrapperAddress = await wrapper.getAddress() const l1VerifierFactory = await ethers.getContractFactory( 'L1Verifier', signer @@ -138,7 +137,6 @@ describe('Crosschain Resolver', () => { signer ); const verifierAddress = await verifier.getAddress() - const wrapperAddress = verifierAddress // TODO: Fix wrapper deployment target = await testL1Factory.deploy(verifierAddress, ensAddress, wrapperAddress); // Mine an empty block so we have something to prove against