I see a similar issues encountered by other. Can anyone help answering. Thank you.
My hyperledger fabric network consists of 1 orderer, 1 organization and 3 peers. I tampered ledger of first peer and then tried to do another transaction on the same peer, then the following error was thrown:
"Error: deliver completed with status (SERVICE_UNAVAILABLE) before txid received - proposal response: "
But the transaction was executed and also the block was added in tampered ledger of peer. But the tampered data was not restored to previous state.
With the reference of the answer in this link - "https://intellipaat.com/community/17752/in-hyperledger-fabric-blocks-locations-and-validity-criteria", I came to know that if the tampering is done, "the state database can be dropped and rebuilt from the blockchain".
So this process of dropping and rebuilding the database is done automatically by peer or we need to do it manually?
In short, if tampering is done in ledger of peer, how can be the previous state of ledger restored?