6de0c4ce92
* initialised basic structure for the performance contract * shared code for contract testing * unified common testing methods between performance and nym pool contracts * impl of ExecuteMsg for the contract * impl of QueryMsg for the contract * setting initial authorised NMs during instantiation * additional tests and fixes * ibid * scaffolding for client traits * completed client traits * clippy * naive add performance contract to testnet manager * placeholder values for the performance contract address * introduced admin messages to purge old measurements from the storage * introduced check ensuring performance data is only added to bonded nodes
42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
[package]
|
|
name = "nym-performance-contract"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[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 = { path = "../../common/cosmwasm-smart-contracts/contracts-common" }
|
|
nym-performance-contract-common = { path = "../../common/cosmwasm-smart-contracts/nym-performance-contract" }
|
|
nym-mixnet-contract-common = { path = "../../common/cosmwasm-smart-contracts/mixnet-contract" }
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true }
|
|
nym-contracts-common-testing = { path = "../../common/cosmwasm-smart-contracts/contracts-common-testing" }
|
|
nym-mixnet-contract = { path = "../mixnet", features = ["testable-mixnet-contract"] }
|
|
nym-crypto = { path = "../../common/crypto", features = ["asymmetric", "rand"] }
|
|
|
|
[features]
|
|
schema-gen = ["nym-performance-contract-common/schema", "cosmwasm-schema"]
|
|
|
|
[lints]
|
|
workspace = true |