Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: testing on local stack #211

Merged
merged 13 commits into from
Jul 29, 2024
Merged

Chore: testing on local stack #211

merged 13 commits into from
Jul 29, 2024

Conversation

Julink-eth
Copy link
Collaborator

To run the resolver e2e tests on the local stack run:

  • In the zk-monorepo: Change the config aggregation-proofs-limit in config/coordinator/coordinator-docker.config.toml to aggregation-proofs-limit=15
  • Then run make fresh-start-all
  • In the linea-ens monorepo: Run cd packages/linea-ens-resolver/
  • Then run pnpm i
  • pnpm test:local

ethers.namehash("eth")
);
const baseRegistrarAddress = await baseRegistrar.getAddress();
await baseRegistrar.addController(signerL1Address).then((tx) => tx.wait());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

across the files there is a mix of syntax which should be standardised

await tx.wait(); 

vs.

.then((tx) => tx.wait())

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a small simplification to have a one liner instead of:

let tx = await baseRegistrar.addController(signerL1Address);
await tx.await();

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, we should just be consistent with the approach we take - at present it is mixed

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just made the change

@Julink-eth Julink-eth merged commit 2e0f0a8 into main Jul 29, 2024
3 checks passed
@Julink-eth Julink-eth deleted the chore/testing-on-local-stack branch July 29, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants