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

Add mutex in viem/ethers helpers #6440

Open
kanej opened this issue Mar 4, 2025 · 0 comments
Open

Add mutex in viem/ethers helpers #6440

kanej opened this issue Mar 4, 2025 · 0 comments
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task

Comments

@kanej
Copy link
Member

kanej commented Mar 4, 2025

Initially raised here: NomicFoundation/hardhat-ignition#781 (comment)

I also got the nonce error, i rechecked my code and found out i was calling ignition module inside hardhat script for deploying, but two modules were being called at the same time, i wasn't awaiting for the promise which deploys a ignition module.
So you need to double check and make sure only one module gets deploy initiated at one time.

We should consider adding a mutex to guard against two modules being deployed at once due to not awaiting the deploy.

@kanej kanej added the v-next A Hardhat v3 development task label Mar 4, 2025
@kanej kanej added this to the Public Alpha Feature Rollout milestone Mar 4, 2025
@kanej kanej added this to Hardhat Mar 4, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Mar 4, 2025
@kanej kanej moved this from Backlog to To-do in Hardhat Mar 4, 2025
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: To-do
Development

No branches or pull requests

1 participant