Просмотр исходного кода

smart_contracts.md: add small comment about purpose of CallData

narodnik 4 лет назад
Родитель
Сommit
8dbfbd889e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      doc/src/architecture/smart_contracts.md

+ 3 - 0
doc/src/architecture/smart_contracts.md

@@ -69,6 +69,9 @@ mod dao_contract {
 There is a pipeline where the prover runs `Builder::build()` to create the `CallData` object that
 is then broadcast to the verifiers through the p2p network.
 
+The `CallData` usually is the public values exported from a ZK proof. Essentially it is the data
+used by the verifier to check the function call for `DAO::mint()`.
+
 ## Atomic Transactions
 
 Transactions represent several function call invocations that are atomic. If any function call fails,