From f4cd398fac5edfd3fd7ef53d7e01f70fde2893f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Cabeza=20Romero?= Date: Tue, 19 Mar 2024 15:28:01 +0100 Subject: [PATCH] Fix type issue --- tests/test_waku_protobufs.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_waku_protobufs.nim b/tests/test_waku_protobufs.nim index b22c9bf39..7b187b426 100644 --- a/tests/test_waku_protobufs.nim +++ b/tests/test_waku_protobufs.nim @@ -11,7 +11,7 @@ procSuite "Waku Protobufs": # TODO: Missing test coverage in many encode/decode protobuf functions test "WakuMetadataResponse": - let res = WakuMetadataResponse(clusterId: some(7), shards: @[10, 23, 33]) + let res = WakuMetadataResponse(clusterId: some(7.uint32), shards: @[10, 23, 33]) let buffer = res.encode() @@ -22,7 +22,7 @@ procSuite "Waku Protobufs": decodedBuff.get().shards == res.shards test "WakuMetadataRequest": - let req = WakuMetadataRequest(clusterId: some(5), shards: @[100, 2, 0]) + let req = WakuMetadataRequest(clusterId: some(5.uint32), shards: @[100, 2, 0]) let buffer = req.encode()