Does anybody know of a high level overview of how storage of on chain variables is dealt with in Ethereum? I have a vague high level understanding that miners are the ones running Ethereum contracts, and I'm guessing it works like Bitcoin where lots of transactions get "mined" into a block, but I don't understand how shared state works.<p>How are races etc, dealt with?