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

Commit 882b751

Browse files
authored
Merge branch 'main' into fix-get_onchain_data_segment_length
2 parents d2bbe9b + 6da0b77 commit 882b751

File tree

2 files changed

+205
-300
lines changed

2 files changed

+205
-300
lines changed

src/syscalls/native_syscall_handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ impl<'a, S: StateReader> StarkNetSyscallHandler for NativeSyscallHandler<'a, S>
173173
_gas: &mut u128,
174174
) -> SyscallResult<cairo_vm::felt::Felt252> {
175175
let value = match self.starknet_storage_state.read(&address.to_be_bytes()) {
176-
Ok(value) => Ok(dbg!(value)),
176+
Ok(value) => Ok(value),
177177
Err(_e @ StateError::Io(_)) => todo!(),
178-
Err(_) => Ok(dbg!(Felt252::zero())),
178+
Err(_) => Ok(Felt252::zero()),
179179
};
180180
println!("Called `storage_read({address_domain}, {address}) = {value:?}` from MLIR.");
181181
value

0 commit comments

Comments
 (0)