Skip to content

Commit

Permalink
fix: initial compiling version
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-sun committed Jan 6, 2025
1 parent 2ebc0de commit 7e80d51
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions extensions/native/recursion/src/stark/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,19 +215,26 @@ where
});
*/

let end = builder
.get_ref(main_trace_commits, main_trace_commits.len())
.ptr
.address;
builder
.range_with_step(
main_trace_commits.ptr().address,
builder
.get_ptr(main_trace_commits, main_trace_commits.len() - 1)
.address,
end,
DigestVariable::<C>::size_of(),
)
.for_each(|address, builder| {
let main_commit = builder.uninit();
let main_commit: DigestVariable<C> = builder.uninit();
builder.load(
main_commit,
Ptr { address },
main_commit.clone(),
Ptr {
address: match address {
RVar::Const(c) => unreachable!(),
RVar::Val(v) => v,
},
},
MemIndex {
index: RVar::zero(),
offset: 0,
Expand Down

0 comments on commit 7e80d51

Please sign in to comment.