Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Dec 20, 2023
1 parent 0cd73e9 commit da9c2d3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions src/table_commitment.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
#[derive(Drop, Copy)]
struct TableUnsentCommitment {
a: felt252, // dummy
// vector: VectorUnsentCommitment,
// vector: VectorUnsentCommitment,
}

// Commitment for a table (n_rows x n_columns) of field elements in montgomery form.
#[derive(Drop, Copy)]
struct TableCommitment {
a: felt252, // dummy
// config: TableCommitmentConfig*,
// vector_commitment: VectorCommitment*,
// config: TableCommitmentConfig*,
// vector_commitment: VectorCommitment*,
}

#[derive(Drop, Copy)]
struct TableCommitmentConfig {
a: felt252, // dummy
// n_columns: felt,
// vector: VectorCommitmentConfig*,
// n_columns: felt,
// vector: VectorCommitmentConfig*,
}

fn table_commit(
unsent_commitment: TableUnsentCommitment, config: TableCommitmentConfig
) -> TableCommitment {
TableCommitment {a: 0}
TableCommitment { a: 0 }
}
10 changes: 5 additions & 5 deletions src/vector_commitment.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
#[derive(Drop)]
struct VectorUnsentCommitment {
a: felt252, // dummy
// commitment_hash: ChannelUnsentFelt,
// commitment_hash: ChannelUnsentFelt,
}

// Commitment for a vector of field elements.
#[derive(Drop)]
struct VectorCommitment {
a: felt252, // dummy
// config: VectorCommitmentConfig*,
// commitment_hash: ChannelSentFelt,
// config: VectorCommitmentConfig*,
// commitment_hash: ChannelSentFelt,
}

#[derive(Drop)]
struct VectorCommitmentConfig {
a: felt252, // dummy
// height: felt,
// n_verifier_friendly_commitment_layers: felt,
// height: felt,
// n_verifier_friendly_commitment_layers: felt,
}

0 comments on commit da9c2d3

Please sign in to comment.