Fixes evaluation of large positive bigint in the UPLC machine

Fixes #511.
This commit is contained in:
KtorZ
2023-07-05 18:52:14 +02:00
parent ecab155f9e
commit 2a747305f7
5 changed files with 64 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
use aiken/cbor.{diagnostic, serialise}
test cbor_serialise_large_num() {
serialise(18446744073709551615) == #"c248ffffffffffffffff"
}
test cbor_diagnostic_large_num() {
diagnostic(18446744073709551615) == @"18446744073709551615"
}