Skip to content

Commit

Permalink
contracts: use [workspace.dependencies] for snforge_std to remove…
Browse files Browse the repository at this point in the history
… duplicated version in each packages.
  • Loading branch information
ptisserand committed Jul 29, 2024
1 parent 36da466 commit 848eaac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions contracts/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[workspace]

members = ["ark_common", "ark_orderbook", "ark_starknet", "ark_tokens", "solis"]

[workspace.dependencies]
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.18.0" }
2 changes: 1 addition & 1 deletion contracts/ark_common/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "0.1.0"
starknet = "2.5.4"

[dev-dependencies]
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.18.0" }
snforge_std.workspace = true

[lib]

Expand Down
2 changes: 1 addition & 1 deletion contracts/ark_orderbook/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ark_common = { path = "../ark_common" }
starknet = "2.5.4"

[dev-dependencies]
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.18.0" }
snforge_std.workspace = true

[[target.starknet-contract]]
sierra = true
Expand Down
2 changes: 1 addition & 1 deletion contracts/ark_starknet/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ark_tokens = { path = "../ark_tokens" }
ark_oz = { path = "../ark_oz" }

[dev-dependencies]
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.18.0" }
snforge_std.workspace = true

[[target.starknet-contract]]
sierra = true
Expand Down
2 changes: 1 addition & 1 deletion contracts/ark_tokens/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", ta
ark_oz = { path = "../ark_oz" }

[dev-dependencies]
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.18.0" }
snforge_std.workspace = true

[lib]

Expand Down

0 comments on commit 848eaac

Please sign in to comment.