mirror of
https://github.com/fluencelabs/interface-types
synced 2025-06-23 03:31:38 +00:00
add some logs
This commit is contained in:
@ -15,3 +15,4 @@ fluence-it-types = { path = "../it-types/", version = "0.2.0" }
|
||||
|
||||
paste = "1.0.5"
|
||||
thiserror = "1.0.24"
|
||||
log = "0.4.14"
|
||||
|
@ -122,6 +122,7 @@ impl<'w, 'm> SequentialWriter<'w, 'm> {
|
||||
// specialization of write_array for u8
|
||||
pub fn write_u8(&self, value: u8) {
|
||||
let offset = self.offset.get();
|
||||
log::trace!("write_u8: write {} to {}", value, offset);
|
||||
|
||||
self.writer.memory[offset].set(value);
|
||||
|
||||
|
Reference in New Issue
Block a user