-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Reference any GitHub issues resolved by this PR --> Closes #2599
- Loading branch information
1 parent
ae2bffc
commit 35a3dc1
Showing
8 changed files
with
17 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,25 +54,22 @@ Add the following line under `[dev-dependencies]` section in the `Scarb.toml` fi | |
# ... | ||
|
||
[dev-dependencies] | ||
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.27.0" } | ||
snforge_std = "0.33.0" | ||
``` | ||
|
||
Make sure that the version in `tag` matches `snforge`. You can check the currently installed version with | ||
Make sure that the above version matches the installed `snforge` version. You can check the currently installed version with | ||
|
||
```shell | ||
$ snforge --version | ||
snforge 0.27.0 | ||
snforge 0.33.0 | ||
``` | ||
|
||
It is also possible to add this dependency | ||
using [`scarb add`](https://docs.swmansion.com/scarb/docs/guides/dependencies.html#adding-a-dependency-via-scarb-add) | ||
command. | ||
|
||
```shell | ||
$ scarb add snforge_std \ | ||
--dev \ | ||
--git https://github.com/foundry-rs/starknet-foundry.git \ | ||
--tag v0.27.0 | ||
$ scarb add [email protected] --dev | ||
``` | ||
|
||
Additionally, ensure that starknet-contract target is enabled in the `Scarb.toml` file. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters