-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Mempool should include replay protection #170
Comments
Sure. Seems good. I think ethermint had lots of trouble with nonces, and out of order or something... Don't know what they did, but if this is the solution for it, we should do it, so rigel:5 and rigel:6 could both pass checktx in the same block @ebuchman is this how to deal with the ethermint nonce issue? |
What am I missing? Mempool calls CheckTx which should handle replay protection. Mempool also keeps a cache and rejects duplicate transactions that its seen. Cache is only like size 10K so eventually it rolls over and allows old duplicates ... thats where CheckTx protection really shines |
@ethanfrey @ebuchman I think we're on the same page based on these comments - This issue was regards to some design decisions being made in the unstable, which is consistent now with maintaining replay protection within checkTx, I believe was already like this in 0.6. |
no sarcasm. just saying tendermint mempool tries to do basic replay protection, but doesnt guarantee it. need CheckTx for that |
…#210) * feat: support send and recv msg size for gRPC (#170) (cherry picked from commit ca48456) # Conflicts: # server/start.go * codec add Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: Adam Tucker <[email protected]>
…ency Secret 045.x grpc concurrency
Aka - check and increase the sequence number within the mempool transactions. If a block has not yet been submitted, a transaction could be rejected by the mempool if there is an unconfirmed transaction in the mempool with the same signers and sequence number
The text was updated successfully, but these errors were encountered: