This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 677
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: save
evm_mine
blocks before returning (#3016)
* await _saving_ block before returning evm_mine * delay emitting block til next event loop in eager blocktime mode * remove manual awaitBlockSaving * await `blockBeingSavedPromise` after mining * add back newline * add memdown and patch-package as dev dep * add patch to memdown to delay _batch calls by 20ms * add test for mining race condition * remove patch package; monkey patch instead * remove patch-package dependency * assert memdown patch works * add clarifying comment * remove unneeded return
- Loading branch information
1 parent
5eb88fd
commit 7613c79
Showing
4 changed files
with
96 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters