Skip to content

Commit

Permalink
misc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamWuGit committed Aug 1, 2024
1 parent efd85b2 commit 8dcf14e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions zkevm-circuits/src/evm_circuit/util/common_gadget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1586,9 +1586,6 @@ impl<F: Field> CommonErrorGadget<F> {
return_data_length: Expression<F>,
push_rlc: Expression<F>,
) -> Self {
#[cfg(feature = "dual_bytecode")]
let is_first_bytecode_table = cb.query_bool();

#[cfg(not(feature = "dual_bytecode"))]
cb.opcode_lookup_rlc(opcode.expr(), push_rlc);
#[cfg(feature = "dual_bytecode")]
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/evm_circuit/util/constraint_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ impl<'a, F: Field> EVMConstraintBuilder<'a, F> {
) {
assert_eq!(is_code, 1.expr());
#[cfg(not(feature = "dual_bytecode"))]
cb.opcode_lookup_rlc(opcode.expr(), 0.expr());
self.opcode_lookup_rlc(opcode.expr(), 0.expr());

#[cfg(feature = "dual_bytecode")]
{
Expand Down

0 comments on commit 8dcf14e

Please sign in to comment.