I am reading the Mastering Ethereum book and came across this piece:
Once mined into a block, transactions also modify the state of the Ethereum singleton, either by modifying the balance of an account (in the case of a simple payment) or by invoking contracts that change their internal state.
Reading further I come across:
As mentioned previously, it is important to remember that a contract’s code cannot be changed. However, a contract can be “deleted,” removing the code and its internal state (storage) from its address, leaving a blank account.
Which again makes me think we have two sources of states with Ethereum. One on the blockchain and another one often referred to as internal state.
Can someone help me in understanding this better?
Are there actually two states to think about? If so what is the differences? If not, then how does the blockchain state differs from the Ethereum singleton internal state.