logger notion

This commit is contained in:
NikVolf
2017-05-19 17:15:41 +03:00
parent f2d99ce888
commit b81573d2b8
+2
View File
@@ -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()))