diff --git a/rust-runner/src/runtime.rs b/rust-runner/src/runtime.rs index 9f751c2..876d96b 100644 --- a/rust-runner/src/runtime.rs +++ b/rust-runner/src/runtime.rs @@ -69,6 +69,8 @@ impl Runtime { let val = StorageValue::from_mem(self.memory.get(val_ptr as u32, 32)?) .map_err(|_| interpreter::Error::Trap("Memory access violation".to_owned()))?; + println!("write storage {:?} = {:?}", key, val); + self.storage.insert(key, val); Ok(Some(0i32.into()))