From e5a4002661a9028c021d7369556a5da4b9ac8cac Mon Sep 17 00:00:00 2001 From: Satya Date: Mon, 9 Sep 2024 18:08:57 +0800 Subject: [PATCH 1/3] Update node and ogmios versions and adjust genesis configuration Updated versions for Cardano node 9.1.1, Ogmios 6.6.1. Adjusted genesis configuration parameters including max block body size, minimum pool cost, and dRep deposit. --- applications/cli/config/download.properties | 4 ++-- applications/cli/docker/download-amd64.sh | 4 ++-- applications/cli/docker/download-arm64.sh | 4 ++-- applications/cli/docker/download-ogmios.sh | 2 +- .../cardano/yacicli/localcluster/config/GenesisConfig.java | 6 +++--- config/version | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/applications/cli/config/download.properties b/applications/cli/config/download.properties index 5ee8b0f..0a5096a 100644 --- a/applications/cli/config/download.properties +++ b/applications/cli/config/download.properties @@ -1,6 +1,6 @@ #Please specify either the version or the full url for the following components -node.version=9.1.0 -ogmios.version=6.6.0 +node.version=9.1.1 +ogmios.version=6.6.1 kupo.version=2.9.0 yaci.store.version=0.1.0-rc5 diff --git a/applications/cli/docker/download-amd64.sh b/applications/cli/docker/download-amd64.sh index 4b00c73..296ee9f 100644 --- a/applications/cli/docker/download-amd64.sh +++ b/applications/cli/docker/download-amd64.sh @@ -1,5 +1,5 @@ -file=cardano-node-9.1.0-linux.tar.gz -wget https://github.com/IntersectMBO/cardano-node/releases/download/9.1.0/cardano-node-9.1.0-linux.tar.gz +file=cardano-node-9.1.1-linux.tar.gz +wget https://github.com/IntersectMBO/cardano-node/releases/download/9.1.1/cardano-node-9.1.1-linux.tar.gz mkdir /app/cardano-bin diff --git a/applications/cli/docker/download-arm64.sh b/applications/cli/docker/download-arm64.sh index ceedfb8..80a94e7 100755 --- a/applications/cli/docker/download-arm64.sh +++ b/applications/cli/docker/download-arm64.sh @@ -1,5 +1,5 @@ -file=cardano-9_1_0-aarch64-static-musl-ghc_966.tar.zst -dir=cardano-9_1_0-aarch64-static-musl-ghc_966 +file=cardano-9_1_1-aarch64-static-musl-ghc_966.tar.zst +dir=cardano-9_1_1-aarch64-static-musl-ghc_966 wget https://github.com/armada-alliance/cardano-node-binaries/raw/main/static-binaries/$file?raw=true -O - | tar -I zstd -xv #unzip $file diff --git a/applications/cli/docker/download-ogmios.sh b/applications/cli/docker/download-ogmios.sh index 5f2906c..2978faa 100644 --- a/applications/cli/docker/download-ogmios.sh +++ b/applications/cli/docker/download-ogmios.sh @@ -15,7 +15,7 @@ case $1 in esac -version=v6.6.0 +version=v6.6.1 file=ogmios-${version}-${SUFFIX}-linux.zip wget https://github.com/CardanoSolutions/ogmios/releases/download/${version}/$file diff --git a/applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/config/GenesisConfig.java b/applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/config/GenesisConfig.java index 00f0952..086e98f 100644 --- a/applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/config/GenesisConfig.java +++ b/applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/config/GenesisConfig.java @@ -33,12 +33,12 @@ public class GenesisConfig { private BigDecimal decentralisationParam = BigDecimal.ZERO; private int eMax =18; private BigInteger keyDeposit = BigInteger.valueOf(2000000); - private long maxBlockBodySize = 65536; + private long maxBlockBodySize = 90112; private long maxBlockHeaderSize = 1100; private long maxTxSize = 16384; private long minFeeA = 44; private long minFeeB = 155381; - private BigInteger minPoolCost = BigInteger.valueOf(340000000); + private BigInteger minPoolCost = BigInteger.valueOf(170000000); private BigInteger minUTxOValue = BigInteger.valueOf(1000000); private int nOpt = 100; private BigInteger poolDeposit = BigInteger.valueOf(500000000); @@ -93,7 +93,7 @@ public class GenesisConfig { private int committeeMaxTermLength = 146; private int govActionLifetime = 6; private BigInteger govActionDeposit = BigInteger.valueOf(1000000000); - private BigInteger dRepDeposit = BigInteger.valueOf(2000000); + private BigInteger dRepDeposit = BigInteger.valueOf(500000000); private int dRepActivity = 20; private BigDecimal minFeeRefScriptCostPerByte = BigDecimal.valueOf(15); diff --git a/config/version b/config/version index fcb175d..96740b3 100644 --- a/config/version +++ b/config/version @@ -1,2 +1,2 @@ -tag=0.9.2-beta +tag=0.9.3-beta-SNAPSHOT revision= From e4ae66a246a3fb04fc177e08ee0fcdd1b59744c6 Mon Sep 17 00:00:00 2001 From: Satya Date: Mon, 9 Sep 2024 18:11:38 +0800 Subject: [PATCH 2/3] Update installation commands to use bash instead of sh --- docs/pages/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pages/index.mdx b/docs/pages/index.mdx index 6c1a4aa..26fcbfd 100644 --- a/docs/pages/index.mdx +++ b/docs/pages/index.mdx @@ -28,13 +28,13 @@ This version improves readability and consistency in terminology. To install latest stable version of Yaci DevKit, run: ```bash -curl --proto '=https' --tlsv1.2 -LsSf https://devkit.yaci.xyz/install.sh | sh +curl --proto '=https' --tlsv1.2 -LsSf https://devkit.yaci.xyz/install.sh | bash ``` To install a specific version of Yaci DevKit, run: ```bash -curl --proto '=https' --tlsv1.2 -LsSf https://devkit.yaci.xyz/install.sh | sh -s -- +curl --proto '=https' --tlsv1.2 -LsSf https://devkit.yaci.xyz/install.sh | bash -s -- ``` **Note:** Replace `` with the desired version number without the `v` prefix. From 2b8e3c8614aa352eb47f8b582a8df8d6d118d2a2 Mon Sep 17 00:00:00 2001 From: Satya Date: Mon, 9 Sep 2024 18:43:38 +0800 Subject: [PATCH 3/3] Bump version for release --- config/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/version b/config/version index 96740b3..7edeaf8 100644 --- a/config/version +++ b/config/version @@ -1,2 +1,2 @@ -tag=0.9.3-beta-SNAPSHOT +tag=0.9.3-beta revision=