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

Change Hardhat chain mining mode to interval mining #111

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

nikugogoi
Copy link
Collaborator

Part of cerc-io/watcher-ts#386

Problem:
In MobyMask app, old chain events are fetched (from a previously run chain at same block)
Browser app is using MetaMask and it seems to be caching the events fetched

Fix:
Change Hardhat mining mode to interval mining so that same block is not encountered in tests after restarting chain

@nikugogoi nikugogoi self-assigned this Aug 31, 2023
@nikugogoi nikugogoi merged commit 0624dd4 into cerc-io:main Aug 31, 2023
4 checks passed
@nikugogoi nikugogoi deleted the nv-hardhat-mining branch August 31, 2023 08:58
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.

2 participants