You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
During the use of this crate in the implementation of dusk-network/piecrust#166, the following compilation error occurs.
error[E0277]: the trait bound `ArchivedTree<store::hash::Hash, 32, 4>: bytecheck::CheckBytes<DefaultValidator<'_>>` is not satisfied
--> piecrust/src/store.rs:296:16
|
296 | let tree = rkyv::from_bytes(&tree_bytes).map_err(|err| {
| ^^^^^^^^^^^^^^^^ the trait `bytecheck::CheckBytes<DefaultValidator<'_>>` is not implemented for `ArchivedTree<store::hash::Hash, 32, 4>`
Expected behaviour
It should be possible to validate the structure on disk.
The text was updated successfully, but these errors were encountered:
Describe the bug
During the use of this crate in the implementation of dusk-network/piecrust#166, the following compilation error occurs.
Expected behaviour
It should be possible to validate the structure on disk.
The text was updated successfully, but these errors were encountered: