Skip to content

Commit

Permalink
Copy timestampLimit as a field element array in eval_getTimestampLimit()
Browse files Browse the repository at this point in the history
  • Loading branch information
fractasy committed Jul 17, 2024
1 parent 8fccaac commit 96287f5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/main_sm/fork_10/main/eval_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2691,14 +2691,7 @@ void eval_getTimestampLimit (Context &ctx, const RomCommand &cmd, CommandResult
#endif

cr.type = crt_fea;
cr.fea0 = fr.fromU64(ctx.proverRequest.input.publicInputsExtended.publicInputs.timestampLimit);
cr.fea1 = fr.zero();
cr.fea2 = fr.zero();
cr.fea3 = fr.zero();
cr.fea4 = fr.zero();
cr.fea5 = fr.zero();
cr.fea6 = fr.zero();
cr.fea7 = fr.zero();
scalar2fea(fr, ctx.proverRequest.input.publicInputsExtended.publicInputs.timestampLimit, cr.fea0, cr.fea1, cr.fea2, cr.fea3, cr.fea4, cr.fea5, cr.fea6, cr.fea7);
}

void eval_getForcedBlockHashL1 (Context &ctx, const RomCommand &cmd, CommandResult &cr)
Expand Down

0 comments on commit 96287f5

Please sign in to comment.