CBDH practice question 9 of 25

_________is called to update or query the ledger in a proposal transaction. This is called by the chaincode.

Full set: 195 questions
Answer options
A: Initialize
B: Init
C: Update
D: Invoke Correct answer
Correct Answer:
D. Invoke
Explanation

Invoke is called to update or query the ledger in a proposal transaction. Init is called during Instantiate transaction after the chaincode container has been established for the first time, allowing the chaincode to initialize its internal data. Invoke is called to update or query the ledger in a proposal transaction. Updated state variables are not committed to the ledger until the transaction is committed.

References

:

Scroll to Top