-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
19 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
mod proof_of_work_config; | ||
mod stark_config; | ||
mod stark_proof; | ||
mod table_commitment_config; | ||
mod traces_config; | ||
mod unsent_commitment; | ||
mod vector_commitment_config; | ||
mod witness; |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
// Commitment values for a vector commitment. Used to generate a commitment by "reading" these | ||
// values from the channel. | ||
#[derive(Drop)] | ||
#[derive(Drop, Copy)] | ||
struct VectorUnsentCommitment { | ||
a: felt252, // dummy | ||
// commitment_hash: ChannelUnsentFelt, | ||
} | ||
|
||
// Commitment for a vector of field elements. | ||
#[derive(Drop)] | ||
#[derive(Drop, Copy)] | ||
struct VectorCommitment { | ||
a: felt252, // dummy | ||
// config: VectorCommitmentConfig*, | ||
// commitment_hash: ChannelSentFelt, | ||
} | ||
|
||
#[derive(Drop)] | ||
#[derive(Drop, Copy)] | ||
struct VectorCommitmentConfig { | ||
a: felt252, // dummy | ||
// height: felt, | ||
// n_verifier_friendly_commitment_layers: felt, | ||
height: felt252, | ||
verifier_friendly_commitment_layers: felt252, | ||
} | ||
|
||
fn validate_vector_commitment( | ||
config: VectorCommitmentConfig, | ||
expected_height: felt252, | ||
n_verifier_friendly_commitment_layers: felt252, | ||
) {} |