rvcas
824431371e
feat: centralize some Cargo.toml configs at root and upgrade to edition 2024
2025-03-23 21:46:13 -04:00
rvcas
f03633edb4
chore: Release
2025-03-23 14:25:50 -04:00
KtorZ
796eb2d98a
Bump versions to v1.1.14
...
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-21 11:05:21 +01:00
Pi Lanningham
900bf91216
Version 1.1.13
2025-02-26 10:07:00 -05:00
Pi Lanningham
0da4f70c39
chore: Release
2025-02-18 15:24:16 -05:00
Pi Lanningham
3b21648cf9
make EvalResult fields public
2025-02-17 19:58:26 -05:00
Pi Lanningham
4adf6f27ad
Avoid wiping out traces when accessing logs
...
The clones are cheap enough here that we likely don't need to worry about the cost of cloning; and this removes a significant foot-gun where you can wipe out the logs/labels by accessing the other field.
2025-02-17 19:58:26 -05:00
Pi Lanningham
8115443990
fix: clippy
2025-02-17 19:58:26 -05:00
Pi Lanningham
ec6f1f84e2
fix: formatting
2025-02-17 19:58:26 -05:00
Pi Lanningham
17a75d2481
Return an EvalResult alongside the redeemer
...
This refactors things so that eval_phase_two can expose logs even when the script succeeds.
It also enriches traces to be either Logs or Labels, so that we can tell the difference between the two when inspecting the traces.
2025-02-17 19:58:26 -05:00
Calvin Koepke
90867f240b
fix: better error logging when decoding tx_bytes by era
2025-02-14 17:01:30 -05:00
KtorZ
3bce2e2d78
chore: Release
...
Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
2025-02-11 14:26:12 +01:00
microproofs
c382e6fba8
Add a debug flag for uplc eval
2025-02-09 08:39:38 -05:00
microproofs
b25afa2d0d
chore: Release
2025-01-21 23:48:15 +07:00
microproofs
1075be1b71
Minor fix to optimization to actually detect vars that are just forced builtins
2025-01-17 11:34:41 +07:00
microproofs
91b6e6da31
Oops left a todo
2025-01-16 09:33:59 +07:00
microproofs
ade50dd462
Clippy fix
2025-01-15 18:28:41 +07:00
microproofs
a9bedda5ed
Update script context handler to do less work with only fallback. Also optimize wrapped builtins too.
2025-01-15 18:27:43 +07:00
microproofs
6d2e38851e
Push down functions that aren't dependent on the group in front.
2025-01-12 00:39:04 +07:00
microproofs
09ddec6b41
New optimization to split independent lam function applications to enable case constr to optimize further
2025-01-11 19:09:00 +07:00
microproofs
d559e384ec
Handle case where write_bits is used without being applied
2025-01-11 19:08:43 +07:00
microproofs
e437d70ae2
Clippy fix
2025-01-11 19:08:42 +07:00
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
microproofs
f7f68fbafc
Add writeBits back in and use the optimizer to utilize the list conversion
2025-01-11 19:08:42 +07:00
microproofs
19d0ec23cf
Oops did wrong comparison check on number of consecutive applies
2025-01-11 19:08:42 +07:00
microproofs
7462f1d52f
DecodeUtf8 is not error safe
2025-01-11 19:08:42 +07:00
microproofs
2c214186b6
Make sure clean up doesn't add case and constr to comp time eval. Also had fun with test_1 mint script context validator
2025-01-11 19:08:42 +07:00
microproofs
33392f1532
Add case constr for applies greater than 2 optimization
2025-01-11 19:08:41 +07:00
microproofs
c1ed0dcbb5
Remove some prints and switch an uneeded isize to usize since it can't be negative
2025-01-11 19:08:41 +07:00
microproofs
19b4b9df0f
Inline now handles (if cond then body else error) patterns.
...
This allows conditions like ```expect x == 1``` to match performance with ```x == 1 && ...```
Also change builtins forcing to accommodate the new case-constr apply optimization
2025-01-11 19:08:41 +07:00
microproofs
c130796f49
Forgot this so I was reminded when trying to deserialize Bullet
2025-01-11 19:06:43 +07:00
rvcas
3e2ca757cd
fix: remove unwrap which is causing panics closes #1073
2024-12-25 23:14:18 -05:00
KtorZ
22172069f8
chore: Release
2024-12-13 16:44:12 +01:00
KtorZ
da1c478b2f
chore: Release
2024-12-13 15:22:10 +01:00
microproofs
463b88413e
feat: new builtins constr_index and constr_fields for alternative fast ways to take apart Data
2024-12-13 14:15:19 +07:00
microproofs
ebc7d89d5d
Comment out ExpModInteger since it's not live on testnets yet
2024-12-08 14:29:58 +07:00
KtorZ
1105dbf3c6
enable new builtins (*with gotcha)
...
We still need to adjust the writeBits one to work around its list<int> argument.
2024-12-07 15:43:38 +01:00
microproofs
ddc58b9a65
Cargo fmt fix
2024-12-07 12:30:14 +07:00
microproofs
4d7a24234b
Clippy fix
2024-12-07 12:27:35 +07:00
microproofs
17fdbd356a
Add new conformance tests
2024-12-07 12:23:51 +07:00
microproofs
5f1f37919f
Passing conformance tests
2024-12-07 12:23:22 +07:00
microproofs
a1804863dc
Remaining builtin
2024-12-06 12:17:48 +07:00
microproofs
b507992172
Clippy fix
2024-12-06 11:43:05 +07:00
microproofs
86951ef19a
One last builtin to do. Also switch to using bitvec for faster and more accurate shifting
2024-12-06 11:33:45 +07:00
microproofs
91d4ecc350
Unused import
2024-12-05 11:03:42 +07:00
microproofs
9867de38b6
A few more left to finish
2024-12-05 11:03:41 +07:00
microproofs
c3b6bc5bff
Implementation of a few more of the new builtins
2024-12-05 11:03:41 +07:00
microproofs
5cf3275793
Detect difference in cost model length to maintain compatability with mainnet and testnet
2024-12-05 11:03:41 +07:00
microproofs
4839273449
Continue working on new builtin cost model updates
2024-12-05 11:03:41 +07:00
microproofs
befbb6ec18
Start adding implementation for new builtins
2024-12-05 11:03:41 +07:00