diff --git a/evm/src/cpu/cpu_stark.rs b/evm/src/cpu/cpu_stark.rs index 09c7d576..74e8fbd7 100644 --- a/evm/src/cpu/cpu_stark.rs +++ b/evm/src/cpu/cpu_stark.rs @@ -156,7 +156,7 @@ impl, const D: usize> Stark for CpuStark, const D: usize> Stark for CpuStark = Some(StackBehavior { disable_other_channels: true, }); const BASIC_TERNARY_OP: Option = Some(StackBehavior { - num_pops: 2, + num_pops: 3, pushes: true, disable_other_channels: true, }); @@ -60,8 +60,16 @@ const STACK_BEHAVIORS: OpsColumnsView> = OpsColumnsView { xor: BASIC_BINARY_OP, not: BASIC_UNARY_OP, byte: BASIC_BINARY_OP, - shl: BASIC_BINARY_OP, - shr: BASIC_BINARY_OP, + shl: Some(StackBehavior { + num_pops: 2, + pushes: true, + disable_other_channels: false, + }), + shr: Some(StackBehavior { + num_pops: 2, + pushes: true, + disable_other_channels: false, + }), keccak_general: None, // TODO prover_input: None, // TODO pop: None, // TODO