Skip to content

feat: use tx hash instead of nonce to determine if the tx is a mempool tx#124

Open
0xdapper wants to merge 8 commits intoflashbots:masterfrom
0xdapper:mempool-tx-hash
Open

feat: use tx hash instead of nonce to determine if the tx is a mempool tx#124
0xdapper wants to merge 8 commits intoflashbots:masterfrom
0xdapper:mempool-tx-hash

Conversation

@0xdapper
Copy link

@0xdapper 0xdapper commented Mar 28, 2022

Using nonce to determine is a rather naive way to compare txs. There can be a different tx with same nonce in the mempool. Searchers could want to send same txs with different gas prices(different tx hashes) to the mempool from their EOAs. They could be capturing different opportunities altogether at same nonce too. Nonce cannot be used in place of a tx hash.

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.

5 participants