diff --git a/crates/blockifier/src/execution/call_info.rs b/crates/blockifier/src/execution/call_info.rs index d538c72d7d..e38eb29235 100644 --- a/crates/blockifier/src/execution/call_info.rs +++ b/crates/blockifier/src/execution/call_info.rs @@ -21,7 +21,7 @@ pub struct Retdata(pub Vec); #[macro_export] macro_rules! retdata { ( $( $x:expr ),* ) => { - Retdata(vec![$($x),*]) + $crate::execution::call_info::Retdata(vec![$($x),*]) }; } diff --git a/crates/blockifier/src/execution/contract_address_test.rs b/crates/blockifier/src/execution/contract_address_test.rs index 6344803382..f30c1445e0 100644 --- a/crates/blockifier/src/execution/contract_address_test.rs +++ b/crates/blockifier/src/execution/contract_address_test.rs @@ -5,7 +5,7 @@ use starknet_api::{calldata, felt}; use crate::abi::abi_utils::selector_from_name; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, Retdata}; +use crate::execution::call_info::CallExecution; use crate::execution::entry_point::CallEntryPoint; use crate::retdata; use crate::state::cached_state::CachedState; diff --git a/crates/blockifier/src/execution/deprecated_syscalls/deprecated_syscalls_test.rs b/crates/blockifier/src/execution/deprecated_syscalls/deprecated_syscalls_test.rs index e9e309df68..a49aa426b0 100644 --- a/crates/blockifier/src/execution/deprecated_syscalls/deprecated_syscalls_test.rs +++ b/crates/blockifier/src/execution/deprecated_syscalls/deprecated_syscalls_test.rs @@ -24,7 +24,7 @@ use test_case::test_case; use crate::abi::abi_utils::selector_from_name; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, CallInfo, OrderedEvent, Retdata}; +use crate::execution::call_info::{CallExecution, CallInfo, OrderedEvent}; use crate::execution::common_hints::ExecutionMode; use crate::execution::deprecated_syscalls::DeprecatedSyscallSelector; use crate::execution::entry_point::{CallEntryPoint, CallType}; diff --git a/crates/blockifier/src/execution/entry_point_test.rs b/crates/blockifier/src/execution/entry_point_test.rs index 3bc1c9eea5..8883679714 100644 --- a/crates/blockifier/src/execution/entry_point_test.rs +++ b/crates/blockifier/src/execution/entry_point_test.rs @@ -10,7 +10,7 @@ use starknet_api::{calldata, felt, storage_key}; use crate::abi::abi_utils::{get_storage_var_address, selector_from_name}; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, CallInfo, Retdata}; +use crate::execution::call_info::{CallExecution, CallInfo}; use crate::execution::entry_point::CallEntryPoint; use crate::retdata; use crate::state::cached_state::CachedState; diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs index a8824f0fed..ffc6586b38 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs @@ -12,7 +12,7 @@ use test_case::test_case; use super::constants::REQUIRED_GAS_CALL_CONTRACT_TEST; use crate::abi::abi_utils::selector_from_name; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, Retdata}; +use crate::execution::call_info::CallExecution; use crate::execution::contract_class::TrackedResource; use crate::execution::entry_point::CallEntryPoint; use crate::retdata; diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/deploy.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/deploy.rs index 6897c793e0..591b736f6f 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/deploy.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/deploy.rs @@ -6,7 +6,7 @@ use test_case::test_case; use crate::abi::abi_utils::selector_from_name; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, Retdata}; +use crate::execution::call_info::CallExecution; use crate::execution::entry_point::CallEntryPoint; use crate::retdata; use crate::state::state_api::StateReader; diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/get_block_hash.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/get_block_hash.rs index fbbeeaf610..bec856d07e 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/get_block_hash.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/get_block_hash.rs @@ -9,7 +9,7 @@ use test_case::test_case; use crate::abi::abi_utils::selector_from_name; use crate::abi::constants; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, Retdata}; +use crate::execution::call_info::CallExecution; use crate::execution::entry_point::CallEntryPoint; use crate::state::cached_state::CachedState; use crate::state::state_api::State; diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/keccak.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/keccak.rs index 585187db9c..0f578bf1a2 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/keccak.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/keccak.rs @@ -3,7 +3,7 @@ use test_case::test_case; use crate::abi::abi_utils::selector_from_name; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, Retdata}; +use crate::execution::call_info::CallExecution; use crate::execution::entry_point::CallEntryPoint; use crate::retdata; use crate::test_utils::contracts::FeatureContract; diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/library_call.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/library_call.rs index e6eda072d6..6c2c838be5 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/library_call.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/library_call.rs @@ -11,7 +11,7 @@ use test_case::test_case; use crate::abi::abi_utils::selector_from_name; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, CallInfo, Retdata}; +use crate::execution::call_info::{CallExecution, CallInfo}; use crate::execution::entry_point::{CallEntryPoint, CallType}; use crate::execution::syscalls::syscall_tests::constants::{ REQUIRED_GAS_LIBRARY_CALL_TEST, diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/sha256.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/sha256.rs index 9598dd3d51..8c6595f7db 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/sha256.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/sha256.rs @@ -3,7 +3,7 @@ use test_case::test_case; use crate::abi::abi_utils::selector_from_name; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, Retdata}; +use crate::execution::call_info::CallExecution; use crate::execution::entry_point::CallEntryPoint; use crate::retdata; use crate::test_utils::contracts::FeatureContract; diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/storage_read_write.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/storage_read_write.rs index adf201b162..dbc85fff6b 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/storage_read_write.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/storage_read_write.rs @@ -4,7 +4,7 @@ use test_case::test_case; use crate::abi::abi_utils::selector_from_name; use crate::context::ChainInfo; -use crate::execution::call_info::{CallExecution, Retdata}; +use crate::execution::call_info::CallExecution; use crate::execution::entry_point::CallEntryPoint; use crate::execution::syscalls::syscall_tests::constants::REQUIRED_GAS_STORAGE_READ_WRITE_TEST; use crate::retdata; diff --git a/crates/blockifier/src/transaction/account_transaction.rs b/crates/blockifier/src/transaction/account_transaction.rs index f07ac385ca..2ec1008bb7 100644 --- a/crates/blockifier/src/transaction/account_transaction.rs +++ b/crates/blockifier/src/transaction/account_transaction.rs @@ -23,7 +23,7 @@ use starknet_types_core::felt::Felt; use crate::abi::abi_utils::selector_from_name; use crate::context::{BlockContext, TransactionContext}; -use crate::execution::call_info::{CallInfo, Retdata}; +use crate::execution::call_info::CallInfo; use crate::execution::contract_class::ContractClass; use crate::execution::entry_point::{CallEntryPoint, CallType, EntryPointExecutionContext}; use crate::execution::stack_trace::extract_trailing_cairo1_revert_trace; diff --git a/crates/native_blockifier/src/state_readers/papyrus_state_test.rs b/crates/native_blockifier/src/state_readers/papyrus_state_test.rs index 499f753b13..5b149df93c 100644 --- a/crates/native_blockifier/src/state_readers/papyrus_state_test.rs +++ b/crates/native_blockifier/src/state_readers/papyrus_state_test.rs @@ -1,7 +1,7 @@ use std::collections::HashMap; use blockifier::abi::abi_utils::selector_from_name; -use blockifier::execution::call_info::{CallExecution, Retdata}; +use blockifier::execution::call_info::CallExecution; use blockifier::execution::entry_point::CallEntryPoint; use blockifier::retdata; use blockifier::state::cached_state::CachedState;