mirror of
https://github.com/logos-storage/logos-storage-proofs.git
synced 2026-01-02 13:33:10 +00:00
setting up mpack basics
This commit is contained in:
parent
833f01a7c2
commit
1bc67376b4
@ -227,9 +227,10 @@ mod tests {
|
||||
})
|
||||
.collect::<Vec<Value>>();
|
||||
let chunks = Value::Array(chunks);
|
||||
let mut data = Value::Map(vec![(Value::String("chunks".into()), chunks.clone() )]);
|
||||
|
||||
println!("Debug: chunks: {:?}", chunks[0][0]);
|
||||
println!("Debug: chunks: {:?}", chunks[0]);
|
||||
println!("Debug: data: {:?}", data);
|
||||
|
||||
write_value_ref(&mut buf, &val).unwrap();
|
||||
// assert_eq!(vec![0xaa, 0x6c, 0x65, 0x20, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65], buf);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user