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

Clean implementation #2882

Merged
merged 29 commits into from
Feb 4, 2025
Merged

Conversation

Nemezjusz
Copy link
Contributor

Resolves #2723
adding clean.rs and modifying lib.rs

crates/forge/src/lib.rs Outdated Show resolved Hide resolved
crates/forge/src/lib.rs Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Show resolved Hide resolved
crates/forge/src/clean.rs Outdated Show resolved Hide resolved
@Nemezjusz Nemezjusz marked this pull request as ready for review January 30, 2025 13:14
crates/forge/src/lib.rs Show resolved Hide resolved
crates/forge/src/lib.rs Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Show resolved Hide resolved
ksew1 and others added 12 commits February 2, 2025 15:47
<!-- Reference any GitHub issues resolved by this PR -->


## Introduced changes

There was an issue where, when validating `Scarb.toml` and calling
`.to_string()`, comments were included in the resulting string, causing
validation to fail. This PR resolves the issue.

## Checklist

<!-- Make sure all of these are complete -->

- [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`

---------

Co-authored-by: Franciszek Job <[email protected]>
<!-- Reference any GitHub issues resolved by this PR -->
I am happy to announce the first pr from our mailing list! 🔥🔥
Thanks Peter for your contribution

## Introduced changes

<!-- A brief description of the changes -->

-

## Checklist

<!-- Make sure all of these are complete -->

- [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`
<!-- Reference any GitHub issues resolved by this PR -->

Closes foundry-rs#2708 

## Introduced changes

<!-- A brief description of the changes -->

- Added default RPC providers to `sncast` under `--network` flag
- Breaking: renamed `--network` flag to `--network-name` in `sncast
account delete` and `sncast account import` due to conflict with the
added flag

## Checklist

<!-- Make sure all of these are complete -->

- [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`

---------

Co-authored-by: Franciszek Job <[email protected]>
Co-authored-by: kkawula <[email protected]>
… omitted (foundry-rs#2888)

<!-- Reference any GitHub issues resolved by this PR -->

Closes #

## Introduced changes

<!-- A brief description of the changes -->

This came up from foundry-rs#2865 

Conversion from `ScriptFeeSettings` to `FeeSettings` resulted in value
for `max_fee` being dropped completely. This conversion was only in cast
script "deploy" function.

If deploy was used with Strk token, any value passed to `max_fee` was
completely ignored.

Removed the conversion entirely and used correct structure in deploy.

## Checklist

<!-- Make sure all of these are complete -->

- [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`
<!-- Reference any GitHub issues resolved by this PR -->

Closes foundry-rs#2851

## Introduced changes

<!-- A brief description of the changes -->

- Added implementation for resolving environmental variables with curly
braces

## Checklist

<!-- Make sure all of these are complete -->

- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [ ] Added changes to `CHANGELOG.md`

---------

Co-authored-by: ddoktorski <[email protected]>
Co-authored-by: Franciszek Job <[email protected]>
…-rs#2869)

<!-- Reference any GitHub issues resolved by this PR -->

Closes foundry-rs#2853 

## Introduced changes

<!-- A brief description of the changes -->

- Updated error to suggest using “--max-n-steps” in case of cairo_vm
error

## Checklist

<!-- Make sure all of these are complete -->

- [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`

---------

Co-authored-by: kkawula <[email protected]>
Co-authored-by: ddoktorski <[email protected]>
Co-authored-by: Artur Michałek <[email protected]>
<!-- Reference any GitHub issues resolved by this PR -->

Closes #

## Introduced changes

<!-- A brief description of the changes -->

-

## Checklist

<!-- Make sure all of these are complete -->

- [ ] Linked relevant issue
- [ ] Updated relevant documentation
- [ ] Added relevant tests
- [ ] Performed self-review of the code
- [ ] Added changes to `CHANGELOG.md`
<!-- Reference any GitHub issues resolved by this PR -->

Closes foundry-rs#2816
Settings reference:
https://github.com/actions/stale?tab=readme-ov-file#all-options
## Introduced changes

<!-- A brief description of the changes -->

-

## Checklist

<!-- Make sure all of these are complete -->

- [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`

---------

Co-authored-by: Artur Michałek <[email protected]>
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
crates/forge/src/lib.rs Outdated Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Outdated Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Outdated Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Outdated Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Outdated Show resolved Hide resolved
@franciszekjob
Copy link
Collaborator

franciszekjob commented Feb 3, 2025

@Nemezjusz Also, docs for clean command need to be added.

crates/forge/src/lib.rs Outdated Show resolved Hide resolved
crates/forge/src/lib.rs Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Outdated Show resolved Hide resolved
crates/forge/tests/e2e/clean.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@ksew1 ksew1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigma

CHANGELOG.md Outdated Show resolved Hide resolved
crates/forge/src/lib.rs Show resolved Hide resolved
Copy link
Collaborator

@franciszekjob franciszekjob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update changelog after our latest release and we will be good to go 🙏

Copy link
Collaborator

@franciszekjob franciszekjob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a conflict with changelog 😅 Once you resolve it and apply the nit, we should be good to merge.

CHANGELOG.md Outdated Show resolved Hide resolved
@ksew1 ksew1 added this pull request to the merge queue Feb 4, 2025
Merged via the queue into foundry-rs:master with commit 21afb8b Feb 4, 2025
38 checks passed
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.

add a subcommand to clean all artifacts created by snfoundry
8 participants