Transactions – Can Front-Running Be Mitigated by Placing Transaction Fee Data in Signed Bytes?

frontrunningmevtransactions

I'm very much learning. I've just discovered front-running and MEV (not the hard way, luckily).

My understanding is that the transactions are reordered based on cloning the transaction and sending it in with a higher fee?

If so, then why not put the gas fee data in the signed, serialized payload?

Obviously this cannot be done or won't help else they'd have done it, so I guess understanding why would further my understanding generally. Thanks.

Best Answer

My understanding is that the transactions are reordered based on cloning the transaction and sending it in with a higher fee?

Not quite. In a traditional MEV sandwich (i.e. you send off a transaction to sell something on uniswap with max 10% slippage, so someone orders transactions around yours so they sell before you and buy after you sell) has nothing to do with the gas price/gas amount of the target transaction. The MEV doesn't need to (and can't!) change the gas price/amount of your transactions.

The fee data is already in the signed data, otherwise miners could just make you pay as much as they want.

Related Topic