Closed tzaffi closed 1 year ago
go-algorand
As of go-algorand PR #3957 the dry run response transaction top-level-field cost is being deprecated. There is one usage of this field in non-deprecated graviton code.
The good news is that new better fields BudgetConsumed and BudgetAdded are being introduced in the same PR and that the cost can be calculated as
BudgetConsumed
BudgetAdded
net cost = BudgetConsumed - BudgetAdded
cost
net cost
Closing - https://github.com/algorand/graviton/releases/tag/v0.5.0 exists and https://github.com/algorand/pyteal/pull/607 uses the functionality to implement OpUp tests.
Cost is Deprecated in
go-algorand
's Dry RunAs of go-algorand PR #3957 the dry run response transaction top-level-field cost is being deprecated. There is one usage of this field in non-deprecated graviton code.
The good news is that new better fields
BudgetConsumed
andBudgetAdded
are being introduced in the same PR and that the cost can be calculated asAction items
cost
with thenet cost
formula above and stops referencing the originalcost
fieldBudgetConsumed
andBudgetAdded
in the same way thatcost
is