Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Dec 18, 2023
1 parent dd2b9ef commit 48b6073
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions calc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DEFAULT_PRIME = 2**251 + 17 * 2**192 + 1

print(hex(pow(1934568044210770965733097210694395167600009938751278224656090409051406060084, 41, DEFAULT_PRIME)))
3 changes: 2 additions & 1 deletion src/fri/fri_config.cairo
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use core::array::ArrayTrait;
use core::option::OptionTrait;
use core::array::SpanTrait;
use core::traits::Into;
Expand All @@ -15,7 +16,7 @@ struct FriConfig {
n_layers: felt252,
// Array of size n_layers - 1, each entry is a configuration of a table commitment for the
// corresponding inner layer.
inner_layers: Span<TableCommitmentConfig>,
inner_layers: Array<TableCommitmentConfig>,
// Array of size n_layers, each entry represents the FRI step size,
// i.e. the number of FRI-foldings between layer i and i+1.
fri_step_sizes: Span<felt252>,
Expand Down

0 comments on commit 48b6073

Please sign in to comment.