Skip to content

Commit

Permalink
refactor: move out methods that won't be reviewed in this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
varex83 committed Aug 20, 2024
1 parent 9b7a80a commit bb23d4a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 532 deletions.
13 changes: 3 additions & 10 deletions crates/blockifier/src/execution/execution_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ use crate::execution::entry_point::{
EntryPointExecutionResult,
};
use crate::execution::errors::PostExecutionError;
use crate::execution::native::entry_point_execution as native_entry_point_execution;
use crate::execution::{deprecated_entry_point_execution, entry_point_execution};
use crate::state::errors::StateError;
use crate::state::state_api::State;
Expand Down Expand Up @@ -69,14 +68,8 @@ pub fn execute_entry_point_call(
resources,
context,
),
ContractClass::V1Native(contract_class) => {
native_entry_point_execution::execute_entry_point_call(
call,
contract_class,
state,
resources,
context,
)
ContractClass::V1Native(_contract_class) => {
unimplemented!("Native contract entry point execution is not yet implemented.")
}
}
}
Expand Down Expand Up @@ -274,7 +267,7 @@ pub fn max_fee_for_execution_info(tx_info: &TransactionInfo) -> Felt {
TransactionInfo::Current(_) => 0,
TransactionInfo::Deprecated(tx_info) => tx_info.max_fee.0,
}
.into()
.into()
}

pub fn format_panic_data(felts: &[Felt]) -> String {
Expand Down
2 changes: 0 additions & 2 deletions crates/blockifier/src/execution/native.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
pub mod entry_point_execution;
pub mod syscall_handler;
pub mod utils;
33 changes: 0 additions & 33 deletions crates/blockifier/src/execution/native/entry_point_execution.rs

This file was deleted.

318 changes: 0 additions & 318 deletions crates/blockifier/src/execution/native/syscall_handler.rs

This file was deleted.

Loading

0 comments on commit bb23d4a

Please sign in to comment.