Home / Reports / Jan 17, 2023

Tuesday, January 17, 2023

102 commits had been pushed across 21 repos by 33 authors. There were 2,170,843 additions and 18,657 deletions. Official weekly status updates can be found on essentialcardano.io.

Authors

Repos Updated

Commit Log

00:18:29 [3550b222] :bento: Update graphs [skip ci] (uptime)
00:19:31 [f3c2b0ed] :pencil: Update summary in README [skip ci] [upptime] (uptime)
00:19:31 [5e1ba4a0] :card_file_box: Update status summary [skip ci] [upptime] (uptime)
00:23:51 [3c2161a8] Merge pull request #283 from maian99/meld-hosky (metadata-registry-testnet)
00:32:02 [901b8f0c] Merge pull request #281 from Digital-Syndicate/master (metadata-registry-testnet)
00:50:52 [b4fe95eb] Update Hackage and Stackage (haskell.nix)
02:52:16 [d5dfa2f2] Update flake.lock (cardano-db-sync)
02:52:16 [1cf8dda1] Restore iohk-monitoring-framework dep that's still used (cardano-db-sync)
02:52:16 [17ccd01e] Remove stylish-haskell (cardano-db-sync)
02:52:16 [2e6e72a8] Fix default.nix (cardano-db-sync)
02:52:16 [8682d9c1] Pass through inputMap (cardano-db-sync)
02:52:16 [ee88b07b] Remove code duplication (cardano-db-sync)
02:52:16 [2c0f2cee] Tidy cabal.project (cardano-db-sync)
02:52:16 [8fd809a1] Remove test-ansi dependency (cardano-db-sync)
02:52:16 [9d36c00d] Fix secp256k1 dep (cardano-db-sync)
02:52:16 [6f3464cd] Integrate new ledger core 0.1.1.1 (cardano-db-sync)
02:52:16 [bbfcd245] Update dependencies to node 1.35.4 (cardano-db-sync)
05:54:51 [22759027] plutusStaging: Bump plutus to 96ced2949ec9bfe59dccc2d344e5c1ab72f4d2c5 (plutus-ops)
07:06:16 [cde14c55] Merge pull request #35 from Benjmhart/minutes-2022-11-01 (Developer-Experience-working-group)
07:26:19 [fb0f6192] Merge pull request #39 from Benjmhart/minutes-2022-11-15 (Developer-Experience-working-group)
07:28:19 [4d10a09e] CIP-0013 | Adjust preamble and structure w.r.t CIP-0001 (#429) (CIPs)
07:45:38 [0ea15fc0] [paradiso.app] remove transaction metadatum labels (#405) (CIPs)
08:11:36 [a2e1ca87] Bump moment from 2.29.2 to 2.29.4 (#432) (CIPs)
08:11:52 [90f4ce28] Bump minimatch from 3.0.4 to 3.1.2 (#431) (CIPs)
09:11:23 [8939f040] update signatures schema on cip-0026 (#424) (CIPs)
09:12:13 [0931388e] Corrected CDDL and fixed test vectors (#426) (CIPs)
09:19:56 [3b01ec97] Restore Documentation Links in README (#5046) (plutus)
09:26:56 [f67ad557] fixed 3 broken anchors + add Categories link (#411) (CIPs)
09:31:07 [a7740c2a] Skip CI on doc only changes (cardano-node)
09:34:04 [b6404fb5] Merge pull request #4800 from input-output-hk/newhoggy/skip-ci-on-doc-only-changes (cardano-node)
09:41:57 [37f79eaa] deploy: 69f1b833e86e47bd4a55103b4a6f581b6a67e7da (cardano-node)
09:45:04 [bb3ff6f1] nix: add missing -ryo suffix (blockfrost-backend-ryo)
09:47:30 [1a513e4f] Merge pull request #70 from blockfrost/srk/nixRyo (blockfrost-backend-ryo)
09:50:04 [492f7d29] Merge #3693 (cardano-wallet)
09:55:05 [b225b26d] CIP-0005, CIP-0036 | Added clarity to voting key definitions (#427) (CIPs)
10:00:11 [c854763d] CIP-0052 | Add public keys to auditor table (#406) (CIPs)
10:01:58 [f1cd1c64] deploy: b6404fb569d2d3e1ff561fd841c36ce4954a01f0 (cardano-node)
10:03:39 [08e5155b] Revert "Merge pull request #4800 from input-output-hk/newhoggy/skip-ci-on-doc-only-changes" (cardano-node)
10:04:01 [425ca854] Revert "Merge pull request #4792 from input-output-hk/newhoggy/docs-dont-trigger-ci" (cardano-node)
10:06:49 [460e167d] Merge pull request #4802 from input-output-hk/newhoggy/revert-skip-doc-in-ci (cardano-node)
10:07:57 [47ab2685] CIP-0035 | Redraft to handle Plutus Core language versions (#428) (CIPs)
10:20:28 [37143091] Merge #3611 (cardano-wallet)
10:34:14 [c6a79887] deploy: 460e167d5c03e1b531ccd79ffd934f25a184f5b1 (cardano-node)
10:46:37 [76fdaf9c] Merge #3693 (cardano-wallet)
11:49:12 [59b1712f] Add eopsin as Smart Contract language (#929) (developer-portal)
11:49:30 [24966e44] Add eopsin to builder tools (#928) (developer-portal)
11:50:33 [03a80e07] plutusStaging: Bump plutus to 0d35e44c615b57c8cce48d4e2d38f33e03e6f7cf (plutus-ops)
11:58:12 [0a091d17] Add Aiken as smart contract language (#926) (developer-portal)
11:58:17 [19df7481] Merge #3611 (cardano-wallet)
12:01:45 [af9476ab] docs: Merge #3693 3693: Machine-readable shared wallet API errors. r=jonathanknowles a=jonathanknowles ## Issue Number Follow-on from review of https://github.com/input-output-hk/cardano-wallet/pull/3676. ## Summary This PR removes an **interpolated string equality check** from our API integration test suite, and replaces it an equality check that uses **`decodeErrorInfo`** in conjunction with an **API error record**: ```patch lib/wallet/integration/src/Test/Integration/Scenario/API/Shared/Wallets.hs - expectErrorMessage (errMsg403NoSuchCosigner (toText Payment) 7) rPatch5 + decodeErrorInfo rPatch5 `shouldBe` SharedWalletNoSuchCosigner + ApiErrorSharedWalletNoSuchCosigner + { cosignerIndex = ApiCosignerIndex 7 + , credentialType = ApiCredentialType Payment + } ``` ```patch lib/wallet/integration/src/Test/Integration/Framework/TestData.hs - errMsg403NoSuchCosigner :: Text -> Int -> String - errMsg403NoSuchCosigner cred cosigner = unwords - [ "It looks like you've tried to add a cosigner key to a" - , "shared wallet's" - , unpack cred - , "template for a non-existing cosigner index:" - , show cosigner - ] ``` The above definition of `errMsg403NoCosigner` (now removed) was essentially a **duplicate** of an identical interpolated string in `Http.Server.Error`: https://github.com/input-output-hk/cardano-wallet/blob/1263e6ed8c486f31ed75219b59a8e5fc6af577de/lib/wallet/api/http/Cardano/Wallet/Api/Http/Server/Error.hs#L801-L807 ## Advantages 1. If we make any breaking changes to the API error type, the compiler will warn us to update the test suite. 2. Someone browsing the integration tests can easily jump to the definition of the error type, or to the definitions of any of the constructors used. 3. We no longer need to manually keep two copies of an interpolated string function in sync with one another. ## Method To achieve this, we introduce the following structured error type: ```haskell data ApiErrorSharedWalletNoSuchCosigner = ApiErrorSharedWalletNoSuchCosigner { cosignerIndex :: !ApiCosignerIndex , credentialType :: !ApiCredentialType } deriving (Data, Eq, Generic, Show, Typeable) deriving (FromJSON, ToJSON) via DefaultRecord ApiErrorSharedWalletNoSuchCosigner deriving anyclass NFData ``` And add it as a parameter to the relevant constructor of ApiErrorInfo: ```patch lib/wallet/api/http/Cardano/Wallet/Api/Types/Error.hs data ApiErrorInfo = ... | ... - | SharedWalletNoSuchCosigner + | SharedWalletNoSuchCosigner !ApiErrorSharedWalletNoSuchCosigner | ... ``` When errors of this type are encoded as JSON, this results in objects of the following format: ```json { "code": "shared_wallet_no_such_cosigner" , "info": { "cosigner_index": 182 , "credential_type": "delegation" } , "message": "It looks like you've..." } ``` ## Future Work This PR serves as a demonstration of this technique, and only converts one particular error type. We could use this method to remove all duplicate interpolated error messages from our API integration test suite. Co-authored-by: Jonathan Knowles <[email protected]> Source commit: 76fdaf9c6ac441bf1cad12ef70e1b88ed69289ac (cardano-wallet)
12:25:26 [6cabccdf] Restored DOC links in README (#5047) (plutus)
12:29:07 [689b51a3] Merge pull request #157 from input-output-hk/SCP-4683 (marlowe)
12:31:08 [22caaa0f] Merge pull request #4785 from input-output-hk/newhoggy/straight-line-error-handling (cardano-node)
12:35:40 [990f5660] staging: Bump marlowe to 3834300efb1b7a38cb066d55001c9aab22f94b06 (plutus-ops)
12:47:35 [e201fd21] CIP-0083? | Adding encrypted messages to CIP-0020 (#409) (CIPs)
12:52:19 [a0d33b00] deploy: 22caaa0f7694d746d4a56a01e73dcdf264c6e1d8 (cardano-node)
13:06:10 [2b9930a4] modernize CI (cardano-node)
13:06:10 [6cba1f6f] fix benchmarks in CI (cardano-node)
13:06:10 [076e1ab9] speed up CI (cardano-node)
13:16:23 [00b31378] Wait for first rewards where needed (cardano-node-tests)
13:25:01 [8dd9b084] Merge pull request #1589 from input-output-hk/wait_for_rewards (cardano-node-tests)
13:35:37 [7bb46832] deploy: 6cba1f6f22a5278644a7131d80fbc1ff61757b98 (cardano-node)
13:37:40 [279a3906] Merge pull request #52 from input-output-hk/master (PSG)
13:45:50 [a4731a77] Merge #3611 (cardano-wallet)
14:03:28 [18228d57] Edit CIP numbers and top-level README from editors meeting #60's outcome (#434) (CIPs)
14:04:38 [b1104890] Merge pull request #53 from input-output-hk/feat/PSGS-925-polishing-doc (PSG)
14:14:51 [2bc7fc1c] Merge #4237 (ouroboros-network)
14:45:34 [204832ed] Merge #3611 (cardano-wallet)
15:13:31 [d2b5b16d] Fix website build (#438) (CIPs)
15:27:31 [81322aa9] Merge pull request #1591 from input-output-hk/more_detailed_error (cardano-node-tests)
15:33:22 [3a2af471] Add `test_withdrawal_wrong_amount` negative withdrawal test (cardano-node-tests)
15:38:37 [9cfc3f22] deploy: 498627eeb63c2b2bf939ec4fdcc57013de6901ac (cardano-updates)
15:42:23 [e4c6f590] Merge #3611 (cardano-wallet)
15:52:35 [bceec530] Merge pull request #1590 from input-output-hk/negative_withdrawal_tests (cardano-node-tests)
16:02:48 [495348db] plutusStaging: Bump plutus to 699071488477c5765e44d9fda2ac634f1e759f9a (plutus-ops)
16:05:04 [4951e23b] docs: Merge #3611 3611: [ADP-2392] implement store db for new submissions store r=paolino a=paolino - [x] ~~implement store db for new submissions store primitives~~ - [x] ~~implement store laws properties for new submissions store primitives~~ - [x] implement store db for new submissions store API operations - [x] implement store laws properties for new submissions store API operations ### Comments The delta language of the API, called Operation, is implemented as a composition of primitive deltas. Primitive deltas are not required to respect all API-level invariants. In reality, only the roll-forward operation is a proper composition of 2 primitives. The DB implementation uses the in-memory state change to compute the database difference, which means we are not pattern-matching the delta language as we do in the in-memory implementation. This removes even the instantiation of a store at the primitive level, so we end up with a very small implementation that relies on the correctness of the model that is executed in parallel to the DB one. This missing code could be necessary if we want to switch to an in-disk-only store. <!-- Additional comments, links, or screenshots to attach, if any. --> ### Issue Number ADP-2392 <!-- Reference the Jira/GitHub issue that this PR relates to, and which requirements it tackles. Note: Jira issues of the form ADP- will be auto-linked. --> Co-authored-by: paolo veronelli <[email protected]> Source commit: e4c6f590bf177d2c0e833166c80b14997881372b (cardano-wallet)
16:13:30 [d6e0e52c] Merge #4237 (ouroboros-network)
16:39:50 [5aa5007f] Add pull request template (cardano-db-sync)
16:39:50 [23533641] Add fourmolu code formatter (cardano-db-sync)
16:51:17 [7f129bdc] Create CODE-OF-CONDUCT.md (cardano-db-sync)
16:59:41 [3f7efb4b] deploy: 1047f497cae4ffc0f0a8b2cab2a9c5682d48a0a2 (cardano-updates)
17:59:25 [816b50f4] Examples (#40) (PSG)
18:39:39 [4900164f] deploy: fb26968549ca2442f4e49ddeac5a3637396c97ff (cardano-updates)
19:41:37 [b2543f74] fix: sshd-github configurable entrypoint (dapps-world)
20:15:31 [aa1eb5b3] deploy: 022d552ce8f72f1a2cb19410bbb5243a4ec539a5 (cardano-node)
21:17:33 [216aa301] [ETCM-2928] Document usage of CTL Scripts (#2) (sidechains-tooling)
22:46:07 [b1881313] fix(sshd-github): non-debug sshd (dapps-world)
22:46:41 [c9587c21] Merge pull request #119 from input-output-hk/m5-class (ops-lib)
22:48:01 [72614974] fix: rm faucet amount dropdown (cardano-world)
22:48:01 [793d8edd] fix: delete comment (cardano-world)
22:48:01 [043fa3b4] fix: only rm 10 in dropdown (cardano-world)
22:48:01 [7f876209] feat: add a faucet theme (cardano-world)
23:05:17 [f1132031] 🟩 C1 Devnet RPC is up (200 in 298 ms) [skip ci] [upptime] (uptime)
23:05:18 [15e9b3aa] 🟩 C1 Devnet Sidechain Explorer is up (200 in 375 ms) [skip ci] [upptime] (uptime)
23:05:19 [7d14a464] 🟩 C1 Mainnet RPC is up (200 in 251 ms) [skip ci] [upptime] (uptime)
23:05:20 [09dcfadc] 🟩 A1 Devnet RPC is up (200 in 570 ms) [skip ci] [upptime] (uptime)
23:05:20 [03cb923b] 🟩 C1 Mainnet Sidechain Explorer is up (200 in 787 ms) [skip ci] [upptime] (uptime)
23:05:22 [3e15e69f] 🟩 A1 Devnet L2 Explorer is up (200 in 773 ms) [skip ci] [upptime] (uptime)
23:05:22 [b76c1cef] 🟩 A1 Mainnet RPC is up (200 in 182 ms) [skip ci] [upptime] (uptime)
23:05:23 [c770d9b6] 🟩 A1 Mainnet L2 Explorer is up (200 in 295 ms) [skip ci] [upptime] (uptime)
23:35:10 [ce3daec4] Merge pull request #4279 from input-output-hk/newhoggy/query-stake-snapshot-multiple-pools (cardano-node)
23:55:09 [11eaa550] deploy: ce3daec4d3bcedf121c9d21bbc41819a24b6cbe4 (cardano-node)