We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f6a807 commit 575a8a8Copy full SHA for 575a8a8
crates/vm/levm/src/call_frame.rs
@@ -408,7 +408,7 @@ impl CallFrame {
408
// and `while` guard checking i < len.
409
unsafe { assert_unchecked(i + 32 < processed_bytecode.len()) };
410
let bc = processed_bytecode[i] & !0x1F; // Keeps the high bits of PUSHN, i.e. the prefix
411
- let cnt = processed_bytecode[i] & 0x1F; // Keeps the low bits of PUSHN, i.e. the count
+ let cnt = (processed_bytecode[i] & 0x1F) + 1; // Keeps the low bits of PUSHN, i.e. the count
412
let cnt = cnt as usize;
413
i += 1;
414
if bc != 0x60 {
0 commit comments