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

Chore/cw orchestrator #10

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions contracts/attestation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -39,5 +40,6 @@ cosmwasm-std = "1"
cw-storage-plus = "1.0.1"
cw2 = "1.0.1"
attestation-api = { path = "../../packages/attestation-api" }
cw-orch = {version = "0.18.1", optional = true }

[dev-dependencies]
3 changes: 3 additions & 0 deletions contracts/denom-staking-membership/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -40,6 +41,8 @@ cosmwasm-std = "1"
cw2 = "1.0.1"
denom-staking-api = { path = "../../packages/denom-staking-api" }
denom-staking-impl = { path = "../../packages/denom-staking-impl" }
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
cosmwasm-schema = "1.1.9"
4 changes: 3 additions & 1 deletion contracts/enterprise-facade-v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand Down Expand Up @@ -53,4 +54,5 @@ multisig-membership-api = { path = "../../packages/multisig-membership-api" }
poll-engine-api = { path = "../../packages/poll-engine-api" }
poll-engine = { path = "../../packages/poll-engine" }
serde_with = { version = "2" }
serde-json-wasm = "0.5.0"
serde-json-wasm = "0.5.0"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 3 additions & 1 deletion contracts/enterprise-facade-v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand Down Expand Up @@ -54,4 +55,5 @@ enterprise-facade-common = { path = "../../packages/enterprise-facade-common" }
enterprise-protocol = { path = "../../packages/enterprise-protocol" }
enterprise-versioning-api = { path = "../../packages/enterprise-versioning-api" }
multisig-membership-api = { path = "../../packages/multisig-membership-api" }
serde-json-wasm = "0.5.0"
serde-json-wasm = "0.5.0"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 3 additions & 1 deletion contracts/enterprise-facade/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand Down Expand Up @@ -53,4 +54,5 @@ enterprise-governance-controller-api = { path = "../../packages/enterprise-gover
enterprise-versioning-api = { path = "../../packages/enterprise-versioning-api" }
membership-common-api = { path = "../../packages/membership-common-api" }
multisig-membership-api = { path = "../../packages/multisig-membership-api" }
serde-json-wasm = "0.5.0"
serde-json-wasm = "0.5.0"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 4 additions & 0 deletions contracts/enterprise-factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand Down Expand Up @@ -60,7 +61,10 @@ multisig-membership-api = { path = "../../packages/multisig-membership-api" }
membership-common-api = { path = "../../packages/membership-common-api" }
nft-staking-api = { path = "../../packages/nft-staking-api" }
itertools = "0.10"
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
anyhow = "1"
cw-multi-test = "0.16.2"

3 changes: 3 additions & 0 deletions contracts/enterprise-governance-controller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand Down Expand Up @@ -59,6 +60,8 @@ nft-staking-api = { path = "../../packages/nft-staking-api" }
multisig-membership-api = { path = "../../packages/multisig-membership-api" }
poll-engine-api = { path = "../../packages/poll-engine-api" }
serde-json-wasm = "0.5.0"
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
anyhow = "1"
Expand Down
3 changes: 3 additions & 0 deletions contracts/enterprise-governance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -40,6 +41,8 @@ cw2 = "1.0.1"
enterprise-governance-api = { path = "../../packages/enterprise-governance-api" }
poll-engine-api = { path = "../../packages/poll-engine-api" }
poll-engine = { path = "../../packages/poll-engine" }
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
cosmwasm-schema = "1.1.9"
3 changes: 3 additions & 0 deletions contracts/enterprise-outposts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -47,6 +48,8 @@ enterprise-protocol = { path = "../../packages/enterprise-protocol" }
prost = "0.11.9"
serde-json-wasm = "0.5.0"
sha2 = "0.10.8"
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
anyhow = "1"
Expand Down
3 changes: 3 additions & 0 deletions contracts/enterprise-treasury/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand Down Expand Up @@ -56,6 +57,8 @@ token-staking-api = { path = "../../packages/token-staking-api" }
multisig-membership-api = { path = "../../packages/multisig-membership-api" }
membership-common-api = { path = "../../packages/membership-common-api" }
serde-json-wasm = "0.5.0"
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
cosmwasm-schema = "1.1.9"
3 changes: 3 additions & 0 deletions contracts/enterprise-versioning/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -38,6 +39,8 @@ cosmwasm-std = "1"
cw-storage-plus = "1.0.1"
cw2 = "1.0.1"
enterprise-versioning-api = { path = "../../packages/enterprise-versioning-api" }
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
cosmwasm-schema = "1.1.9"
3 changes: 3 additions & 0 deletions contracts/enterprise/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -44,3 +45,5 @@ enterprise-factory-api = { path = "../../packages/enterprise-factory-api" }
enterprise-protocol = { path = "../../packages/enterprise-protocol" }
enterprise-versioning-api = { path = "../../packages/enterprise-versioning-api" }
serde-json-wasm = "0.5.0"
cw-orch = {version = "0.18.1", optional = true }

3 changes: 3 additions & 0 deletions contracts/funds-distributor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -44,3 +45,5 @@ itertools = "0.10.5"
enterprise-protocol = { path = "../../packages/enterprise-protocol" }
funds-distributor-api = { path = "../../packages/funds-distributor-api" }
enterprise-treasury-api = { path = "../../packages/enterprise-treasury-api" }
cw-orch = {version = "0.18.1", optional = true }

3 changes: 3 additions & 0 deletions contracts/multisig-membership/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -40,6 +41,8 @@ cosmwasm-std = "1"
cw2 = "1.0.1"
multisig-membership-api = { path = "../../packages/multisig-membership-api" }
multisig-membership-impl = { path = "../../packages/multisig-membership-impl" }
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
cosmwasm-schema = "1.1.9"
3 changes: 3 additions & 0 deletions contracts/nft-staking-membership/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -40,6 +41,8 @@ cosmwasm-std = "1"
cw2 = "1.0.1"
nft-staking-api = { path = "../../packages/nft-staking-api" }
nft-staking-impl = { path = "../../packages/nft-staking-impl" }
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
cosmwasm-schema = "1.1.9"
3 changes: 3 additions & 0 deletions contracts/token-staking-membership/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default = ["contract"]
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]

[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
Expand All @@ -40,6 +41,8 @@ cosmwasm-std = "1"
cw2 = "1.0.1"
token-staking-api = { path = "../../packages/token-staking-api" }
token-staking-impl = { path = "../../packages/token-staking-impl" }
cw-orch = {version = "0.18.1", optional = true }


[dev-dependencies]
cosmwasm-schema = "1.1.9"
4 changes: 4 additions & 0 deletions packages/attestation-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ version = "1.0.0"
authors = ["Terra Money <[email protected]>"]
edition = "2021"

[features]
interface = ["dep:cw-orch"]

[lib]
path = "src/lib.rs"

Expand All @@ -12,3 +15,4 @@ common = { path = "../common" }
cosmwasm-std = "1"
cosmwasm-schema = "1.1"
thiserror = "1"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 4 additions & 0 deletions packages/common-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ edition = "2021"
[lib]
proc-macro = true

[features]
interface = ["dep:cw-orch"]

[dependencies]
quote = "1"
syn = "1"
thiserror = "1"
cw-orch = {version = "0.18.1", optional = true }
2 changes: 2 additions & 0 deletions packages/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ edition = "2021"
[features]
# for more explicit tests, cargo test --features=backtraces
backtraces = ["cosmwasm-std/backtraces"]
interface = ["dep:cw-orch"]

[dependencies]
cosmwasm-std = "1"
Expand All @@ -18,3 +19,4 @@ serde = { version = "1", default-features = false, features = ["derive"] }
serde-json-wasm = "0.5.0"
serde_with = { version = "2", features = ["json", "macros"] }
thiserror = "1"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 4 additions & 0 deletions packages/denom-staking-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ edition = "2021"
[lib]
path = "src/lib.rs"

[features]
interface = ["dep:cw-orch"]

[dependencies]
common = { path = "../common" }
membership-common-api = { path = "../membership-common-api" }
cosmwasm-std = "1"
cosmwasm-schema = "1.1"
cw-utils = "1.0.1"
thiserror = "1"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 4 additions & 0 deletions packages/denom-staking-impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ edition = "2021"
[lib]
path = "src/lib.rs"

[features]
interface = ["dep:cw-orch"]

[dependencies]
common = { path = "../common" }
membership-common-api = { path = "../membership-common-api" }
Expand All @@ -18,3 +21,4 @@ cw-utils = "1.0.1"
denom-staking-api = { path = "../denom-staking-api" }
itertools = "0.10.5"
thiserror = "1"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 4 additions & 0 deletions packages/enterprise-facade-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ edition = "2021"
[lib]
path = "src/lib.rs"

[features]
interface = ["dep:cw-orch"]

[dependencies]
common = { path = "../common" }
cosmwasm-std = "1"
Expand All @@ -24,3 +27,4 @@ serde_with = { version = "2", features = ["json", "macros"] }
serde-json-wasm = "0.5.0"
strum_macros = "0.24"
thiserror = "1"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 4 additions & 0 deletions packages/enterprise-facade-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ edition = "2021"
[lib]
path = "src/lib.rs"

[features]
interface = ["dep:cw-orch"]

[dependencies]
common = { path = "../common" }
cw20 = "1.0.1"
Expand All @@ -23,3 +26,4 @@ enterprise-protocol = { path = "../../packages/enterprise-protocol" }
serde_with = { version = "2", features = ["json", "macros"] }
strum_macros = "0.24"
thiserror = "1"
cw-orch = {version = "0.18.1", optional = true }
4 changes: 4 additions & 0 deletions packages/enterprise-factory-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ edition = "2021"
[lib]
path = "src/lib.rs"

[features]
interface = ["dep:cw-orch"]

[dependencies]
common = { path = "../common" }
cosmwasm-std = "1"
Expand All @@ -28,6 +31,7 @@ enterprise-governance-controller-api = { path = "../enterprise-governance-contro
enterprise-protocol = { path = "../enterprise-protocol" }
enterprise-treasury-api = { path = "../enterprise-treasury-api" }
multisig-membership-api = { path = "../multisig-membership-api" }
cw-orch = {version = "0.18.1", optional = true }

[dev-dependencies]
cosmwasm-schema = "1"
Expand Down
Loading
Loading