@@ -22,7 +22,20 @@ public class DryrunTxnResult extends PathResponse {
22
22
public List <DryrunState > appCallTrace = new ArrayList <DryrunState >();
23
23
24
24
/**
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.
26
39
*/
27
40
@ JsonProperty ("cost" )
28
41
public Long cost ;
@@ -81,6 +94,8 @@ public boolean equals(Object o) {
81
94
DryrunTxnResult other = (DryrunTxnResult ) o ;
82
95
if (!Objects .deepEquals (this .appCallMessages , other .appCallMessages )) return false ;
83
96
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 ;
84
99
if (!Objects .deepEquals (this .cost , other .cost )) return false ;
85
100
if (!Objects .deepEquals (this .disassembly , other .disassembly )) return false ;
86
101
if (!Objects .deepEquals (this .globalDelta , other .globalDelta )) return false ;
0 commit comments