Skip to content

Commit

Permalink
Paragraph on proof checking ; fixes MinaProtocol#6
Browse files Browse the repository at this point in the history
  • Loading branch information
bkase committed Feb 28, 2023
1 parent c80dd2d commit 7d97ae2
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions MIPS/mip-zkapps.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ The zkApps protocol aims to add a smart contract layer to Mina which extends the


**General programmability** - able to execute and settle arbitrary programs, not constrained to a particular VM model, but instead flexibly designed to support any number of execution models, VM-like or otherwise

**Programmable privacy** - the privacy of both inputs to smart contracts and their state can be programmed by their developers

**Constant in verification time** - individual transactions are executed, or more accurately “proven” asynchronously off-chain and verified on chain in constant time, independent of computational complexity


This MIP represents the first iteration of such a protocol.

## Specification
Expand Down Expand Up @@ -424,6 +424,14 @@ the second pass does not change the result from the first pass.
The first-pass processing is identical to what it was in the protocol
before the changes proposed in this document.

Proofs inside of account updates are checked when zkApp transactions are
added to the transaction pool against some potential verification key
(depending on how subsequent transactions are ordered; see DDOS mitigations for
more details on this). When a block is created, the proofs are not re-checked
because they were already checked when added to the pool. When a block is
received, all checks required to verify that the sender doesn't lie are
re-verified, but the proof is not explicitly checked in all cases.

#### Transaction Application

If the zkApp succeeds, the balance changes from all the account
Expand Down

0 comments on commit 7d97ae2

Please sign in to comment.