Home / Reports / Jun 6, 2023

Tuesday, June 6, 2023

68 commits had been pushed across 19 repos by 28 authors. There were 6,656,420 additions and 531,959 deletions. Official weekly status updates can be found on essentialcardano.io.

Authors

Repos Updated

Commit Log

00:20:17 [a4cdd187] :bento: Update graphs [skip ci] (uptime)
00:20:57 [49a81c3b] :pencil: Update summary in README [skip ci] [upptime] (uptime)
00:20:57 [e128a3ed] :card_file_box: Update status summary [skip ci] [upptime] (uptime)
00:51:54 [7ef2ee47] Update Hackage and Stackage (haskell.nix)
05:20:16 [29a6cc9c] Merge #3862 (cardano-wallet)
06:52:11 [f8ade6fe] Merge #3862 (cardano-wallet)
06:53:37 [4fb7e8ce] deploy: 5bdb700dbeb0318b5fc62da087734e4cf8956ea3 (catalyst-core)
07:19:14 [29f82f9b] docs: Merge #3862 3862: Make API error expectations compiler-checkable. r=jonathanknowles a=jonathanknowles Follow-on from https://github.com/input-output-hk/cardano-wallet/pull/3824 ([ADP-2269](https://input-output.atlassian.net/browse/ADP-2269)). ## Summary This PR replaces `expectErrorCode`, which creates expectations based on string comparisons, with `expectErrorInfo`, which creates expectations based on `ApiErrorInfo` objects. This has two advantages: - expectation expressions can be checked statically by the compiler. - it's possible to express richer expectations based on internal fields of errors (not all errors are just simple values -- some have nested records), using combinators provided by `hspec`. ## Context In our test suite we test at least two kinds of mapping: - The mapping between API types and their serialised JSON representations: for all API types, the JSON encoding should be consistent with the OpenAPI specification, and the round trip property `(decode . encode == id)` should hold for all values. - The mapping from (API call, inputs, state) to API response values: i.e, that API calls return the responses we expect, given appropriate inputs and the current (implicit) wallet state. Up until now, the approach we've used in `cardano-wallet` is to separate the above two concerns into **different test suites**, i.e., to: - test expectations about our JSON serialisation logic in specialised tests for just that purpose (JSON golden round trip tests and the test suite for the OpenAPI spec). - within other test suites (such as the integration test suite), **assume** the correctness of our JSON serialisation logic, and express expectations in terms of ordinary (decoded) Haskell values. API errors have, up until now, been a sort of exception to this separation of concerns, because until recently we didn't have a good way to create structured errors. But since merging #3557, which provides support for structured errors and the accompanying [decodeErrorInfo](https://github.com/input-output-hk/cardano-wallet/blob/504774f0f08f4ec74fa91106bc004d8e7b97f875/lib/wallet/integration/src/Test/Integration/Framework/DSL.hs#L559) function, we've gradually been converting expectations about API errors to use the same style as we use for ordinary values returned by the API, which is to express expectations in terms of ordinary Haskell expressions, and to avoid writing expectations in terms of hard-coded strings. For example, for ordinary (non-error) API responses, we typically write expectations like this: https://github.com/input-output-hk/cardano-wallet/blob/7af6d54d21443146320eab04452eefb75b3d553e/lib/wallet/integration/src/Test/Integration/Scenario/API/Shelley/Transactions.hs#L297-L299 Co-authored-by: Jonathan Knowles <[email protected]> Source commit: f8ade6feb588cff83a28c840b998d4772b752ec5 (cardano-wallet)
07:19:36 [318138b6] deploy: 994e65189e55613c44d1a5fb50cfe2024d05ede7 (catalyst-core)
07:23:27 [6d942f91] deploy: b71be6d53b3669f3ccfac4a17ccff71b579898fc (catalyst-core)
07:41:33 [70a99675] FIX check-docs workflow (hydra-poc)
08:04:26 [8d521295] deploy: 7711d7588a558bd13272b7411c89e4827ecc1d25 (catalyst-core)
08:28:30 [5188d2af] deploy: 70a996754b09825a8bec356c4209374a5812f7b8 (hydra-poc)
08:46:56 [bc3f8b66] Fix haskell-language-server on darwin (#1977) (haskell.nix)
08:59:48 [5c24e0e4] Merge pull request #3243 from free-crypto-drop/master (cardano-token-registry)
09:21:27 [aa5d4596] Bump minor version of `bech32` package to `1.1.3`. (bech32)
09:31:44 [33bda8b6] deploy: 6a660e7a7602f843e8f3496dc3f22426f99466c3 (atms-sidechains)
09:34:27 [125c2726] Bump minor version of `bech32` package to `1.1.3`. (#58) (bech32)
09:37:12 [f298486f] deploy: 1efe0f83a96f817841d5ce5e0f62d484d7eefa03 (atms-sidechains)
09:53:38 [48345fdf] deploy: a2f2af7cda4c239de22c603228d1fb8279fe4b39 (mithril)
10:02:58 [79787ca4] Make the generated PDF a lot prettier (#121) (formal-ledger-specifications)
10:14:32 [f1c66eeb] deploy: 223ec6a07827726dada80d8779a2633625a9bc45 (catalyst-core)
10:46:36 [12eba436] deploy: ace7a355b58950e2d35300669f258d5bc0d1af6f (catalyst-core)
11:15:44 [bc8bfe0e] deploy: 2a436b9dafa187d2ca6d4eeb9e2e08ddf7861651 (catalyst-core)
11:34:37 [f5b5c3c9] Marlowe conceptual summary (#1077) (developer-portal)
11:55:06 [d6c93e64] deploy: 149dac95c0f4ea27e3db1fbc0800f6aa479d2a88 (catalyst-core)
11:59:21 [43a4c4c0] deploy: 6e573e3862559176decab9779d892140c9c71667 (catalyst-core)
12:01:53 [21285262] deploy: 0e292c4883f8e9b8b926bdbce88eee9486806cbd (catalyst-core)
12:04:14 [e31c3e55] deploy: 1e83dd007dc305dfbbd5534576ca949c9c64cfc6 (catalyst-core)
12:32:58 [4b21a0c8] deploy: 4cb9a50fc887607607af65b5a1c609981a9140e9 (catalyst-core)
12:37:34 [9188424c] deploy: 4e75aea1f710bc2e7f5279d8b3ea59b1a3431c4e (catalyst-core)
12:37:56 [8b1e7553] Merge pull request #752 from input-output-hk/feat/track-own-handles (cardano-js-sdk)
12:48:29 [9c870981] Updated (formal-ledger-specifications)
13:02:27 [10f17606] Merge pull request #1864 from input-output-hk/addr_types_in_topology (cardano-node-tests)
13:27:33 [15bc25c1] Only return proposal deposits to registered reward accounts (#122) (formal-ledger-specifications)
13:41:35 [83acb073] Merge pull request #743 from input-output-hk/feat/LW-6704-add-greedy-input-selector (cardano-js-sdk)
13:50:09 [1e727698] ci: publish packages [skip actions] (cardano-js-sdk)
14:11:27 [153e9faf] Updated (formal-ledger-specifications)
14:17:15 [b5f93311] deploy: b69aa3e71042f92c801dfee1460c3560aaeff7c6 (catalyst-core)
14:34:52 [95605833] Update open source status for lace and bump rank higher amomgst those with equal score due to one of the few open source light wallets (#105) (support-faq)
14:35:28 [4c3a31ae] add Haskell Benchmark (customSmallerIsBetter) benchmark result for 67a636a25f9977da0b51e2fb31a2417031e73cd7 (cardano-ledger)
14:35:44 [73c01799] Update open source status for lace ... (support-faq)
14:42:50 [cd5a7637] Merge #3985 (cardano-wallet)
14:45:37 [a471df96] deploy: 38ae0140f64a02f8091cce3e76437db3876f6907 (catalyst-core)
15:02:48 [9f6dc3d9] deploy: 9a24a28b1f101126c484029b696e73ae476961c4 (catalyst-core)
15:25:36 [58b46905] Updated (cardano-ledger)
15:33:22 [80272c63] fix: memo input space (#2483) (yoroi-mobile)
15:35:21 [4d34989b] docs: Merge #3985 3985: [ADP-3058] Integrate new migrations into the db layer on disk operations. r=paolino a=paolino This is just a patch to #3977, where I just remembered that I needed to unstash the final commit. ADP-3058 Co-authored-by: paolino <[email protected]> Source commit: cd5a76376090f99a0fd169c1bc09744dbcf30e27 (cardano-wallet)
15:38:14 [0aabf967] fix: nfts explorer links based on network (#2484) (yoroi-mobile)
15:39:52 [13df9148] feat: adds build workflow (#3) (catalyst-ci)
15:50:15 [9f5d580d] deploy: 3c4d6e9c7ab3ab03d2084ba3c46d43ab3399bed1 (atms-sidechains)
16:05:31 [ece5ee5e] CIP-0069? | Plutus Script Type Uniformization (#321) (CIPs)
16:32:42 [3404b89f] cip86: relative pathnames need dot-slash prefix (#519) (CIPs)
16:35:13 [5405c9fd] Update cip-0060 to v2 (#502) (CIPs)
19:29:42 [70d9a0d2] feat: allows passing additional earthly/target flags (#4) (catalyst-ci)
20:15:48 [16c7a5c1] add Haskell Benchmark (customSmallerIsBetter) benchmark result for 8ed16f4b203ec5a79bd53ba54bd25b2c6c0e30ed (cardano-ledger)
21:00:33 [0c7407a1] Updated (cardano-ledger)
21:43:52 [459c1130] Merge pull request #3471 from input-output-hk/erikd/byron-version (cardano-ledger)
21:48:11 [5744f8c8] add Haskell Benchmark (customSmallerIsBetter) benchmark result for 459c11301a294fc76e3e5d6d33586c044be99852 (cardano-ledger)
22:39:13 [9b203758] Updated (cardano-ledger-specs)
23:05:24 [4d06a4e9] 🟩 C1 Devnet Sidechain Explorer is up (200 in 212 ms) [skip ci] [upptime] (uptime)
23:05:24 [7c78f848] 🟩 C1 Devnet RPC is up (200 in 209 ms) [skip ci] [upptime] (uptime)
23:05:25 [54d17716] 🟩 C1 Mainnet Sidechain Explorer is up (200 in 268 ms) [skip ci] [upptime] (uptime)
23:05:25 [27a32fc4] 🟩 C1 Mainnet RPC is up (200 in 233 ms) [skip ci] [upptime] (uptime)
23:05:26 [33bf14c4] 🟩 A1 Devnet RPC is up (200 in 537 ms) [skip ci] [upptime] (uptime)
23:05:27 [78b2615a] 🟩 A1 Mainnet RPC is up (200 in 200 ms) [skip ci] [upptime] (uptime)
23:05:27 [8048139a] 🟩 A1 Devnet L2 Explorer is up (200 in 652 ms) [skip ci] [upptime] (uptime)
23:05:28 [c29b81b6] 🟩 A1 Mainnet L2 Explorer is up (200 in 232 ms) [skip ci] [upptime] (uptime)