Skip to content

Commit

Permalink
remove members account and governance/declare them from scarbs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fleming committed Aug 14, 2024
1 parent 4c9ba77 commit 17ea534
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
9 changes: 4 additions & 5 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,21 @@ dependencies = [
[[package]]
name = "openzeppelin_account"
version = "0.15.1"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:a8959106a1223b8f47d4142ef636a1b44dcf16f6a7fc9ed1b071a3376d8ec6ee"
dependencies = [
"openzeppelin_introspection",
"openzeppelin_test_common",
"openzeppelin_testing",
"openzeppelin_utils",
"snforge_std",
]

[[package]]
name = "openzeppelin_governance"
version = "0.15.1"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:657045bcac71ce8eb4bf2cf3c69ff8e87f1b594d60cbaa1d0d5e581f47feb216"
dependencies = [
"openzeppelin_access",
"openzeppelin_introspection",
"openzeppelin_testing",
"snforge_std",
]

[[package]]
Expand Down
6 changes: 2 additions & 4 deletions Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[workspace]
members = [
"packages/account",
"packages/governance",
"packages/presets",
"packages/security",
"packages/token",
Expand Down Expand Up @@ -41,8 +39,8 @@ snforge_std = "0.26.0"
[dependencies]
starknet.workspace = true
openzeppelin_access = "0.15.1"
openzeppelin_account = { path = "packages/account" }
openzeppelin_governance = { path = "packages/governance" }
openzeppelin_account = "0.15.1"
openzeppelin_governance = "0.15.1"
openzeppelin_presets = { path = "packages/presets" }
openzeppelin_security = { path = "packages/security" }
openzeppelin_token = { path = "packages/token" }
Expand Down
2 changes: 1 addition & 1 deletion packages/presets/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fmt.workspace = true
[dependencies]
starknet.workspace = true
openzeppelin_access = "0.15.1"
openzeppelin_account = { path = "../account" }
openzeppelin_account = "0.15.1"
openzeppelin_introspection = "0.15.1"
openzeppelin_token = { path = "../token" }
openzeppelin_upgrades = { path = "../upgrades" }
Expand Down
2 changes: 1 addition & 1 deletion packages/test_common/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ starknet.workspace = true
snforge_std.workspace = true
openzeppelin_upgrades = { path = "../upgrades" }
openzeppelin_access = "0.15.1"
openzeppelin_account = { path = "../account" }
openzeppelin_account = "0.15.1"
openzeppelin_token = { path = "../token" }
openzeppelin_testing = { path = "../testing" }
openzeppelin_utils = "0.15.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/token/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ fmt.workspace = true

[dependencies]
starknet.workspace = true
openzeppelin_account = { path = "../account" }
openzeppelin_account = "0.15.1"
openzeppelin_introspection = "0.15.1"
openzeppelin_governance = { path = "../governance" }
openzeppelin_governance = "0.15.1"

[dev-dependencies]
snforge_std.workspace = true
Expand Down

0 comments on commit 17ea534

Please sign in to comment.