-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
ethers.namehash("eth") | ||
); | ||
const baseRegistrarAddress = await baseRegistrar.getAddress(); | ||
await baseRegistrar.addController(signerL1Address).then((tx) => tx.wait()); |
There was a problem hiding this comment.
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())
There was a problem hiding this comment.
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();
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
To run the resolver e2e tests on the local stack run:
aggregation-proofs-limit
inconfig/coordinator/coordinator-docker.config.toml
toaggregation-proofs-limit=15
make fresh-start-all
cd packages/linea-ens-resolver/
pnpm i
pnpm test:local