From 82607c845b3464c516aeb778b32f4f447b2987cb Mon Sep 17 00:00:00 2001 From: Algorand Generation Bot Date: Fri, 15 Dec 2023 23:25:55 +0000 Subject: [PATCH] Regenerate code from specification file --- .../model/SimulationTransactionExecTrace.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/main/java/com/algorand/algosdk/v2/client/model/SimulationTransactionExecTrace.java b/src/main/java/com/algorand/algosdk/v2/client/model/SimulationTransactionExecTrace.java index 80fb8633d..0287a927f 100644 --- a/src/main/java/com/algorand/algosdk/v2/client/model/SimulationTransactionExecTrace.java +++ b/src/main/java/com/algorand/algosdk/v2/client/model/SimulationTransactionExecTrace.java @@ -50,6 +50,21 @@ public String clearStateProgramHash() { @JsonProperty("clear-state-program-trace") public List clearStateProgramTrace = new ArrayList(); + /** + * If true, indicates that the clear state program failed and any persistent state + * changes it produced should be reverted once the program exits. + */ + @JsonProperty("clear-state-rollback") + public Boolean clearStateRollback; + + /** + * The error message explaining why the clear state program failed. This field will + * only be populated if clear-state-rollback is true and the failure was due to an + * execution error. + */ + @JsonProperty("clear-state-rollback-error") + public String clearStateRollbackError; + /** * An array of SimulationTransactionExecTrace representing the execution trace of * any inner transactions executed. @@ -86,6 +101,8 @@ public boolean equals(Object o) { if (!Objects.deepEquals(this.approvalProgramTrace, other.approvalProgramTrace)) return false; if (!Objects.deepEquals(this.clearStateProgramHash, other.clearStateProgramHash)) return false; if (!Objects.deepEquals(this.clearStateProgramTrace, other.clearStateProgramTrace)) return false; + if (!Objects.deepEquals(this.clearStateRollback, other.clearStateRollback)) return false; + if (!Objects.deepEquals(this.clearStateRollbackError, other.clearStateRollbackError)) return false; if (!Objects.deepEquals(this.innerTrace, other.innerTrace)) return false; if (!Objects.deepEquals(this.logicSigHash, other.logicSigHash)) return false; if (!Objects.deepEquals(this.logicSigTrace, other.logicSigTrace)) return false;