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

Add sierra path to contracts data #2030

Merged
merged 4 commits into from
Apr 22, 2024
Merged

Add sierra path to contracts data #2030

merged 4 commits into from
Apr 22, 2024

Conversation

piotmag769
Copy link
Member

Needed for adding paths to sierra code to trace (needed by profiler - more PRs incoming)

Introduced changes

  • add sierra paths to ContractsData
  • refactor load_test_artifacts out of run function (I need the path to test artifacts in the next next PR)

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added relevant tests
  • Performed self-review of the code
  • Added changes to CHANGELOG.md

@piotmag769 piotmag769 requested review from a team as code owners April 16, 2024 15:08
@piotmag769 piotmag769 requested review from Arcticae, Draggu, MaksymilianDemitraszek, DelevoXDG, a team and THenry14 and removed request for a team and DelevoXDG April 16, 2024 15:08
@piotmag769 piotmag769 changed the title add sierra path to contracts data Add sierra path to contracts data Apr 16, 2024
crates/forge/src/scarb.rs Outdated Show resolved Hide resolved
crates/scarb-api/src/lib.rs Outdated Show resolved Hide resolved
@piotmag769
Copy link
Member Author

piotmag769 commented Apr 17, 2024

@MaksymilianDemitraszek pushed by accident to #2032, look there pls (already rebased the third PR on top of these two :/). Mostly renames, so it shouldn't be a problem

@piotmag769 piotmag769 added this pull request to the merge queue Apr 22, 2024
Merged via the queue into master with commit f756a7c Apr 22, 2024
13 checks passed
@piotmag769 piotmag769 deleted the refactor-runner-args branch April 22, 2024 16:21
github-merge-queue bot pushed a commit that referenced this pull request Apr 22, 2024
… to `ContextData` (#2032)

Follow up for #2030, enabling me to pass path to test artifacts to
`forge-runner` in a civilised way (will add business logic needed by
profiler in the next PR)

## Introduced changes

- removed `RunnerParams` and `RunnerConfig`, introduce new structs
`ForgeConfig` and `ContextData` and new substructs, making it more
ordered. Moved relevant code to separate modules
- added `test_artifacts_path` to `ContextData` (this info was not
present before, see description above)

## Checklist

- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [x] Added changes to `CHANGELOG.md`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants