Skip to content

Commit

Permalink
Revert "Problem: The enter syscall scopes hint was wrongly formatted. (
Browse files Browse the repository at this point in the history
…#381)" (#382)

This reverts commit 05cb26b.
  • Loading branch information
whichqua authored Sep 23, 2024
1 parent 05cb26b commit fc3c379
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions crates/starknet-os/src/hints/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,15 @@ pub fn os_context_segments(

// TODO(#66): fix syscall entry
// DROP THE ADDED VARIABLES
pub const ENTER_SYSCALL_SCOPES: &str = indoc! {r#"
vm_enter_scope({
'__deprecated_class_hashes': __deprecated_class_hashes,
'transactions': iter(os_input.transactions),
'execution_helper': execution_helper,
'deprecated_syscall_handler': deprecated_syscall_handler,
'syscall_handler': syscall_handler,
'__dict_manager': __dict_manager,
})"#
pub const ENTER_SYSCALL_SCOPES: &str = indoc! {r#"vm_enter_scope({
'__deprecated_class_hashes': __deprecated_class_hashes,
'transactions': iter(os_input.transactions),
'component_hashes': os_input.declared_class_hash_to_component_hashes,
'execution_helper': execution_helper,
'deprecated_syscall_handler': deprecated_syscall_handler,
'syscall_handler': syscall_handler,
'__dict_manager': __dict_manager,
})"#
};

pub fn enter_syscall_scopes<PCS>(
Expand Down

0 comments on commit fc3c379

Please sign in to comment.