Hi Vishani,

Trust me this is a very good question. When we say “blockchain is immutable” it is the data written on the blockchain (the data structure) immutable. To be accurate, the data placed in a block is protected through block hash, which is chained block-by-block.

In Hyperledger Fabric, the ledger is composed of a blockchain and a world state database. While the blockchain holds the validated transactions, the world state holds the latest state after those the transactions are executed. Therefore, the world state is mutable, and reflects what has been invoked in the transactions. It is the transaction written in the blockchain immutable.

In the example, once you invoke CAR4, the state of CAR4 is changed, but the transaction that “you invoke the chaincode to modify CAR4 to a new value” is immutable. And you cannot deny that you have done this.

Hope this helps.

cheers, kc

Written by

Happy to share what I learn on blockchain. Visit http://www.ledgertech.biz/kcarticles.html for my works. or reach me on https://www.linkedin.com/in/ktam1/.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store