From ad155ff62c07f282e45125ddc0b4649c601194d7 Mon Sep 17 00:00:00 2001 From: Satya Date: Thu, 29 Aug 2024 13:53:32 +0800 Subject: [PATCH 1/3] Conway era changes --- .../java/com/bloxbean/cardano/yaci/helper/BaseTest.java | 2 +- .../cardano/yaci/helper/LocalTxSubmissionClientIT.java | 7 +------ .../bloxbean/cardano/yaci/helper/TxSubmissionClientIT.java | 7 +------ 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/BaseTest.java b/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/BaseTest.java index 4620370f..01897161 100644 --- a/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/BaseTest.java +++ b/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/BaseTest.java @@ -9,5 +9,5 @@ public class BaseTest { protected long protocolMagic = Constants.PREPROD_PROTOCOL_MAGIC; protected Point knownPoint = new Point(13003663, "b896e43a25de269cfc47be7afbcbf00cad41a5011725c2732393f1b4508cf41d"); - protected String nodeSocketFile = "/Users/satya/work/cardano-node/preprod-8.1.2/db/node.socket"; + protected String nodeSocketFile = "/Users/satya/work/cardano-node/preprod-9.1.0/db/node.socket"; } diff --git a/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/LocalTxSubmissionClientIT.java b/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/LocalTxSubmissionClientIT.java index 2c79fcab..0e5c1496 100644 --- a/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/LocalTxSubmissionClientIT.java +++ b/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/LocalTxSubmissionClientIT.java @@ -83,12 +83,7 @@ void submitTx_validTx() { String senderAddr = "addr_test1qp8mg8c5950hhrj3mkfr9ggseae2aj24ya2rndegwzuuyr202959apwtpv7sp0t6vfjnzyr0232uent4urdx7snr23yqa533ha"; String mnemonic = "wrist approve ethics forest knife treat noise great three simple prize happy toe dynamic number hunt trigger install wrong change decorate vendor glow erosion"; - Era era = null; - if (protocolMagic == Constants.SANCHONET_PROTOCOL_MAGIC) { - era = Era.Conway; - } else { - era = Era.Babbage; - } + Era era = Era.Conway; Mono mono = localClientProvider.getLocalStateQueryClient() .executeQuery(new UtxoByAddressQuery(era, new Address(senderAddr))); diff --git a/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/TxSubmissionClientIT.java b/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/TxSubmissionClientIT.java index c99f1da2..76c2c6fe 100644 --- a/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/TxSubmissionClientIT.java +++ b/helper/src/integrationTest/java/com/bloxbean/cardano/yaci/helper/TxSubmissionClientIT.java @@ -140,12 +140,7 @@ private Transaction getTestTransaction() { String senderAddr = "addr_test1qp8mg8c5950hhrj3mkfr9ggseae2aj24ya2rndegwzuuyr202959apwtpv7sp0t6vfjnzyr0232uent4urdx7snr23yqa533ha"; String mnemonic = "wrist approve ethics forest knife treat noise great three simple prize happy toe dynamic number hunt trigger install wrong change decorate vendor glow erosion"; - Era era = null; - if (protocolMagic == Constants.SANCHONET_PROTOCOL_MAGIC) { - era = Era.Conway; - } else { - era = Era.Babbage; - } + Era era = Era.Conway; Mono mono = localClientProvider.getLocalStateQueryClient() .executeQuery(new UtxoByAddressQuery(era, new Address(senderAddr))); From ee90a02e2c1bf6bae686d0a7349b979ca6cbaf26 Mon Sep 17 00:00:00 2001 From: Satya Date: Thu, 29 Aug 2024 13:54:17 +0800 Subject: [PATCH 2/3] Bump version for release --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index b56d19af..08fdd243 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ group = com.bloxbean.cardano artifactId = yaci -version = 0.3.0-beta15-SNAPSHOT +version = 0.3.0 From 8ecbb19a4618cde07296016c9fccc810c1006826 Mon Sep 17 00:00:00 2001 From: Satya Date: Thu, 29 Aug 2024 13:58:21 +0800 Subject: [PATCH 3/3] Change version back to beta --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 08fdd243..5f009324 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ group = com.bloxbean.cardano artifactId = yaci -version = 0.3.0 +version = 0.3.0-beta15