Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
neotheprogramist committed Feb 15, 2024
1 parent 47dbd4d commit afcfe27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/air/traces.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ impl TracesConfigImpl of TracesConfigTrait {
// Reads the traces commitment from the channel.
// Returns the commitment, along with GlobalValue required to evaluate the constraint polynomial.
fn traces_commit(
ref channel: Channel,
unsent_commitment: TracesUnsentCommitment,
config: TracesConfig
ref channel: Channel, unsent_commitment: TracesUnsentCommitment, config: TracesConfig
) -> TracesCommitment {
// Read original commitment.
let original_commitment = table_commit(
Expand Down
4 changes: 1 addition & 3 deletions src/stark/stark_commit.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ fn stark_commit(
stark_domains: @StarkDomains,
) -> StarkCommitment {
// Read the commitment of the 'traces' component.
let traces_commitment = traces_commit(
ref channel, *unsent_commitment.traces, *config.traces,
);
let traces_commitment = traces_commit(ref channel, *unsent_commitment.traces, *config.traces,);

// Generate interaction values after traces commitment.
let composition_alpha = channel.random_felt_to_prover();
Expand Down

0 comments on commit afcfe27

Please sign in to comment.