Commit Graph

29 Commits

Author SHA1 Message Date
microproofs
a3a3185e5e Conformance tests should be using NamedDebruijn comparisons not name. Also no inline remover needs to run separately from other uplc transformations 2025-01-11 19:08:42 +07:00
KtorZ
b5047d623a Update to pallas=0.31.0 2024-11-19 14:53:36 +01:00
KtorZ
42784965d2 Implement new costing function for {divide,quotient,mod,remainder}_integer
As well as fixing a couple of other issues thanks to conformance
  tests. Some functions like multiply_integer or verify_ed25519_signature
  have also slightly changed their costing function.
2024-08-14 02:50:05 +02:00
KtorZ
2cb87f4f8f Add PlutusV3 conformance tests and also control budgets
There were some odd discrepancy for `integerToByteString` on the mem
  side. Either 1 or about 1000 mem units off; which I couldn't quite
  figure out. Yet, it proves useful to validate builtin at large and
  ensure we have a valid cost model for v3.
2024-08-14 02:42:04 +02:00
hade
b367ec2113 fix: fmt check 2024-05-30 16:09:32 +07:00
hade
ad3c9f24b7 chore: minimal pallas dependencies 2024-05-30 15:09:05 +07:00
rvcas
8d59ba1c77 chore: update the conformance tests 2024-02-20 13:05:28 -05:00
rvcas
589bb9a4b3 chore: change how we depend on pallas 2024-01-24 21:26:48 -05:00
Niels Mündler
316842876d Fix PlutusData Constr test case 2024-01-13 13:23:58 -05:00
Niels Mündler
d06f2f6008 Formatting 2023-12-19 12:20:10 -05:00
Niels Mündler
fb56700bde Fix and re-enable pretty print test for bigint 2023-12-19 12:20:10 -05:00
Niels Mündler
3ac35f4e00 Make sure that new issue is covered by testcase 2023-12-08 12:19:22 -05:00
rvcas
308fb47e40 fix: don't panic on invalid hex strings 2023-11-15 15:55:56 -05:00
rvcas
dfa0378404 chore: explain a todo in the machine 2023-11-15 15:55:56 -05:00
rvcas
b6f6064aaf test: add all plutus conformance tests 2023-11-15 15:55:56 -05:00
microproofs
819a0a20e6 add tests for case and constr
Fix a minor issue with decoding order
2023-09-03 11:52:49 -04:00
Pi Lanningham
723c347a1a Clippy
Clippy has a build failure locally, for some reason, so I have to use CICD to find these
2023-07-09 23:16:01 -04:00
Pi Lanningham
c4690c6e00 Data parsing, tests 2023-07-09 23:16:01 -04:00
Pi Lanningham
6d9a95ef2d Add all but data parsing
Updates the parsing to the standard, *except* for Data, since that'll be more involved
2023-07-09 23:16:01 -04:00
Pi Lanningham
a48c45b737 Formatting 2023-07-09 23:16:01 -04:00
Pi Lanningham
ecff82659d Tweak pretty-printing
This pretty printing now (mostly) matches https://github.com/input-output-hk/plutus/issues/4751#issuecomment-1538377273; the only concern is whether the PlutusData stuff should be upstreamed to pallas, and whether pallas has a way to print BigInts easier
2023-07-09 23:16:01 -04:00
Turner
a238dc58a6 Move program builder to uplc crate 2022-06-29 14:02:57 -04:00
Kasey White
302da5e20d Fix clippy warning 2022-06-26 21:38:27 -04:00
Kasey White
4eafdd2d39 fix issue with same names causing 0 index debruijn for var 2022-06-26 21:38:27 -04:00
Turner
027daf30ea Add TODO for failing test with link to bug 2022-06-26 19:03:17 -04:00
Turner
19fd6a0e8c Add comment explaining why that test is only one-way 2022-06-26 19:03:17 -04:00
Turner
1b00e4d416 Sanitize fibonacci program to make round-trip tests happy, isolate unsanitary code 2022-06-26 19:03:17 -04:00
Turner
787f345275 Add new uplc case to test, it is failing 2022-06-26 19:03:17 -04:00
Turner
5ba7349f4a Refactor tests, move them into integ folder 2022-06-26 19:03:17 -04:00