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

Enable Running Blackbox Testing using the Offline Version of Dryrun #6

Closed
Tracked by #1
tzaffi opened this issue Mar 26, 2022 · 1 comment
Closed
Tracked by #1
Labels
enhancement New feature or request Team Scytale

Comments

@tzaffi
Copy link
Contributor

tzaffi commented Mar 26, 2022

The goal clerk dryrun command (in opposition to the goal clerk dryrun-remote) is in theory capable of running dry runs without an actual node running. If we use this functionality, we could potentially save on most of the startup times of the C.I. in this repo (and pyteal as well). In theory, this would work as follows:

  1. add offline option to executions: e.g. DryRunExecutor.execute_one_dryrun(offline=True, ...)
  2. this delegates to an os-level process goal clerk dryrun ...
  3. the response should come back as a JSON
  4. the response's transactions are then consumed as usual by blackbox.DryRunInspctor
  5. inspections and assertions proceed as in the current approach
@tzaffi tzaffi added enhancement New feature or request scytale labels Mar 26, 2022
@tzaffi tzaffi changed the title Enable Running Blackbox Testing by the Offline Version of Dryrun Enable Running Blackbox Testing using the Offline Version of Dryrun Mar 26, 2022
@tzaffi
Copy link
Contributor Author

tzaffi commented May 8, 2022

Closing as there isn't a clear path forward and #14 provides an alternate approach that may not be as performant as the approach suggested here, but cannot be too far behind given its 20 second bootstrap time.

@tzaffi tzaffi closed this as completed May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Team Scytale
Projects
None yet
Development

No branches or pull requests

2 participants