c79b2cfb78
* first commit of service provider directory contract proof of concept * *added config set on instantiation, *removed greetQuery test function * commit before mapping change * *changed mapping of service to use client address instead of cosmos addr * commit before mapping change * added acl to delete() * added test for acl in delete() * changed whitelist<vec> to standrd_whitelist bool in Service struct * removed old comments and commented out code * rustfmt * wup * wup * Older version of cw-multi-test that works with 1.0.0 * wip * Remove .gitignore * Basic tests for announce and query now works * Restore tests for delete as well * Consolidate tests * Tidy * fmt * Start reworking test helpers * Tidy tests * More test work * More test improvements * More work on tests * Tweaks * Further tests * rustfmt * Add some comments * Initial work on requiring deposit * wip * Work on updating tests for handling funds * Start updating integration tests * Integration tests updated * merge test mods in state * Address review comments * Enable wasm-opt * Unify Result type * consistent amount in error type * WIP: paging output * IndexedMap working * extract to config file * WIP: middle of extracting out types * Extract types * wip * Types now extracted out: * Paged response type too * rustfmt * Start working on switching to cw Admin * Complete switch to Admin * Remove owner from announce msg * remove unused imports * Assert owner * Extract out types to common crate * Fix test compilation * Add query by owner and nym address * Move msg to common crate * rustfmt * tests for service id * service storage tests * state services tests * function rename * tidy * Fix clippy warning * User ServiceId instead and not u32 * Delete by nym address * Emit explicit events * Swap ToString for Display * Move all storage keys to constants.rs * clippy * Test for deleting by name * Tidy integration tests * Remove to_string * Some comments to tests * Integration test for paging * serde snake_csae for NymAddress and ServiceType * Add migrate entry point * Add query contract version * A few more asserts for balance * Make MigrateMsg a struct --------- Co-authored-by: mx <maxhampshire@pm.me>
134 lines
3.6 KiB
TOML
134 lines
3.6 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
opt-level = "s"
|
|
overflow-checks = true
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.test]
|
|
# equivalent of running in `--release` (but since we're in test profile we're keeping overflow checks and all of those by default)
|
|
opt-level = 3
|
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
members = [
|
|
"clients/credential",
|
|
"clients/native",
|
|
"clients/native/websocket-requests",
|
|
"clients/socks5",
|
|
"common/async-file-watcher",
|
|
"common/bin-common",
|
|
"common/client-core",
|
|
"common/client-libs/gateway-client",
|
|
"common/client-libs/mixnet-client",
|
|
"common/client-libs/validator-client",
|
|
"common/coconut-interface",
|
|
"common/commands",
|
|
"common/config",
|
|
"common/cosmwasm-smart-contracts/coconut-bandwidth-contract",
|
|
"common/cosmwasm-smart-contracts/coconut-dkg",
|
|
"common/cosmwasm-smart-contracts/contracts-common",
|
|
"common/cosmwasm-smart-contracts/group-contract",
|
|
"common/cosmwasm-smart-contracts/mixnet-contract",
|
|
"common/cosmwasm-smart-contracts/multisig-contract",
|
|
"common/cosmwasm-smart-contracts/service-provider-directory",
|
|
"common/cosmwasm-smart-contracts/vesting-contract",
|
|
"common/mobile-storage",
|
|
"common/credential-storage",
|
|
"common/credentials",
|
|
"common/crypto",
|
|
"common/dkg",
|
|
"common/execute",
|
|
"common/inclusion-probability",
|
|
"common/ledger",
|
|
"common/mixnode-common",
|
|
"common/network-defaults",
|
|
"common/nonexhaustive-delayqueue",
|
|
"common/nymcoconut",
|
|
"common/nymsphinx",
|
|
"common/nymsphinx/acknowledgements",
|
|
"common/nymsphinx/addressing",
|
|
"common/nymsphinx/anonymous-replies",
|
|
"common/nymsphinx/chunking",
|
|
"common/nymsphinx/cover",
|
|
"common/nymsphinx/forwarding",
|
|
"common/nymsphinx/framing",
|
|
"common/nymsphinx/params",
|
|
"common/nymsphinx/types",
|
|
"common/pemstore",
|
|
"common/socks5-client-core",
|
|
"common/socks5/proxy-helpers",
|
|
"common/socks5/requests",
|
|
"common/statistics",
|
|
"common/task",
|
|
"common/topology",
|
|
"common/types",
|
|
"common/wasm-utils",
|
|
"explorer-api",
|
|
"gateway",
|
|
"gateway/gateway-requests",
|
|
"integrations/bity",
|
|
"mixnode",
|
|
"sdk/rust/nym-sdk",
|
|
"service-providers/common",
|
|
"service-providers/network-requester",
|
|
"service-providers/network-statistics",
|
|
"nym-api",
|
|
"nym-api/nym-api-requests",
|
|
"nym-outfox",
|
|
"tools/nym-cli",
|
|
"tools/ts-rs-cli"
|
|
]
|
|
|
|
default-members = [
|
|
"clients/native",
|
|
"clients/socks5",
|
|
"gateway",
|
|
"service-providers/network-requester",
|
|
"service-providers/network-statistics",
|
|
"mixnode",
|
|
"nym-api",
|
|
"explorer-api",
|
|
]
|
|
|
|
exclude = ["explorer", "contracts", "clients/webassembly", "nym-wallet", "nym-connect/mobile/src-tauri", "nym-connect/desktop", "cpu-cycles"]
|
|
|
|
[workspace.package]
|
|
authors = ["Nym Technologies SA"]
|
|
repository = "https://github.com/nymtech/nym"
|
|
homepage = "https://nymtech.net"
|
|
documentation = "https://nymtech.net"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
|
|
[workspace.dependencies]
|
|
async-trait = "0.1.64"
|
|
bip39 = { version = "2.0.0", features = ["zeroize"] }
|
|
cfg-if = "1.0.0"
|
|
cosmwasm-derive = "=1.0.0"
|
|
cosmwasm-schema = "=1.0.0"
|
|
cosmwasm-std = "=1.0.0"
|
|
cosmwasm-storage = "=1.0.0"
|
|
cw-utils = "=0.13.4"
|
|
cw-storage-plus = "=0.13.4"
|
|
cw2 = { version = "=0.13.4" }
|
|
cw3 = { version = "=0.13.4" }
|
|
cw3-fixed-multisig = { version = "=0.13.4" }
|
|
cw4 = { version = "=0.13.4" }
|
|
dotenvy = "0.15.6"
|
|
lazy_static = "1.4.0"
|
|
log = "0.4"
|
|
once_cell = "1.7.2"
|
|
rand = "0.8.5"
|
|
serde = "1.0.152"
|
|
serde_json = "1.0.91"
|
|
tap = "1.0.1"
|
|
thiserror = "1.0.38"
|
|
tokio = "1.24.1"
|
|
url = "2.2"
|