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,