Ledger Team Update
High level summary
Ledger team has made significant progress on Ledger rules for Nested Transactions as well as translation of newer features to Plutus context. We've also introduced a major change to how Plutus context is prepared for each transaction entering a mempool, which when fully integrated will result in significant performance improvements. On the efforts of expanding Ledger we have transferred all of the ledger state queries from Consensus component to the Ledger component, as well as introduced an initial stage of streaming injection functionality that we'll be needed for testing and benchmarking, especially for on disk storage where huge amount of data needs to be injected into ledger state without any impact on the operating memory.
Aside from features we have fixed a few more cddl bugs that we discovered with our new AntiGen and cuddle tools. Improved examples for golden tests and golden tests facilities.
Low level summary
Features
- PR-5692 - Adjust Dijkstra UTXOW rule to subtransactions
- PR-5684 - Remove unused FromCBOR/ToCBOR instances
- PR-5572 - Add streaming interface to era transition for initial funds injection
- PR-5737 - Fix treasury donations handling for SubTransactions
- PR-5755 - Clean up CddlSpec, fix
DatumandAccountBalanceIntervalsgenerators - PR-5736 - Fix DecCBOR instances to reject
ProtVervalues exceeding the era maximum - PR-5636 - Memoize Plutus related parts of transaction validation
- PR-5764 - Bring all remaining queries from consensus over to ledger
- PR-5767 - [Leios Prototype] Backwards compat fix
- PR-5757 - Remove
allowLeftOverflag frombinaryGetDecoderand simplify IP address decoders - PR-5754 - Fail
PlutusV1-V3translation for direct deposits and balance intervals - PR-5770 - Simplify Dijkstra constraints
- PR-5751 - UTXO with subtransactions
- PR-5747 - Add gov/proposals/roots/v0 namespace
- PR-5742 - Add entities/stake_pools/v0 namespace
Testing
- PR-5749 - Fix and re-enable
BbodysSec - PR-5687 - Convert pool related
CHAINExamplesto ImpTests - PR-5732 - Expand transaction content in examples in
Test.Cardano.Ledger.[era].Examples - PR-5753 - Use
hspec-goldenfor Alonzo golden tests - PR-5760 - Golden testing facilities for JSON and CBOR
- PR-5731 - Add negative tests for Metadatum int decoding range
- PR-5765 - Add a custom generator to
cost_models, createHuddle.Genmodule
Infrastructure and releasing
- PR-5750 - Run tests for ghc 9.6.7 only
- PR-5756 - Bump actions/upload-pages-artifact from 4 to 5 in the actions group
- PR-5766 - Drop
x86_64-darwinfrom Hydra builds - PR-5768 - Bump slackapi/slack-github-action from 3.0.1 to 3.0.2 in the actions group
- PR-5594 - Test failure summaries in CI
- PR-5774 - Handle single failing suite case in CI test failure summaries
