Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
move struct (#211)
Browse files Browse the repository at this point in the history
Co-authored-by: Martina <martina@martina>
  • Loading branch information
martinacantaro and Martina authored Mar 21, 2023
1 parent 391485e commit a5971a2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/business_logic/fact_state/contract_state.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/business_logic/fact_state/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pub mod contract_state;
pub mod in_memory_state_reader;
pub mod state;
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::{
execution_entry_point::ExecutionEntryPoint,
objects::{CallInfo, TransactionExecutionContext, TransactionExecutionInfo},
},
fact_state::{contract_state::StateSelector, state::ExecutionResourcesManager},
fact_state::state::ExecutionResourcesManager,
state::state_api::{State, StateReader},
transaction::{
error::TransactionError,
Expand All @@ -30,6 +30,12 @@ use getset::Getters;
use num_traits::Zero;
use std::collections::HashMap;

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct StateSelector {
pub contract_addresses: Vec<Address>,
pub class_hashes: Vec<ClassHash>,
}

#[derive(Clone, Debug, Getters)]
pub struct InternalDeployAccount {
#[getset(get = "pub")]
Expand Down

0 comments on commit a5971a2

Please sign in to comment.