Repository navigation
Describe shnarfs - #1742
Open
alexandratran wants to merge 1 commit into
Open
Describe shnarfs#1742alexandratran wants to merge 1 commit into
alexandratran wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
|
LGTM |
jimmeilin
approved these changes
Oct 7, 2026
| The finalization contract: | ||
|
|
||
| - Accepts the transaction data the network publishes, through the deployment's chosen | ||
| [data submission model](./index.mdx#transaction-lifecycle), and records each submission as a [shnarf](#data-commitments-shnarfs). |
Contributor
There was a problem hiding this comment.
technically it is storing the submitted or provided shnarf.
only the Valium accepts the provided, the other two models compute it based on the data submitted in the transaction and the final shnarf is stored.
| - A data evaluation point and claim, which bind the shnarf to the submitted data | ||
|
|
||
| At finalization, the <GlossaryTerm term="zk-SNARK" /> public input includes the last finalized shnarf and the | ||
| new final shnarf. |
Contributor
There was a problem hiding this comment.
Suggested change
| new final shnarf. | |
| new final shnarf binding the proven execution to the data provided based on data model. |
|
|
||
| At finalization, the <GlossaryTerm term="zk-SNARK" /> public input includes the last finalized shnarf and the | ||
| new final shnarf. | ||
| The contract accepts the proof only when that new shnarf matches one it has already recorded. |
Contributor
There was a problem hiding this comment.
Suggested change
| The contract accepts the proof only when that new shnarf matches one it has already recorded. | |
| The contract accepts the proof only when that new final shnarf matches one it has already recorded. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add glossary definition for "shnarf," and add a "Data commitments (shnarfs)" subsection under the finalization contract.
Preview: https://doc-linea-git-shnarfs-consensys-incorporated.vercel.app/protocol/architecture/smart-contracts#data-commitments-shnarfs
Note
Low Risk
Documentation-only changes with no runtime, contract, or security behavior impact.
Overview
Introduces shnarf as a documented concept: a per-submission hash commitment the finalization contract records, chaining submissions and binding data, state, and proofs.
Adds a Data commitments (shnarfs) subsection under the finalization contract in
smart-contracts.mdx(Keccak composition, proof public inputs, and how recording differs for EIP-4844 blobs, calldata, and shnarf-only validium). Registers the term inglossary.json(and the generated glossary page), links it from the architecture transaction-lifecycle step and data-availability “See also,” and tightens minor wording on data submission models.Reviewed by Cursor Bugbot for commit 2d71761. Bugbot is set up for automated code reviews on this repo. Configure here.