Skip to content

Commit 85c4309

Browse files
committed
feat: update RootConfig
1 parent cbc1a8b commit 85c4309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/stark-sdk/src/config/baby_bear_poseidon2_root.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use openvm_stark_backend::{
44
interaction::fri_log_up::FriLogUpPhase,
55
p3_challenger::MultiField32Challenger,
66
p3_commit::ExtensionMmcs,
7-
p3_field::extension::BinomialExtensionField,
87
prover::{
98
cpu::{CpuBackend, CpuDevice},
109
MultiTraceStarkProver,
@@ -30,6 +29,7 @@ use crate::{
3029
fri_params::SecurityParameters, log_up_params::log_up_security_params_baby_bear_100_bits,
3130
},
3231
engine::{StarkEngine, StarkFriEngine},
32+
fast_ext_field::FastBinomialExtensionField,
3333
};
3434

3535
const WIDTH: usize = 3;
@@ -39,7 +39,7 @@ const DIGEST_WIDTH: usize = 1;
3939

4040
/// A configuration for recursion.
4141
type Val = BabyBear;
42-
type Challenge = BinomialExtensionField<Val, 4>;
42+
type Challenge = FastBinomialExtensionField<Val, 4>;
4343
type Perm = Poseidon2Bn254<WIDTH>;
4444
type Hash<P> = MultiField32PaddingFreeSponge<Val, Bn254Fr, P, WIDTH, RATE, DIGEST_WIDTH>;
4545
type Compress<P> = TruncatedPermutation<P, 2, 1, WIDTH>;

0 commit comments

Comments
 (0)