moontreeapp / moontree

Primary Mono Repo
6 stars 5 forks source link

mempool transactions are no in right order #629

Closed lastmeta closed 2 years ago

lastmeta commented 2 years ago

Describe The Bug

if you do multiple mempool transactions at hte same time, they're not necessarily in the correct order

To Reproduce

send multiple mempool transactions

Expected Behavior

first in first out

Additional Context

tested on mainnet

lastmeta commented 2 years ago

sent 2,3,1 and I see 2 3 1 so it should be ordered as 1 3 2

then when it got put in a block it was listed as 1 2 3

lastmeta commented 2 years ago

it seems this is unsolvable since transactions in a block and in mempool are unordered