Skip to content

Commit

Permalink
remove client
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Aug 15, 2024
1 parent 3bbd52c commit 092572a
Show file tree
Hide file tree
Showing 22 changed files with 4,809 additions and 19,361 deletions.
20,674 changes: 4,806 additions & 15,868 deletions Cargo.lock

Large diffs are not rendered by default.

122 changes: 2 additions & 120 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ cargo-features = ["resolver"]

[workspace]
members = [
"node",
"node/cli",
"node/service",

"modules/*",
"modules/currencies/runtime-api",
"modules/evm-utility/macro",
"primitives",
"rpc",

"runtime/common",
"runtime/mandala",
Expand Down Expand Up @@ -58,64 +53,6 @@ inherits = "release"
lto = true
codegen-units = 1

# The list of dependencies below (which can be both direct and indirect dependencies) are crates
# that are suspected to be CPU-intensive, and that are unlikely to require debugging (as some of
# their debug info might be missing) or to require to be frequently recompiled. We compile these
# dependencies with `opt-level=3` even in "dev" mode in order to make "dev" mode more usable.
# The majority of these crates are cryptographic libraries.
#
# Note that this does **not** affect crates that depend on Substrate. In other words, if you add
# a dependency on Substrate, you have to copy-paste this list in your own `Cargo.toml` (assuming
# that you want the same list). This list is only relevant when running `cargo build` from within
# the Substrate workspace.
#
# If you see an error mentioning "profile package spec ... did not match any packages", it
# probably concerns this list.
#
# This list is ordered alphabetically.
[profile.dev.package]
blake2 = { opt-level = 3 }
blake2b_simd = { opt-level = 3 }
chacha20poly1305 = { opt-level = 3 }
cranelift-codegen = { opt-level = 3 }
cranelift-wasm = { opt-level = 3 }
crc32fast = { opt-level = 3 }
crossbeam-deque = { opt-level = 3 }
crypto-mac = { opt-level = 3 }
curve25519-dalek = { opt-level = 3 }
ed25519-zebra = { opt-level = 3 }
flate2 = { opt-level = 3 }
futures-channel = { opt-level = 3 }
hashbrown = { opt-level = 3 }
hash-db = { opt-level = 3 }
hmac = { opt-level = 3 }
httparse = { opt-level = 3 }
integer-sqrt = { opt-level = 3 }
keccak = { opt-level = 3 }
librocksdb-sys = { opt-level = 3 }
libsecp256k1 = { opt-level = 3 }
libz-sys = { opt-level = 3 }
mio = { opt-level = 3 }
nalgebra = { opt-level = 3 }
num-bigint = { opt-level = 3 }
parking_lot = { opt-level = 3 }
parking_lot_core = { opt-level = 3 }
percent-encoding = { opt-level = 3 }
primitive-types = { opt-level = 3 }
ring = { opt-level = 3 }
rustls = { opt-level = 3 }
sha2 = { opt-level = 3 }
sha3 = { opt-level = 3 }
smallvec = { opt-level = 3 }
snow = { opt-level = 3 }
twox-hash = { opt-level = 3 }
uint = { opt-level = 3 }
x25519-dalek = { opt-level = 3 }
yamux = { opt-level = 3 }
zeroize = { opt-level = 3 }
insta.opt-level = 3
similar.opt-level = 3

[workspace.dependencies]
log = { version = "0.4.20", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
Expand All @@ -124,7 +61,7 @@ parity-scale-codec = { version = "3.6.5", default-features = false }
serde_json = { version = "1.0.81", default-features = false }
hex = { version = "0.4", default-features = false }
hex-literal = { version = "0.4.1" }
rand_chacha = { version = "0.2", default-features = false }
rand_chacha = { version = "0.3.1", default-features = false }
env_logger = { version = "0.10.0" }
smallvec = { version = "1.4.1" }
ripemd = { version = "0.1.3", default-features = false }
Expand All @@ -140,19 +77,12 @@ num_enum = { version = "0.5.1", default-features = false }
quote = { version = "1.0.20" }
syn = { version = "1.0.98" }
proc-macro2 = { version = "1.0.40" }
clap = { version = "4.0.9" }
derive_more = { version = "0.99" }
bstringify = { version = "0.1.2" }
enumflags2 = { version = "0.7.7" }
paste = { version = "1.0" }
futures = { version = "0.3.28" }
jsonrpsee = { version = "0.22" }
static_assertions = { version = "1.1.0" }
ethabi = { version = "18.0.0", default-features = false }
async-trait = { version = "0.1.71" }
coins-bip32 = { version = "0.7.0" }
coins-bip39 = { version = "0.7.0" }
k256 = { version = "0.11.5", default-features = false }

# Dependencies are split into 2 groups: wasm and client.
# - "wasm" dependencies requires to be no_std compatible, which often requires
Expand All @@ -161,7 +91,7 @@ k256 = { version = "0.11.5", default-features = false }
# - "client" dependencies are only used in the client, and thus don't need to be no_std compatible.

# ORML & Acala (wasm)
wasm-bencher = { git = "https://github.com/open-web3-stack/wasm-bencher", branch = "polkadot-v1.9.0", default-features = false }
wasm-bencher = { git = "https://github.com/open-web3-stack/wasm-bencher", branch = "polkadot-stable2407", default-features = false }
orml-auction = { path = "orml/auction", default-features = false }
orml-authority = { path = "orml/authority", default-features = false }
orml-benchmarking = { path = "orml/benchmarking", default-features = false }
Expand Down Expand Up @@ -224,9 +154,6 @@ module-xcm-interface = { path = "modules/xcm-interface", default-features = fals
nutsfinance-stable-asset = { version = "0.1.0", path = "ecosystem-modules/stable-asset/lib/stable-asset", default-features = false}

# ORML & Acala (client)
acala-cli = { path = "node/cli" }
acala-rpc = { path = "rpc" }
acala-service = { path = "node/service", default-features = false }
module-evm-utility-macro = { path = "modules/evm-utility/macro" }
orml-build-script-utils = { path = "orml/build-script-utils" }

Expand Down Expand Up @@ -316,50 +243,5 @@ xcm-builder = { version = "16.0.0", package = "staging-xcm-builder", default-fea
xcm-executor = { version = "16.0.0", package = "staging-xcm-executor", default-features = false }

# polkadot-sdk (client)
cumulus-client-cli = { version = "0.17.0" }
cumulus-client-collator = { version = "0.17.0" }
cumulus-client-consensus-aura = { version = "0.17.0" }
cumulus-client-consensus-common = { version = "0.17.0" }
cumulus-client-consensus-proposer = { version = "0.15.0" }
cumulus-client-consensus-relay-chain = { version = "0.17.0" }
cumulus-client-network = { version = "0.17.0" }
cumulus-client-parachain-inherent = { version = "0.11.0" }
cumulus-client-pov-recovery = { version = "0.17.0" }
cumulus-client-service = { version = "0.17.0" }
cumulus-relay-chain-inprocess-interface = { version = "0.17.0" }
cumulus-relay-chain-interface = { version = "0.17.0" }
cumulus-relay-chain-minimal-node = { version = "0.17.0" }
cumulus-relay-chain-rpc-interface = { version = "0.17.0" }
cumulus-test-relay-validation-worker-provider = { version = "0.1.0" }
frame-benchmarking-cli = { version = "42.0.0" }
pallet-transaction-payment-rpc = { version = "40.0.0" }
sc-basic-authorship = { version = "0.44.0" }
sc-chain-spec = { version = "37.0.0" }
sc-cli = { version = "0.46.0" }
sc-client-api = { version = "37.0.0" }
sc-consensus = { version = "0.43.0" }
sc-consensus-aura = { version = "0.44.0" }
sc-consensus-grandpa = { version = "0.29.0" }
sc-consensus-manual-seal = { version = "0.45.0" }
sc-consensus-slots = { version = "0.43.0" }
sc-executor = { version = "0.40.0" }
sc-network = { version = "0.44.0" }
sc-network-common = { version = "0.43.0" }
sc-network-sync = { version = "0.43.0" }
sc-offchain = { version = "39.0.0" }
sc-rpc = { version = "39.0.0" }
sc-rpc-api = { version = "0.43.0" }
sc-rpc-server = { version = "16.0.2" }
sc-service = { version = "0.45.0" }
sc-telemetry = { version = "24.0.0" }
sc-tracing = { version = "37.0.0" }
sc-transaction-pool = { version = "37.0.0" }
sc-transaction-pool-api = { version = "37.0.0" }
substrate-build-script-utils = { version = "11.0.0" }
substrate-frame-rpc-system = { version = "38.0.0" }
substrate-prometheus-endpoint = { version = "0.17.0" }
substrate-wasm-builder = { version = "24.0.0" }
try-runtime-cli = { version = "0.41.0" }
polkadot-cli = { version = "17.0.0" }
polkadot-service = { version = "17.0.0" }
xcm-simulator = { version = "16.0.0" }
38 changes: 0 additions & 38 deletions node/Cargo.toml

This file was deleted.

82 changes: 0 additions & 82 deletions node/cli/Cargo.toml

This file was deleted.

34 changes: 0 additions & 34 deletions node/cli/build.rs

This file was deleted.

Loading

0 comments on commit 092572a

Please sign in to comment.