Skip to content

Commit

Permalink
Refactor DryRunExecutor (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaffi authored Jan 17, 2023
1 parent 4486987 commit 1291adb
Show file tree
Hide file tree
Showing 13 changed files with 8,964 additions and 8,692 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,31 @@
<!-- markdownlint-disable MD024 -->
# Changelog


## `v0.8.0` (_aka_ 🦛)

### Breaking changes

In [#48](https://github.com/algorand/graviton/pull/48), the following classes were pulled out of `graviton/blackbox.py` and into a new file `graviton/inspector.py`
* `TealVal`
* `DryRunResults` (renamed from `BlackboxResults`)
* `DryRunInspector`

In [#44](https://github.com/algorand/graviton/pull/44):
* `DryRunExecutor` has been refactored. All the class methods `dryrun_*` have been removed in favor of the instance methods `run_one()` and `run_sequence()`. In particular, it is now required to instantiate a `DryRunExecutor` object before calling a dry run executing method.
* `DryRunInspector` no longer accepts `args` as a second parameter and uses `self.args` instead.
* Migration path to the above: it is recommended that calls be re-written to use the new API. If you find that this causes too much friction, please open an issue.
### Added
* Adding `budget_added` and `budget_consumed` to `DryRunInspector.csv_row()`

### Addressed
* [#45](https://github.com/algorand/graviton/pull/45): addresses [#38](https://github.com/algorand/graviton/issues/38) and [#40](https://github.com/algorand/graviton/issues/40)
* [#48](https://github.com/algorand/graviton/pull/48): addresses [#14](https://github.com/algorand/graviton/issues/14) and [#29](https://github.com/algorand/graviton/issues/29)

## `v0.7.1`

### Breaking changes

* Upgrade to `py-algorand-sdk` v2 ([#46](https://github.com/algorand/graviton/pull/46))

## `v0.7.0` (_aka_ 🦒)
Expand Down
Loading

0 comments on commit 1291adb

Please sign in to comment.