diff --git a/tests/examples.nim b/tests/examples.nim index f7680819..6f6a07cc 100644 --- a/tests/examples.nim +++ b/tests/examples.nim @@ -57,8 +57,8 @@ proc example*(_: type StorageRequest): StorageRequest = maxSlotLoss: 2, # 2 slots can be freed without data considered to be lost ), content: StorageContent( - cid: "zb2rhheVmk3bLks5MgzTqyznLu1zqGH5jrfTA1eAZXrjx7Vob".toBytes, - merkleRoot: array[32, byte].example, + cid: Cid.init("zb2rhheVmk3bLks5MgzTqyznLu1zqGH5jrfTA1eAZXrjx7Vob").tryGet.data.buffer, + merkleRoot: array[32, byte].example ), expiry: (60 * 60).u256, # 1 hour , nonce: Nonce.example,