Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into runtime-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Jan 22, 2024
2 parents 94e2f84 + a631c09 commit 350fe00
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion zkevm-circuits/src/bytecode_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl<F: Field> BytecodeCircuitRow<F> {
}
}

/// Padding must be a header, acording to the q_last constraints
/// Padding must be a header, according to the q_last constraints
fn pad() -> Self {
Self {
code_hash: empty_code_hash_word_value(),
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/evm_circuit/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ impl<F: Field> ExecutionConfig<F> {
// the gadget value before being copied to the box is freed immediately after
// the boxed gadget is returned.
// We put each gadget in a box so that they stay in the heap to keep
// ExecutionConfig at a managable size.
// ExecutionConfig at a manageable size.
(|| {
Box::new(Self::configure_gadget(
meta,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<F: Field> ExecutionGadget<F> for ErrorInvalidJumpGadget<F> {
let condition = cb.query_word_unchecked();

cb.require_in_set(
"ErrorInvalidJump only happend in JUMP or JUMPI",
"ErrorInvalidJump only happened in JUMP or JUMPI",
opcode.expr(),
vec![OpcodeId::JUMP.expr(), OpcodeId::JUMPI.expr()],
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ impl<F: Field, G: MathGadgetContainer<F>> Circuit<F> for UnitTestMathGadgetBaseC
)?;

// assign fixed range tables only as they are the only tables referred by a
// specfic math gadget -- ConstantDivisionGadget.
// specific math gadget -- ConstantDivisionGadget.
layouter.assign_region(
|| "fixed table",
|mut region| {
Expand Down

0 comments on commit 350fe00

Please sign in to comment.