What fields does Ethereum use when creating a hash for a transaction? Suppose the following:
- The blockchain has three blocks
block0
<-block1
<-block2
- There's a transaction
transaction2
which is originally inblock2
with hashtransactionHash2
- The blockchain gets reorged such that it's now
block0
<-block3
<-block4
transaction2
is now inblock4
Would we expect that transaction2
has the same hash now that it's in a different block with a different parent block?