From a1a163fb60b901fc2af0411f7383574e5a150c33 Mon Sep 17 00:00:00 2001 From: Satya Date: Sat, 17 Oct 2026 12:06:29 +0800 Subject: [PATCH] CLI: keep transaction CBOR in Yaci Store Enables store.transaction.save-cbor so /txs/{hash}/cbor works on devnets. The viewer needs the raw transaction to replay and debug script executions exactly. Co-Authored-By: Claude Opus 5.5 --- .../yacicli/localcluster/yacistore/YaciStoreConfigBuilder.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/yacistore/YaciStoreConfigBuilder.java b/applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/yacistore/YaciStoreConfigBuilder.java index f9bb3894..7fc67877 100644 --- a/applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/yacistore/YaciStoreConfigBuilder.java +++ b/applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/yacistore/YaciStoreConfigBuilder.java @@ -79,6 +79,9 @@ public boolean build(ClusterInfo clusterInfo, String txEvaluatorMode) { storeProperties.put("store.live.enabled", "true"); + // Keep raw tx CBOR so tools (e.g. the viewer) can replay and debug script executions exactly + storeProperties.put("store.transaction.save-cbor", "true"); + if (yanoOnly) { // Explicitly disable N2C-based local epoch endpoint — no Haskell node socket in yano-only mode. // The n2c profile (baked into Yaci Store binary) sets this to true by default,