[package] name = "nym-performance-contract" version = "0.1.0" authors.workspace = true edition.workspace = true license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true publish = false [[bin]] name = "schema" required-features = ["schema-gen"] [lib] name = "nym_performance_contract" crate-type = ["cdylib", "rlib"] [dependencies] cosmwasm-std = { workspace = true } cw2 = { workspace = true } cw-storage-plus = { workspace = true } cw-controllers = { workspace = true } serde = { workspace = true } cosmwasm-schema = { workspace = true, optional = true } nym-contracts-common = { workspace = true } nym-performance-contract-common = { workspace = true } nym-mixnet-contract-common = { workspace = true } [dev-dependencies] anyhow = { workspace = true } nym-contracts-common-testing = { workspace = true } nym-mixnet-contract = { workspace = true, features = ["testable-mixnet-contract"] } nym-crypto = { workspace = true, features = ["asymmetric", "rand"] } # Needed only by the test harness: the embedded mixnet contract dispatches an # `OnNymNodeUnbond` WasmMsg on `try_remove_nym_node` and the target must be a # real contract. We instantiate the families contract alongside so the call # lands somewhere that knows how to handle it. node-families = { workspace = true, features = ["testable-node-families-contract"] } nym-node-families-contract-common = { workspace = true } [features] schema-gen = ["nym-performance-contract-common/schema", "cosmwasm-schema"] [lints] workspace = true