From 7cb55cb1531d7195bb5e786c39f48ffff2dd5d3b Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 18 Oct 2024 11:16:59 -0400 Subject: [PATCH 1/3] Zero the times generated in `create-slug.sh` --- scripts/create-slug.sh | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/scripts/create-slug.sh b/scripts/create-slug.sh index 27383d8448..77b2b870f6 100755 --- a/scripts/create-slug.sh +++ b/scripts/create-slug.sh @@ -4,13 +4,21 @@ set -euo pipefail # Author's name AUTHOR=$1 -# Date in the format YYYY-MM-DD -DATE=$2 -# Date in the format YYYY-MM-DD -END_DATE=$3 +if [[ "$(uname -s)" == "Darwin" ]]; then + date_cmd=gdate +else + date_cmd=date +fi + +# Date in the format YYYY-MM-DD:00:00:00Z +DATE_ZEROED="$("$date_cmd" -u -d "$2" +"%Y-%m-%dT%H:%M:%SZ")" + +# Date in the format YYYY-MM-DD:00:00:00Z +END_DATE_ZEROED="$("$date_cmd" -u -d "$3" +"%Y-%m-%dT%H:%M:%SZ")" +END_DATE_WITHOUT_TIME=$3 # Check that both parameters are provided -if [ -z "$DATE" ] || [ -z "$AUTHOR" ]; then +if [ -z "$DATE_ZEROED" ] || [ -z "$AUTHOR" ]; then echo "Usage: $0 date author" echo "date: Date in the format YYYY-MM-DD" echo "author: Author's name" @@ -18,20 +26,20 @@ if [ -z "$DATE" ] || [ -z "$AUTHOR" ]; then fi # Filename in the format YYYY-MM-DD-node-cli-api.md -FILENAME="blog/${END_DATE}-node-cli-api.md" +FILENAME="blog/${END_DATE_WITHOUT_TIME}-node-cli-api.md" # Generate the file with the specified content cat > $FILENAME << EOF --- title: Node API & CLI Team Update -slug: ${END_DATE}-node-cli-api +slug: ${END_DATE_ZEROED}-node-cli-api authors: ${AUTHOR} tags: [cli-api] hide_table_of_contents: false --- # Node-Api-Cli Update -# ${DATE} - ${END_DATE} +# ${DATE_ZEROED} - ${END_DATE_ZEROED} ## High level summary @@ -48,13 +56,13 @@ hide_table_of_contents: false ### CI & project maintenance EOF -source scripts/download-prs.sh https://github.com/IntersectMBO/cardano-node.git $DATE $END_DATE -source scripts/download-prs.sh https://github.com/IntersectMBO/cardano-cli.git $DATE $END_DATE -source scripts/download-prs.sh https://github.com/IntersectMBO/cardano-api.git $DATE $END_DATE +source scripts/download-prs.sh https://github.com/IntersectMBO/cardano-node.git $DATE_ZEROED $END_DATE_ZEROED +source scripts/download-prs.sh https://github.com/IntersectMBO/cardano-cli.git $DATE_ZEROED $END_DATE_ZEROED +source scripts/download-prs.sh https://github.com/IntersectMBO/cardano-api.git $DATE_ZEROED $END_DATE_ZEROED -source scripts/distribute-merged-prs.sh https://github.com/IntersectMBO/cardano-node.git current $DATE $END_DATE -source scripts/distribute-merged-prs.sh https://github.com/IntersectMBO/cardano-cli.git current $DATE $END_DATE -source scripts/distribute-merged-prs.sh https://github.com/IntersectMBO/cardano-api.git current $DATE $END_DATE +source scripts/distribute-merged-prs.sh https://github.com/IntersectMBO/cardano-node.git current $DATE_ZEROED $END_DATE_ZEROED +source scripts/distribute-merged-prs.sh https://github.com/IntersectMBO/cardano-cli.git current $DATE_ZEROED $END_DATE_ZEROED +source scripts/distribute-merged-prs.sh https://github.com/IntersectMBO/cardano-api.git current $DATE_ZEROED $END_DATE_ZEROED source scripts/summarise-merged-prs.sh https://github.com/IntersectMBO/cardano-node.git current source scripts/summarise-merged-prs.sh https://github.com/IntersectMBO/cardano-cli.git current From 57093d2c4e8d1a6daae5ccde4453aa4e55f22887 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 18 Oct 2024 11:51:08 -0400 Subject: [PATCH 2/3] Create 2024-10-02-node-cli-api.md --- blog/2024-10-02-node-cli-api.md | 49 +++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 blog/2024-10-02-node-cli-api.md diff --git a/blog/2024-10-02-node-cli-api.md b/blog/2024-10-02-node-cli-api.md new file mode 100644 index 0000000000..1d9abc7fbb --- /dev/null +++ b/blog/2024-10-02-node-cli-api.md @@ -0,0 +1,49 @@ +--- +title: Node API & CLI Team Update +slug: 2024-10-02-node-cli-api +authors: Jimbo4350 +tags: [cli-api] +hide_table_of_contents: false +--- + +# Node-Api-Cli Update +# 2024-09-18T00:00:00Z - 2024-10-02T00:00:00Z + +## High level summary + +- We continue to remove irrelevant eras from cardano-cli with an aim to simplify the Haskell code and the interface exposed to the user. +- During a working group meeting a user [pointed out](https://github.com/IntersectMBO/cardano-cli/issues/882) the possibility to specify an incorrect anchor data hash. This has been largely rectified in `cardano-cli` but there is some more work to be done particularly in the `transaction build` command. +- We added the possibility to specify supplemental datums and other minor improvements in this sprint. + +### cardano-cli +- [Add a test of create-cardano](https://github.com/IntersectMBO/cardano-cli/pull/907) +- [Add anchor data hash checks to remaining governance action commands](https://github.com/IntersectMBO/cardano-cli/pull/915) +- [Add hash validation and support for HTTP(S) and IPFS to command `hash anchor-data`](https://github.com/IntersectMBO/cardano-cli/pull/895) +- [Add proposal hash check when creating `info` governance action](https://github.com/IntersectMBO/cardano-cli/pull/910) +- [create-testnet-data: take optional node configuration file as input and check/add genesis hashes and paths](https://github.com/IntersectMBO/cardano-cli/pull/908) +- [Remove era|legacy transaction view](https://github.com/IntersectMBO/cardano-cli/pull/868) +- [Remove eras older than Babbage support in `transaction build` and `transaction build-estimate`](https://github.com/IntersectMBO/cardano-cli/pull/878) +- [Remove legacy commands](https://github.com/IntersectMBO/cardano-cli/pull/905) +- [Update create-treasury-withdrawal](https://github.com/IntersectMBO/cardano-cli/pull/914) + + +### cardano-api +- [638-Allow next leadership-schedule at 4k/f](https://github.com/IntersectMBO/cardano-api/pull/639) +- [Add new field 'inlineDatumRaw' to TxOut ToJSON instance](https://github.com/IntersectMBO/cardano-api/pull/632) +- [Introduce supplementary datums](https://github.com/IntersectMBO/cardano-api/pull/640) +- [Make `IsXXXBasedEra` a class hierarchy](https://github.com/IntersectMBO/cardano-api/pull/641) + + +### cardano-node +- [cardano-node 9.2.0 release](https://github.com/IntersectMBO/cardano-node/pull/5944) +- [cardano-tracer: Allow switching EKG service between different nodes.](https://github.com/IntersectMBO/cardano-node/pull/5975) +- [cardano-tracer: OpenMetrics compliance for Prometheus; fix `forHuman` output in journald](https://github.com/IntersectMBO/cardano-node/pull/5997) + + +### cardano-testnet +- [cardano-testnet: Code sharing in Defaults.hs](https://github.com/IntersectMBO/cardano-node/pull/5996) +- [cardano-testnet: rename ShelleyTestnetOptions into GenesisOptions](https://github.com/IntersectMBO/cardano-node/pull/5987) + +### docs + +### CI & project maintenance From be9d5745b48b2386a778b0b7ec355ceea3056d83 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 18 Oct 2024 12:35:56 -0400 Subject: [PATCH 3/3] Create 2024-10-16-node-cli-api.md --- blog/2024-10-16-node-cli-api.md | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 blog/2024-10-16-node-cli-api.md diff --git a/blog/2024-10-16-node-cli-api.md b/blog/2024-10-16-node-cli-api.md new file mode 100644 index 0000000000..700a2a7923 --- /dev/null +++ b/blog/2024-10-16-node-cli-api.md @@ -0,0 +1,53 @@ +--- +title: Node API & CLI Team Update +slug: 2024-10-16-node-cli-api +authors: Jimbo4350 +tags: [cli-api] +hide_table_of_contents: false +--- + +# Node-Api-Cli Update +# 2024-10-02T00:00:00Z - 2024-10-16T00:00:00Z + +## High level summary +- More anchor data hash checks were added to cardano-cli commands. +- Support to create certificates that can register and delegate stake. +- Moved various era agnostic commands to the top level of cardano-cli. +- Added Cardano.Api.Tx.Compatible to cardano-api which allows the creation of simple unbalanced transactions that can submit protocol updates in any era. + +### cardano-cli +- [Add hash checks for `drep registration-certificate` and `drep update-certificate`](https://github.com/IntersectMBO/cardano-cli/pull/916) +- [Add metadata validation, hash checking, and URL support to `stake-pool registration-certificate`, and hash checking and URL support to `stake-pool metadata-hash`](https://github.com/IntersectMBO/cardano-cli/pull/932) +- [Add url support to metadata hash cmd](https://github.com/IntersectMBO/cardano-cli/pull/927) +- [Add support for certificates to register and delegate stake simultaneously](https://github.com/IntersectMBO/cardano-cli/pull/919) +- [Hide free instances of `HashCheckParamInfo` into functions](https://github.com/IntersectMBO/cardano-cli/pull/921) +- [Move address commands to top level](https://github.com/IntersectMBO/cardano-cli/pull/934) +- [Move key commands to top level](https://github.com/IntersectMBO/cardano-cli/pull/931) +- [Move node commands to top level](https://github.com/IntersectMBO/cardano-cli/pull/929) +- [Remove unnecessary era parameters and use ShelleyBasedEra era](https://github.com/IntersectMBO/cardano-cli/pull/935) + + +### cardano-api +- [Add Cardano.Api.Tx.Compatible](https://github.com/IntersectMBO/cardano-api/pull/644) +- [Add voting to simple tx interface](https://github.com/IntersectMBO/cardano-api/pull/648) +- [Export GenesisHashByron](https://github.com/IntersectMBO/cardano-api/pull/652) +- [Expose AnyVote](https://github.com/IntersectMBO/cardano-api/pull/649) +- [Expose functions and types from `cardano-ledger-alonzo` and `cardano-ledger-byron` required by cardano-cli](https://github.com/IntersectMBO/cardano-api/pull/647) +- [Handle plutus related ledger events in Conway](https://github.com/IntersectMBO/cardano-api/pull/650) +- [Make `Some` accept forall k. instead of Type kind](https://github.com/IntersectMBO/cardano-api/pull/651) +- [Release 9.4.0.0](https://github.com/IntersectMBO/cardano-api/pull/653) + + +### cardano-node +- [cardano-tracer: Fix multiple empty logs being produced.](https://github.com/IntersectMBO/cardano-node/pull/6002) + +### cardano-testnet +- [cardano-testnet | configurable SPO and relays count, enable parallel execution of the test suite](https://github.com/IntersectMBO/cardano-node/pull/6007) +- [cardano-testnet | Reenable chairman test](https://github.com/IntersectMBO/cardano-node/pull/5992) +- [cardano-testnet | Remove `NodeRuntime` type](https://github.com/IntersectMBO/cardano-node/pull/6013) +- [cardano-testnet: don't specify delegated supply anymore. Use create-testnet-data default behavior](https://github.com/IntersectMBO/cardano-node/pull/6001) +- [cardano-testnet: remove unused ForkPoint datatype](https://github.com/IntersectMBO/cardano-node/pull/6006) + +### docs + +### CI & project maintenance