Skip to content

Commit

Permalink
fix: typo in memory.rs (privacy-scaling-explorations#962)
Browse files Browse the repository at this point in the history
* fix: typo in memory.rs

* fix: typo in memory.rs
  • Loading branch information
zengzengzenghuy authored Dec 9, 2022
1 parent f444466 commit ee1cfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zkevm-circuits/src/evm_circuit/execution/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<F: Field> ExecutionGadget<F> for MemoryGadget<F> {
let is_mstore8 = IsEqualGadget::construct(cb, opcode.expr(), OpcodeId::MSTORE8.expr());
// This is an MSTORE/MSTORE8
let is_store = not::expr(is_mload.expr());
// This in an MSTORE/MLOAD
// This is an MSTORE/MLOAD
let is_not_mstore8 = not::expr(is_mstore8.expr());

// Calculate the next memory size and the gas cost for this memory
Expand Down

0 comments on commit ee1cfbd

Please sign in to comment.