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

Generate updated client API code #318

Merged
merged 7 commits into from
Jun 2, 2022
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 @@ -22,7 +22,20 @@ public class DryrunTxnResult extends PathResponse {
public List<DryrunState> appCallTrace = new ArrayList<DryrunState>();

/**
* Execution cost of app call transaction
* Budget added during execution of app call transaction.
*/
@JsonProperty("budget-added")
public Long budgetAdded;

/**
* Budget consumed during execution of app call transaction.
*/
@JsonProperty("budget-consumed")
public Long budgetConsumed;

/**
* Net cost of app execution. Field is DEPRECATED and is subject for removal.
* Instead, use `budget-added` and `budget-consumed.
*/
@JsonProperty("cost")
public Long cost;
Expand Down Expand Up @@ -81,6 +94,8 @@ public boolean equals(Object o) {
DryrunTxnResult other = (DryrunTxnResult) o;
if (!Objects.deepEquals(this.appCallMessages, other.appCallMessages)) return false;
if (!Objects.deepEquals(this.appCallTrace, other.appCallTrace)) return false;
if (!Objects.deepEquals(this.budgetAdded, other.budgetAdded)) return false;
if (!Objects.deepEquals(this.budgetConsumed, other.budgetConsumed)) return false;
if (!Objects.deepEquals(this.cost, other.cost)) return false;
if (!Objects.deepEquals(this.disassembly, other.disassembly)) return false;
if (!Objects.deepEquals(this.globalDelta, other.globalDelta)) return false;
Expand Down