Transaction Validation when a Peer Committing a Block
Introduction
This article is to make observations when more than one transaction acts on the same state in the same block. The result is different depending on whether the transaction reads and updates that state or not in the function. This has implications in our blockchain application design. For demonstration purposes we create a simple chaincode implementing two functions updating the state. One requires state reading and another does not. We will observe the result and make some discussion on it.