From acebb7ea60ab9b2d82ba9f03613976ce5fedcdbd Mon Sep 17 00:00:00 2001 From: jkrvivian Date: Tue, 5 Nov 2024 17:04:36 +0800 Subject: [PATCH] fix(iota-types): Fix expected bytes in `test_object_digest_and_serialized_format` --- crates/iota-types/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iota-types/src/object.rs b/crates/iota-types/src/object.rs index 8e94e24356f..fae07681086 100644 --- a/crates/iota-types/src/object.rs +++ b/crates/iota-types/src/object.rs @@ -1222,7 +1222,7 @@ fn test_object_digest_and_serialized_format() { let bytes = bcs::to_bytes(&o).unwrap(); assert_eq!(bytes, [ - 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,