Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
feat: 0x00 opcode (#58)
Browse files Browse the repository at this point in the history
* feat: 0x00 opcode

* chore: rename var

* use ctx method
  • Loading branch information
enitrat authored Aug 9, 2023
1 parent 4c80a45 commit 8912644
Show file tree
Hide file tree
Showing 12 changed files with 889 additions and 827 deletions.
6 changes: 3 additions & 3 deletions src/evm.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use array::ArrayTrait;
use traits::Default;

use kakarot::context::{CallContext, ExecutionContext, ExecutionSummary, ExecutionContextTrait};
use kakarot::instructions::EVMInstructionsTrait;
use kakarot::interpreter::EVMInterpreterTrait;

/// Execute EVM bytecode.
fn execute(
Expand All @@ -24,8 +24,8 @@ fn execute(
ctx.process_intrinsic_gas_cost();
// Print the execution context.
ctx.print_debug();
let mut evm_instructions = EVMInstructionsTrait::new();
let mut interpreter = EVMInterpreterTrait::new();
// Execute the transaction.
evm_instructions.run(ref ctx)
interpreter.run(ref ctx)
}

Loading

0 comments on commit 8912644

Please sign in to comment.