mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-04-22 06:48:03 +00:00
logger notion
This commit is contained in:
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user