QuestionQ30

VerifiedSmart Contracts

After the transaction containing the delState("A") function is committed, what occurs to the ledger and state database?

Explanation

delState deletes the specified key from the committed current state (world-state database). Fabric’s blockchain is an immutable record of state transitions, so deleting the current state does not delete the key’s transaction history from the ledger.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!