Home / Reports / Feb 6, 2023
Monday, February 6, 2023
67 commits had been pushed across 27 repos by 27 authors. There were 706,639 additions and 12,640 deletions. Official weekly status updates can be found on essentialcardano.io.
Authors
Repos Updated
- uptime10
- blockfrost-utils9
- cardano-node-tests5
- blockfrost-backend-ryo3
- blockfrost-dart3
- hydra3
- hydra-poc3
- cardano-browser-tx3
- plutarch-plutus3
- grants-ui2
- cardano-js-sdk2
- cardano-node2
- cardano-wallet2
- dapps-certification2
- mithril2
- plutus-ops2
- developer-portal1
- cardano-serialization-lib1
- bitte1
- cardano-ledger1
- cardano-ledger-specs1
- cardano-updates1
- haskell.nix1
- ouroboros-network1
- plutus1
- stackage.nix1
- ledgerjs-cardano-shelley1
Commit Log
11:10:41
[7c514ad3]
Merge pull request #1642 from input-output-hk/gh_actions_nix_upgrade
(cardano-node-tests)
12:52:38
[73635c54]
docs: Merge #3732 3732: Add `utxoBalanceShortfall` field and remove `balanceMissing` function. r=jonathanknowles a=jonathanknowles ## Issue Number
Split off from https://github.com/input-output-hk/cardano-wallet/pull/3723.
## Summary
This PR cherry-picks a small number of commits from https://github.com/input-output-hk/cardano-wallet/pull/3723.
It adds a `utxoBalanceShortfall` field to the `BalanceInsufficientError`:
```patch
data BalanceInsufficientError = BalanceInsufficientError
{ utxoBalanceAvailable
:: !TokenBundle
, utxoBalanceRequired
:: !TokenBundle
+ , utxoBalanceShortfall
+ :: !TokenBundle
+ -- ^ The shortfall between 'utxoBalanceAvailable' and
+ -- 'utxoBalanceRequired'.
+ --
+ -- Equal to the /truncated subtraction/ of 'utxoBalanceAvailable' from
+ -- 'utxoBalanceRequired'.
+ }
```
Adding this field (and pre-computing its value) has the following benefits:
1. More informative error messages:
The `shortfall` field tells the caller _which_ assets have a shortfall, and the _minimum_ additional amount of each asset they would need to add to the UTxO balance in order to successfully balance a transaction. This means removes a burden from the caller to perform this calculation themselves.
2. Better abstraction boundary:
The HTTP server error layer no longer needs to call the _internal_ coin selection function `balanceMissing`, which can now be removed.
3. Shortfall values are now captured in golden files for `balanceTransaction`:
Although this field is covered by property tests, it's also useful (from a sanity-checking perspective) to visually inspect these values and verify that they are reasonable.
Co-authored-by: Jonathan Knowles <[email protected]> Source commit: a7f6a2ad06bdaab736076dd09b614b10d3f69db5
(cardano-wallet)
13:05:11
[02e0f0bb]
Merge pull request #607 from cjay/cjay/remove-plutonomicon-cachix
(plutarch-plutus)
13:05:48
[8bf05273]
Merge branch 'master' into cjay/delay-and-force-doc-improvements
(plutarch-plutus)
13:06:25
[f535a689]
Merge pull request #608 from cjay/cjay/delay-and-force-doc-improvements
(plutarch-plutus)
13:09:40
[e061a718]
Merge pull request #583 from input-output-hk/ADP-2543-stake-pool-apy-queries
(cardano-js-sdk)
13:14:02
[cc59aff8]
Merge pull request #590 from input-output-hk/feat/emit-resubmit-tx-errors-as-failed
(cardano-js-sdk)
14:17:59
[e7dfd267]
Merge pull request #707 from input-output-hk/ch1bo/fix-mutation-head-redeemer
(hydra)
14:34:03
[2ab1ca00]
plutusStaging: Bump plutus to 1cba31fe88cfda3094e60c9132ee4ef4d4ba48d9
(plutus-ops)
15:42:05
[64b810de]
Merge pull request #47 from blockfrost/1000101/pagination_off
(blockfrost-backend-ryo)
15:42:21
[e85f6720]
Merge pull request #1643 from saratomaz/fix_test_reconnect_dbsync
(cardano-node-tests)
16:57:51
[00249606]
Merge pull request #1645 from input-output-hk/test_shelley_scriptv2
(cardano-node-tests)
16:58:01
[629b24a0]
Merge pull request #1644 from input-output-hk/tx_incremental_signing
(cardano-node-tests)
18:12:40
[1af2bfc0]
Merge pull request #1268 from Plutonomicon/dshuiski/1131-multi-asset-coin-selection
(cardano-browser-tx)
18:14:44
[9372ddb9]
Deploying to gh-pages from @ Plutonomicon/cardano-transaction-lib@1af2bfc0b87b75506235a10b684c1a5a4b94583a 🚀
(cardano-browser-tx)
18:15:26
[28b82647]
Merge pull request #1428 from Plutonomicon/klntsky/kupo-set-prune-utxo
(cardano-browser-tx)
22:41:02
[ac405a97]
Merge pull request #3279 from input-output-hk/lehins/splify-tally-and-ppup
(cardano-ledger)
22:49:44
[fce94acb]
add Haskell Benchmark (customSmallerIsBetter) benchmark result for ac405a977557a7c58ce1cf69d3c2a0bf148cf19f
(cardano-ledger-specs)
23:05:14
[7acde7e6]
🟩 C1 Devnet Sidechain Explorer is up (200 in 70 ms) [skip ci] [upptime]
(uptime)
23:05:15
[3bbcb56f]
🟩 C1 Mainnet Sidechain Explorer is up (200 in 104 ms) [skip ci] [upptime]
(uptime)