-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
consensus: add comment as to why use mocks during replay #4785
Conversation
👋 Thanks for creating a PR! Before we can merge this PR, please make sure that all the following items have been
Thank you for your contribution to Tendermint! 🚀 |
Codecov Report
@@ Coverage Diff @@
## master #4785 +/- ##
=========================================
Coverage ? 64.87%
=========================================
Files ? 241
Lines ? 23074
Branches ? 0
=========================================
Hits ? 14970
Misses ? 6888
Partials ? 1216
|
Is it much more expensive to set up an empty mempool and memory-backed evidence pool instead, or simply pass |
nil does not satisfy the interface. memory backed evidence pool - we would have to create one. evmock is pretty much the same. |
to avoid future conflicts and freeze the required behaviour (nope stubs)
I believe @cmwaters renamed it to |
right, I forgot it. Thanks! |
nil does not work because we call methods on mempoo/evidence pool. |
So check if it's nil? If there's a need to run this without mempool/evidence pool, then let's just make them optional? |
too many if conditions? |
Closes #4766