Skip to content

Commit

Permalink
minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
edisontim committed Nov 22, 2023
1 parent 359e054 commit 4a7c88e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/evm/src/tests/test_execution_context.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use evm::context::{
CallContext, CallContextTrait, ExecutionContext, ExecutionContextType, ExecutionContextTrait,
DefaultOptionSpanU8
};
use evm::machine::{MachineCurrentContextTrait};
use evm::memory::{Memory, MemoryTrait};
use evm::model::{Event, Address};
use evm::stack::{Stack, StackTrait};
Expand Down Expand Up @@ -57,7 +58,7 @@ fn test_call_context_new() {
fn test_execution_context_new() {
let mut machine = MachineBuilderImpl::new_with_presets().build();
// Given
let call_ctx = machine.current_ctx.unbox().call_ctx();
let call_ctx = machine.call_ctx();
let context_id = ExecutionContextType::Root;
let program_counter: u32 = 0;

Expand Down

0 comments on commit 4a7c88e

Please sign in to comment.