If I call approve
and transferFrom
on an ERC20 token in two transactions, with the nonces being 1 and 2, respectively, how do the miners know which to accept first?
Do the miners choose the ordering of the transactions? If so, does it depend on the nonce or just the gasPrice
? If they have the same gasPrice
, is it random which one is included first? Does mining software look at the nonce? Can a miner include a t
Looking at Etherdelta, it seems like their interface sends both transactions, approve
amd transferFrom
in one block with an incremented Nonce. So is this possible?