Skip to content

Commit 0ed5109

Browse files
authored
Generate updated client API code (#318)
* generate api client code * noop * remove generated files * remove generated api code for teal disassembly * regen * regen
1 parent b1c83d9 commit 0ed5109

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/main/java/com/algorand/algosdk/v2/client/model/DryrunTxnResult.java

+16-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,20 @@ public class DryrunTxnResult extends PathResponse {
2222
public List<DryrunState> appCallTrace = new ArrayList<DryrunState>();
2323

2424
/**
25-
* Execution cost of app call transaction
25+
* Budget added during execution of app call transaction.
26+
*/
27+
@JsonProperty("budget-added")
28+
public Long budgetAdded;
29+
30+
/**
31+
* Budget consumed during execution of app call transaction.
32+
*/
33+
@JsonProperty("budget-consumed")
34+
public Long budgetConsumed;
35+
36+
/**
37+
* Net cost of app execution. Field is DEPRECATED and is subject for removal.
38+
* Instead, use `budget-added` and `budget-consumed.
2639
*/
2740
@JsonProperty("cost")
2841
public Long cost;
@@ -81,6 +94,8 @@ public boolean equals(Object o) {
8194
DryrunTxnResult other = (DryrunTxnResult) o;
8295
if (!Objects.deepEquals(this.appCallMessages, other.appCallMessages)) return false;
8396
if (!Objects.deepEquals(this.appCallTrace, other.appCallTrace)) return false;
97+
if (!Objects.deepEquals(this.budgetAdded, other.budgetAdded)) return false;
98+
if (!Objects.deepEquals(this.budgetConsumed, other.budgetConsumed)) return false;
8499
if (!Objects.deepEquals(this.cost, other.cost)) return false;
85100
if (!Objects.deepEquals(this.disassembly, other.disassembly)) return false;
86101
if (!Objects.deepEquals(this.globalDelta, other.globalDelta)) return false;

0 commit comments

Comments
 (0)