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.
This commit is contained in:
KtorZ
2024-08-14 02:42:04 +02:00
parent f879f6d183
commit 2cb87f4f8f
2893 changed files with 6385 additions and 13 deletions

View File

@@ -0,0 +1 @@
(program 1.0.0 [(lam x x) (con unit ())])

View File

@@ -0,0 +1,2 @@
({cpu: 64100
| mem: 500})

View File

@@ -0,0 +1 @@
(program 1.0.0 (con unit ()))

View File

@@ -0,0 +1 @@
(program 1.0.0 [(lam x x) (con integer 0)])

View File

@@ -0,0 +1,2 @@
({cpu: 64100
| mem: 500})

View File

@@ -0,0 +1 @@
(program 1.0.0 (con integer 0))

View File

@@ -0,0 +1,3 @@
(program 1.0.0
[(lam x (con bool False)) (con integer 42)]
)

View File

@@ -0,0 +1,2 @@
({cpu: 64100
| mem: 500})

View File

@@ -0,0 +1 @@
(program 1.0.0 (con bool False))

View File

@@ -0,0 +1,3 @@
(program 1.0.0
[(lam x x) (con integer 42)]
)

View File

@@ -0,0 +1,2 @@
({cpu: 64100
| mem: 500})

View File

@@ -0,0 +1 @@
(program 1.0.0 (con integer 42))

View File

@@ -0,0 +1,3 @@
(program 1.0.0
[[(lam x x) (lam y y)] (con integer 42)]
)

View File

@@ -0,0 +1,2 @@
({cpu: 112100
| mem: 800})

View File

@@ -0,0 +1 @@
(program 1.0.0 (con integer 42))

View File

@@ -0,0 +1,3 @@
(program 1.0.0
[(lam x x) (lam y y)]
)

View File

@@ -0,0 +1,2 @@
({cpu: 64100
| mem: 500})

View File

@@ -0,0 +1 @@
(program 1.0.0 (lam y y))

View File

@@ -0,0 +1,3 @@
(program 1.0.0
[(lam x (lam y x)) (con integer 42)]
)

View File

@@ -0,0 +1,2 @@
({cpu: 64100
| mem: 500})

View File

@@ -0,0 +1 @@
(program 1.0.0 (lam y (con integer 42)))

View File

@@ -0,0 +1,3 @@
(program 1.0.0
[(lam x (lam y x)) (con integer 42) (con bool False)]
)

View File

@@ -0,0 +1,2 @@
({cpu: 112100
| mem: 800})

View File

@@ -0,0 +1 @@
(program 1.0.0 (con integer 42))

View File

@@ -0,0 +1,3 @@
(program 1.0.0
[(lam f (lam x (lam y [f x y]))) (lam a (lam b a)) (con bool False) (con bool True)]
)

View File

@@ -0,0 +1,2 @@
({cpu: 256100
| mem: 1700})

View File

@@ -0,0 +1 @@
(program 1.0.0 (con bool False))