-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(starknet_os): integrate deprecated_compiled_class hints
- Loading branch information
1 parent
5a62199
commit aa6c88a
Showing
3 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
use std::collections::HashMap; | ||
|
||
use cairo_vm::hint_processor::hint_processor_definition::{HintProcessor, HintReference}; | ||
use cairo_vm::serde::deserialize_program::ApTracking; | ||
use cairo_vm::types::exec_scope::ExecutionScopes; | ||
use cairo_vm::vm::vm_core::VirtualMachine; | ||
use starknet_types_core::felt::Felt; | ||
|
||
use crate::hints::error::{HintExtensionResult, HintResult}; | ||
|
||
pub fn load_deprecated_class_facts( | ||
_vm: &mut VirtualMachine, | ||
_exec_scopes: &mut ExecutionScopes, | ||
_ids_data: &HashMap<String, HintReference>, | ||
_ap_tracking: &ApTracking, | ||
_constants: &HashMap<String, Felt>, | ||
) -> HintResult { | ||
todo!() | ||
} | ||
|
||
pub fn load_deprecated_class_inner( | ||
_vm: &mut VirtualMachine, | ||
_exec_scopes: &mut ExecutionScopes, | ||
_ids_data: &HashMap<String, HintReference>, | ||
_ap_tracking: &ApTracking, | ||
_constants: &HashMap<String, Felt>, | ||
) -> HintResult { | ||
todo!() | ||
} | ||
|
||
pub fn load_deprecated_class( | ||
_hint_processor: &dyn HintProcessor, | ||
_vm: &mut VirtualMachine, | ||
_exec_scopes: &mut ExecutionScopes, | ||
_ids_data: &HashMap<String, HintReference>, | ||
_ap_tracking: &ApTracking, | ||
) -> HintExtensionResult { | ||
todo!() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters