Skip to content

Commit

Permalink
in testing the STARK, use 2^log_2_exp_factor, not 2^(2^log_2_exp_factor)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ferdinand committed Apr 25, 2023
1 parent 39d19d3 commit 304a7ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion triton-vm/src/shared_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub fn parse_simulate_prove(
};
let log_expansion_factor = 2;
let security_level = 32;
let parameters = StarkParameters::new(security_level, 1 << log_expansion_factor);
let parameters = StarkParameters::new(security_level, log_expansion_factor);
let stark = Stark::new(claim, parameters);

prof_start!(maybe_profiler, "prove");
Expand Down
2 changes: 1 addition & 1 deletion triton-vm/src/stark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ pub(crate) mod triton_stark_tests {
};
let log_expansion_factor = 2;
let security_level = 32;
let parameters = StarkParameters::new(security_level, 1 << log_expansion_factor);
let parameters = StarkParameters::new(security_level, log_expansion_factor);
let stark = Stark::new(claim, parameters);

let mut master_base_table = MasterBaseTable::new(
Expand Down

0 comments on commit 304a7ea

Please sign in to comment.