Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Update: Regenerate code with the latest specification file (8f8a9ef2) #661

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@ public String clearStateProgramHash() {
@JsonProperty("clear-state-program-trace")
public List<SimulationOpcodeTraceUnit> clearStateProgramTrace = new ArrayList<SimulationOpcodeTraceUnit>();

/**
* 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.
Expand Down Expand Up @@ -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;
Expand Down
Loading