Skip to content

Commit 55955f0

Browse files
authored
Merge pull request MinaProtocol#30 from o1-labs/zkapps-proof-checking
Paragraph on proof checking ; fixes MinaProtocol#6
2 parents 5f03eef + e9b1b04 commit 55955f0

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

MIPS/mip-zkapps.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ The zkApps protocol aims to add a smart contract layer to Mina which extends the
2020

2121

2222
**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
23-
23+
2424
**Programmable privacy** - the privacy of both inputs to smart contracts and their state can be programmed by their developers
25-
25+
2626
**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
27-
28-
27+
28+
2929
This MIP represents the first iteration of such a protocol.
3030

3131
## Specification
@@ -430,6 +430,14 @@ the second pass does not change the result from the first pass.
430430
The first-pass processing is identical to what it was in the protocol
431431
before the changes proposed in this document.
432432

433+
Proofs inside of account updates are checked when zkApp transactions are
434+
added to the transaction pool against some known potential future verification
435+
key (see the "Mitigation of Attack 2: Verification Key Superposition" section
436+
for more details). When a block is created, the proofs are not re-checked
437+
because they were already checked when added to the pool. When a block is
438+
received, all checks required to verify that the sender hasn't manipulated the
439+
payload are re-verified, but the proof is not explicitly checked in all cases.
440+
433441
#### Transaction Application
434442

435443
If the zkApp succeeds, the balance changes from all the account

0 commit comments

Comments
 (0)