|
| 1 | +--- |
| 2 | +title: Ledger Team Update |
| 3 | +slug: 2025-02-12-ledger |
| 4 | +authors: lehins |
| 5 | +tags: [ledger] |
| 6 | +hide_table_of_contents: false |
| 7 | +--- |
| 8 | + |
| 9 | +## High level summary |
| 10 | + |
| 11 | +There were a few important performance improvements that had to do with: |
| 12 | +* Avoiding redundant computation when constructing context for plutus scripts |
| 13 | +* Reduction of memory overhead of some of the governance features |
| 14 | +* Removal of a space leak that retained transactions in memory for longer than it was necessary |
| 15 | + |
| 16 | +Other than improving performance we also focused on improving ledger interface and code |
| 17 | +organization, as well as some minor improvements to the test suite. |
| 18 | + |
| 19 | + |
| 20 | +## Low level summary |
| 21 | + |
| 22 | +### Features |
| 23 | + |
| 24 | +* [pull-4854] - `TxInfo` memoization |
| 25 | +* [pull-4826] - Reduce memory usage with sharing |
| 26 | +* [pull-4860] - Add CBOR instances for DefaultVote |
| 27 | +* [pull-4867] - Add `CanGetUTxO` and `CanSetUTxO` type classes |
| 28 | +* [pull-4868] - Organize ledger state |
| 29 | +* [pull-4872] - Make `utxosDeposited` field strict. |
| 30 | + |
| 31 | +### Testing |
| 32 | + |
| 33 | +* [pull-4862] - Bumped the spec to include fixes to `SecurityGroup` parameters |
| 34 | +* [pull-4877] - Add `genIssuerKeys` that can be used in consensus |
| 35 | +* [pull-4878] - Upgrade `cborg` dependency |
| 36 | +* [pull-4879] - Improve `mkAddr` and `mkCred` interface |
| 37 | + |
| 38 | +### Infrastructure and releasing |
| 39 | + |
| 40 | +* [pull-4883] - Remove broken symlink |
| 41 | + |
| 42 | +[pull-4854]: https://github.com/IntersectMBO/cardano-ledger/pull/4854 |
| 43 | +[pull-4826]: https://github.com/IntersectMBO/cardano-ledger/pull/4826 |
| 44 | +[pull-4860]: https://github.com/IntersectMBO/cardano-ledger/pull/4860 |
| 45 | +[pull-4862]: https://github.com/IntersectMBO/cardano-ledger/pull/4862 |
| 46 | +[pull-4867]: https://github.com/IntersectMBO/cardano-ledger/pull/4867 |
| 47 | +[pull-4868]: https://github.com/IntersectMBO/cardano-ledger/pull/4868 |
| 48 | +[pull-4877]: https://github.com/IntersectMBO/cardano-ledger/pull/4877 |
| 49 | +[pull-4878]: https://github.com/IntersectMBO/cardano-ledger/pull/4878 |
| 50 | +[pull-4872]: https://github.com/IntersectMBO/cardano-ledger/pull/4872 |
| 51 | +[pull-4879]: https://github.com/IntersectMBO/cardano-ledger/pull/4879 |
| 52 | +[pull-4883]: https://github.com/IntersectMBO/cardano-ledger/pull/4883 |
0 commit comments