mirror of
https://github.com/logos-storage/nim-nitro.git
synced 2026-01-02 05:33:06 +00:00
Fix tests
This commit is contained in:
parent
f924a32458
commit
1e7358c7c4
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user