From 1e7358c7c40e10139dcce38197712658d2776bb7 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 14 Feb 2025 11:01:51 +0100 Subject: [PATCH] Fix tests --- tests/nitro/examples.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/nitro/examples.nim b/tests/nitro/examples.nim index 4453900..b7e099b 100644 --- a/tests/nitro/examples.nim +++ b/tests/nitro/examples.nim @@ -19,10 +19,10 @@ proc example*[T](_: type seq[T], len = 0..5): seq[T] = newSeqWith(chosenlen, T.example) proc example*(_: type UInt256): UInt256 = - UInt256.fromBytes(array[32, byte].example) + UInt256.fromBytesBE(array[32, byte].example) proc example*(_: type UInt128): UInt128 = - UInt128.fromBytes(array[16, byte].example) + UInt128.fromBytesBE(array[16, byte].example) proc example*(_: type EthAddress): EthAddress = EthAddress(array[20, byte].example)