Skip to content

Commit

Permalink
Remove SHL, SHR and SAR from default EVM (hyperledger#4633)
Browse files Browse the repository at this point in the history
These opcodes were introduced in [EIP-145](https://eips.ethereum.org/EIPS/eip-145)

Signed-off-by: Diego López León <dieguitoll@gmail.com>
  • Loading branch information
diega authored Nov 12, 2022
1 parent 4cbe7c6 commit e2b1994
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions evm/src/main/java/org/hyperledger/besu/evm/EVM.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
import org.hyperledger.besu.evm.operation.SGtOperation;
import org.hyperledger.besu.evm.operation.SLtOperation;
import org.hyperledger.besu.evm.operation.SModOperation;
import org.hyperledger.besu.evm.operation.SarOperation;
import org.hyperledger.besu.evm.operation.ShlOperation;
import org.hyperledger.besu.evm.operation.ShrOperation;
import org.hyperledger.besu.evm.operation.SignExtendOperation;
import org.hyperledger.besu.evm.operation.StopOperation;
import org.hyperledger.besu.evm.operation.SwapOperation;
Expand Down Expand Up @@ -191,15 +188,6 @@ public void runToHalt(final MessageFrame frame, final OperationTracer tracing) {
case 0x1a: // BYTE
result = ByteOperation.staticOperation(frame);
break;
case 0x1b: // SHL
result = ShlOperation.staticOperation(frame);
break;
case 0x1c: // SHR
result = ShrOperation.staticOperation(frame);
break;
case 0x1d: // SAR
result = SarOperation.staticOperation(frame);
break;
case 0x50: // POP
result = PopOperation.staticOperation(frame);
break;
Expand Down

0 comments on commit e2b1994

Please sign in to comment.