Skip to content

Commit

Permalink
Fix failing deployment error
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto committed Nov 8, 2023
1 parent 0cd293c commit 43b10ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion crosschain-resolver/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config: HardhatUserConfig = {
settings: {
optimizer: {
enabled: true,
runs: 10000
runs: 1200
},
viaIR: true,
},
Expand Down
14 changes: 6 additions & 8 deletions crosschain-resolver/test/testResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 43b10ea

Please sign in to comment.