From b8fc2a16dc423e07c0047418359ea0d6b1a5e224 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Thu, 13 Feb 2025 15:23:27 +1100 Subject: [PATCH] fromBytes -> fromBytesBE --- tests/contractabi/examples.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/contractabi/examples.nim b/tests/contractabi/examples.nim index 07b2588..31c83fe 100644 --- a/tests/contractabi/examples.nim +++ b/tests/contractabi/examples.nim @@ -20,7 +20,7 @@ proc example*[T](_: type seq[T], len = 0..5): seq[T] = newSeqWith(chosenlen, T.example) proc example*(T: type StUint): T = - T.fromBytes(array[sizeof(T), byte].example) + T.fromBytesBE(array[sizeof(T), byte].example) proc example*(T: type StInt): T = cast[T](StUint[T.bits].example)