From a4ec7a50474dabdee2dfd7cdd903f53b2a4f07b2 Mon Sep 17 00:00:00 2001 From: MOZGIII Date: Sat, 22 Apr 2023 00:46:43 -0300 Subject: [PATCH 1/8] Switch to workspace dependencies --- Cargo.toml | 151 ++++++++++++++ crates/author-ext-api/Cargo.toml | 8 +- crates/author-ext-rpc/Cargo.toml | 24 +-- crates/bioauth-flow-api/Cargo.toml | 8 +- crates/bioauth-flow-rpc/Cargo.toml | 36 ++-- crates/bioauth-keys/Cargo.toml | 6 +- crates/bridge-pot-currency-swap/Cargo.toml | 4 +- crates/crypto-utils-evm/Cargo.toml | 16 +- crates/crypto-utils/Cargo.toml | 10 +- crates/devutil-auth-ticket/Cargo.toml | 8 +- crates/eip191-crypto/Cargo.toml | 12 +- crates/eip191-token-claim/Cargo.toml | 10 +- crates/eip712-account-claim/Cargo.toml | 6 +- crates/eip712-common-test-utils/Cargo.toml | 14 +- crates/eip712-common/Cargo.toml | 12 +- crates/eip712-token-claim/Cargo.toml | 6 +- crates/facetec-api-client/Cargo.toml | 18 +- crates/humanode-peer/Cargo.toml | 154 +++++++-------- crates/humanode-rpc/Cargo.toml | 72 +++---- crates/humanode-runtime/Cargo.toml | 184 +++++++++--------- crates/keystore-bioauth-account-id/Cargo.toml | 12 +- crates/ngrok-api/Cargo.toml | 16 +- .../Cargo.toml | 18 +- crates/pallet-bioauth/Cargo.toml | 26 +-- crates/pallet-bootnodes/Cargo.toml | 24 +-- crates/pallet-chain-properties/Cargo.toml | 14 +- crates/pallet-chain-start-moment/Cargo.toml | 12 +- crates/pallet-currency-swap/Cargo.toml | 26 +-- crates/pallet-ethereum-chain-id/Cargo.toml | 14 +- crates/pallet-evm-accounts-mapping/Cargo.toml | 20 +- crates/pallet-humanode-session/Cargo.toml | 20 +- crates/pallet-pot/Cargo.toml | 14 +- crates/pallet-token-claims/Cargo.toml | 26 +-- crates/pallet-vesting/Cargo.toml | 22 +-- crates/precompile-bioauth/Cargo.toml | 30 +-- crates/precompile-currency-swap/Cargo.toml | 30 +-- .../Cargo.toml | 26 +-- crates/precompile-utils/Cargo.toml | 30 +-- crates/precompile-utils/macro/Cargo.toml | 10 +- crates/primitives-auth-ticket/Cargo.toml | 8 +- .../primitives-currency-swap-proxy/Cargo.toml | 6 +- crates/primitives-currency-swap/Cargo.toml | 2 +- crates/primitives-ethereum/Cargo.toml | 14 +- crates/primitives-liveness-data/Cargo.toml | 6 +- crates/robonode-client/Cargo.toml | 14 +- crates/robonode-crypto/Cargo.toml | 6 +- crates/robonode-keygen/Cargo.toml | 6 +- crates/robonode-server/Cargo.toml | 36 ++-- crates/rpc-deny-unsafe/Cargo.toml | 2 +- crates/rpc-error-response/Cargo.toml | 4 +- crates/rpc-validator-key-logic/Cargo.toml | 10 +- crates/vesting-schedule-linear/Cargo.toml | 12 +- .../vesting-scheduling-timestamp/Cargo.toml | 14 +- 53 files changed, 718 insertions(+), 571 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8d647d33a..2c9864edc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,157 @@ resolver = "2" members = ["crates/*"] +[workspace.dependencies] +# Crates.io deps. +anyhow = "1" +assert_matches = "1.5" +async-trait = "0.1" +bip32 = "0.5.0" +bytes = "1" +chrono = "0.4" +clap = "4" +ed25519-dalek = "2" +ethereum = "0.14" +ethers-core = "2.0.3" +evm = "0.37" +fdlimit = "0.2" +futures = "0.3" +getrandom = "0.2" +hex = "0.4" +hex-literal = "0.4" +http = "0.2" +http-body = "0.4" +impl-trait-for-tuples = "0.2" +indoc = "2.0" +jsonrpsee = "0.16.2" +libsecp256k1 = "0.7" +log = "0.4" +mockall = "0.11" +num = "0.4" +num_enum = "0.6" +num-traits = "0.2" +numtoa = "0.2" +once_cell = "1" +proc-macro2 = "1" +qr2term = "0.3" +quote = "1.0" +rand = "0.8" +reqwest = "0.11" +rustc-hex = "2" +scale-info = "2.5.0" +secp256k1 = "0.27" +serde = "1" +serde_json = "1" +sha3 = "0.10" +similar-asserts = "1" +static_assertions = "1" +syn = "1" +thiserror = "1.0.29" +tiny-bip39 = "1" +tokio = "1" +tracing = "0.1" +tracing-test = "0.2" +url = "2" +uuid = "1" +vergen = "8" +warp = "0.3" +wiremock = "0.5" + +# Special case for codec. +codec = { package = "parity-scale-codec", version = "3.2.2" } + +# Substrate fork. +frame-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-benchmarking-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-executive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-system-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-system-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-try-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-im-online = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-multisig = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-offences = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-sudo = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-transaction-payment = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-transaction-payment-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-utility = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-basic-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-chain-spec = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-chain-spec-derive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-client-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-consensus-babe-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-consensus-epochs = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-executor = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-finality-grandpa-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-network = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-rpc-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-rpc-spec-v2 = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-service = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-telemetry = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-utils = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-application-crypto = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-block-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-core-hashing-proc-macro = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-inherents = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-keyring = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-offchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-panic-handler = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-staking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-std = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-version = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +substrate-frame-rpc-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +substrate-wasm-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +try-runtime-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } + +# Frontier fork. +fc-cli = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fc-consensus = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fc-db = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fc-mapping-sync = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fc-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fc-rpc-core = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fc-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fp-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fp-self-contained = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fp-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +pallet-ethereum = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +pallet-evm-balances = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +pallet-evm-precompile-modexp = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +pallet-evm-precompile-sha3fips = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +pallet-evm-precompile-simple = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +pallet-evm-system = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } + [profile.release-lto] inherits = "release" lto = "thin" diff --git a/crates/author-ext-api/Cargo.toml b/crates/author-ext-api/Cargo.toml index 64e8930a1..8be0d51ea 100644 --- a/crates/author-ext-api/Cargo.toml +++ b/crates/author-ext-api/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +sp-api = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/author-ext-rpc/Cargo.toml b/crates/author-ext-rpc/Cargo.toml index a7491b2d6..38b06b905 100644 --- a/crates/author-ext-rpc/Cargo.toml +++ b/crates/author-ext-rpc/Cargo.toml @@ -5,20 +5,20 @@ edition = "2021" publish = false [dependencies] -author-ext-api = { version = "0.1", path = "../author-ext-api" } -bioauth-keys = { version = "0.1", path = "../bioauth-keys" } +author-ext-api = { path = "../author-ext-api" } +bioauth-keys = { path = "../bioauth-keys" } rpc-deny-unsafe = { path = "../rpc-deny-unsafe" } rpc-error-response = { path = "../rpc-error-response" } -rpc-validator-key-logic = { version = "0.1", path = "../rpc-validator-key-logic" } +rpc-validator-key-logic = { path = "../rpc-validator-key-logic" } -jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -serde = "1" -sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -tracing = "0.1" +jsonrpsee = { workspace = true, features = ["server", "macros"] } +sc-transaction-pool-api = { workspace = true } +serde = { workspace = true } +sp-api = { workspace = true } +sp-blockchain = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +tracing = { workspace = true } [dev-dependencies] -serde_json = "1" +serde_json = { workspace = true } diff --git a/crates/bioauth-flow-api/Cargo.toml b/crates/bioauth-flow-api/Cargo.toml index 9ab3aa75a..9d9a2c486 100644 --- a/crates/bioauth-flow-api/Cargo.toml +++ b/crates/bioauth-flow-api/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +sp-api = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/bioauth-flow-rpc/Cargo.toml b/crates/bioauth-flow-rpc/Cargo.toml index 9b80665ac..d175da652 100644 --- a/crates/bioauth-flow-rpc/Cargo.toml +++ b/crates/bioauth-flow-rpc/Cargo.toml @@ -5,24 +5,24 @@ edition = "2021" publish = false [dependencies] -bioauth-flow-api = { version = "0.1", path = "../bioauth-flow-api" } -bioauth-keys = { version = "0.1", path = "../bioauth-keys" } -pallet-bioauth = { version = "0.1", path = "../pallet-bioauth" } -primitives-liveness-data = { version = "0.1", path = "../primitives-liveness-data" } -robonode-client = { version = "0.1", path = "../robonode-client" } +bioauth-flow-api = { path = "../bioauth-flow-api" } +bioauth-keys = { path = "../bioauth-keys" } +pallet-bioauth = { path = "../pallet-bioauth" } +primitives-liveness-data = { path = "../primitives-liveness-data" } +robonode-client = { path = "../robonode-client" } rpc-deny-unsafe = { path = "../rpc-deny-unsafe" } rpc-error-response = { path = "../rpc-error-response" } -rpc-validator-key-logic = { version = "0.1", path = "../rpc-validator-key-logic" } +rpc-validator-key-logic = { path = "../rpc-validator-key-logic" } -anyhow = "1" -async-trait = "0.1" -jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -serde = "1" -serde_json = "1" -sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -thiserror = "1" -tokio = "1" -tracing = "0.1" +anyhow = { workspace = true } +async-trait = { workspace = true } +jsonrpsee = { workspace = true, features = ["server", "macros"] } +sc-transaction-pool-api = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +sp-api = { workspace = true } +sp-blockchain = { workspace = true } +sp-runtime = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true } +tracing = { workspace = true } diff --git a/crates/bioauth-keys/Cargo.toml b/crates/bioauth-keys/Cargo.toml index fe76f6891..5913889b3 100644 --- a/crates/bioauth-keys/Cargo.toml +++ b/crates/bioauth-keys/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" publish = false [dependencies] -sp-application-crypto = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -thiserror = "1" +sp-application-crypto = { workspace = true } +sp-keystore = { workspace = true } +thiserror = { workspace = true } [features] default = [] diff --git a/crates/bridge-pot-currency-swap/Cargo.toml b/crates/bridge-pot-currency-swap/Cargo.toml index e02df5338..65375eb21 100644 --- a/crates/bridge-pot-currency-swap/Cargo.toml +++ b/crates/bridge-pot-currency-swap/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" publish = false [dependencies] -primitives-currency-swap = { version = "0.1", path = "../primitives-currency-swap", default-features = false } +primitives-currency-swap = { path = "../primitives-currency-swap", default-features = false } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-support = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/crypto-utils-evm/Cargo.toml b/crates/crypto-utils-evm/Cargo.toml index f977f864d..e2d203ad0 100644 --- a/crates/crypto-utils-evm/Cargo.toml +++ b/crates/crypto-utils-evm/Cargo.toml @@ -5,13 +5,13 @@ edition = "2021" publish = false [dependencies] -anyhow = "1" -bip32 = "0.5" -libsecp256k1 = { version = "0.7", default-features = false } -sha3 = "0.10" -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -thiserror = "1" -tiny-bip39 = "1.0" +anyhow = { workspace = true } +bip32 = { workspace = true } +libsecp256k1 = { workspace = true } +sha3 = { workspace = true } +sp-core = { workspace = true } +thiserror = { workspace = true } +tiny-bip39 = { workspace = true } [dev-dependencies] -hex-literal = "0.4" +hex-literal = { workspace = true } diff --git a/crates/crypto-utils/Cargo.toml b/crates/crypto-utils/Cargo.toml index 810ff4d46..d29c98799 100644 --- a/crates/crypto-utils/Cargo.toml +++ b/crates/crypto-utils/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" publish = false [dependencies] -frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-im-online = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-support = { workspace = true } +pallet-im-online = { workspace = true } +sp-consensus-babe = { workspace = true } +sp-finality-grandpa = { workspace = true } +sp-runtime = { workspace = true } diff --git a/crates/devutil-auth-ticket/Cargo.toml b/crates/devutil-auth-ticket/Cargo.toml index ec4b4dc17..610a01b81 100644 --- a/crates/devutil-auth-ticket/Cargo.toml +++ b/crates/devutil-auth-ticket/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" publish = false [dependencies] -primitives-auth-ticket = { version = "0.1", path = "../primitives-auth-ticket" } -robonode-crypto = { version = "0.1", path = "../robonode-crypto" } +primitives-auth-ticket = { path = "../primitives-auth-ticket" } +robonode-crypto = { path = "../robonode-crypto" } -anyhow = "1" -hex = "0.4" +anyhow = { workspace = true } +hex = { workspace = true } diff --git a/crates/eip191-crypto/Cargo.toml b/crates/eip191-crypto/Cargo.toml index 42c1b608a..6a4b96a52 100644 --- a/crates/eip191-crypto/Cargo.toml +++ b/crates/eip191-crypto/Cargo.toml @@ -5,15 +5,15 @@ edition = "2021" publish = false [dependencies] -primitives-ethereum = { version = "0.1", path = "../primitives-ethereum", default-features = false } +primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -numtoa = { version = "0.2", default-features = false } -sp-core-hashing-proc-macro = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +numtoa = { workspace = true, default-features = false } +sp-core-hashing-proc-macro = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -hex = "0.4" +hex = { workspace = true } [features] default = ["std"] diff --git a/crates/eip191-token-claim/Cargo.toml b/crates/eip191-token-claim/Cargo.toml index c5f4cd116..cf94bfa2b 100644 --- a/crates/eip191-token-claim/Cargo.toml +++ b/crates/eip191-token-claim/Cargo.toml @@ -5,14 +5,14 @@ edition = "2021" publish = false [dependencies] -hex = { version = "0.4", default-features = false } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +hex = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -eip191-crypto = { version = "0.1", path = "../eip191-crypto" } -primitives-ethereum = { version = "0.1", path = "../primitives-ethereum" } +eip191-crypto = { path = "../eip191-crypto" } +primitives-ethereum = { path = "../primitives-ethereum" } -hex-literal = "0.4" +hex-literal = { workspace = true } [features] default = ["std"] diff --git a/crates/eip712-account-claim/Cargo.toml b/crates/eip712-account-claim/Cargo.toml index ead5340e4..cf71f80fd 100644 --- a/crates/eip712-account-claim/Cargo.toml +++ b/crates/eip712-account-claim/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" publish = false [dependencies] -eip712-common = { version = "0.1", path = "../eip712-common", default-features = false } +eip712-common = { path = "../eip712-common", default-features = false } [dev-dependencies] -eip712-common-test-utils = { version = "0.1", path = "../eip712-common-test-utils" } +eip712-common-test-utils = { path = "../eip712-common-test-utils" } -hex-literal = "0.4" +hex-literal = { workspace = true } [features] default = ["std"] diff --git a/crates/eip712-common-test-utils/Cargo.toml b/crates/eip712-common-test-utils/Cargo.toml index 172d83a44..bbccb3152 100644 --- a/crates/eip712-common-test-utils/Cargo.toml +++ b/crates/eip712-common-test-utils/Cargo.toml @@ -5,11 +5,11 @@ edition = "2021" publish = false [dependencies] -eip712-common = { version = "0.1", path = "../eip712-common" } -primitives-ethereum = { version = "0.1", path = "../primitives-ethereum" } +eip712-common = { path = "../eip712-common" } +primitives-ethereum = { path = "../primitives-ethereum" } -ethers-core = { version = "2.0", default-features = false, features = ["eip712"] } -hex-literal = "0.4" -secp256k1 = { version = "0.27" } -serde_json = { version = "1" } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +ethers-core = { workspace = true, default-features = false, features = ["eip712"] } +hex-literal = { workspace = true } +secp256k1 = { workspace = true } +serde_json = { workspace = true } +sp-core = { workspace = true } diff --git a/crates/eip712-common/Cargo.toml b/crates/eip712-common/Cargo.toml index c5b2743da..4be021384 100644 --- a/crates/eip712-common/Cargo.toml +++ b/crates/eip712-common/Cargo.toml @@ -5,15 +5,15 @@ edition = "2021" publish = false [dependencies] -primitives-ethereum = { version = "0.1", path = "../primitives-ethereum", default-features = false } +primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -sp-core-hashing-proc-macro = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-core-hashing-proc-macro = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -hex-literal = "0.4" -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +hex-literal = { workspace = true } +sp-core = { workspace = true } [features] default = ["std"] diff --git a/crates/eip712-token-claim/Cargo.toml b/crates/eip712-token-claim/Cargo.toml index 3b09435a0..a5ee25c12 100644 --- a/crates/eip712-token-claim/Cargo.toml +++ b/crates/eip712-token-claim/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" publish = false [dependencies] -eip712-common = { version = "0.1", path = "../eip712-common", default-features = false } +eip712-common = { path = "../eip712-common", default-features = false } [dev-dependencies] -eip712-common-test-utils = { version = "0.1", path = "../eip712-common-test-utils" } +eip712-common-test-utils = { path = "../eip712-common-test-utils" } -hex-literal = "0.4" +hex-literal = { workspace = true } [features] default = ["std"] diff --git a/crates/facetec-api-client/Cargo.toml b/crates/facetec-api-client/Cargo.toml index 9062b159f..37408e758 100644 --- a/crates/facetec-api-client/Cargo.toml +++ b/crates/facetec-api-client/Cargo.toml @@ -5,14 +5,14 @@ edition = "2021" publish = false [dependencies] -async-trait = "0.1" -bytes = "1" -reqwest = { version = "0.11", features = ["json"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -thiserror = "1" +async-trait = { workspace = true } +bytes = { workspace = true } +reqwest = { workspace = true, features = ["json"] } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -assert_matches = "1.5" -tokio = { version = "1", features = ["full"] } -wiremock = "0.5" +assert_matches = { workspace = true } +tokio = { workspace = true, features = ["full"] } +wiremock = { workspace = true } diff --git a/crates/humanode-peer/Cargo.toml b/crates/humanode-peer/Cargo.toml index bbf95cabe..27f6a1f5b 100644 --- a/crates/humanode-peer/Cargo.toml +++ b/crates/humanode-peer/Cargo.toml @@ -9,88 +9,88 @@ authors = ["Humanode Core"] default-run = "humanode-peer" [dependencies] -bioauth-flow-rpc = { version = "0.1", path = "../bioauth-flow-rpc" } -bioauth-keys = { version = "0.1", path = "../bioauth-keys" } -crypto-utils = { version = "0.1", path = "../crypto-utils" } -crypto-utils-evm = { version = "0.1", path = "../crypto-utils-evm" } -humanode-rpc = { version = "0.1", path = "../humanode-rpc" } -humanode-runtime = { version = "0.1", path = "../humanode-runtime" } -keystore-bioauth-account-id = { version = "0.1", path = "../keystore-bioauth-account-id" } -ngrok-api = { version = "0.1", path = "../ngrok-api" } -pallet-bioauth = { version = "0.1", path = "../pallet-bioauth" } -pallet-token-claims = { version = "0.1", path = "../pallet-token-claims" } -robonode-client = { version = "0.1", path = "../robonode-client" } +bioauth-flow-rpc = { path = "../bioauth-flow-rpc" } +bioauth-keys = { path = "../bioauth-keys" } +crypto-utils = { path = "../crypto-utils" } +crypto-utils-evm = { path = "../crypto-utils-evm" } +humanode-rpc = { path = "../humanode-rpc" } +humanode-runtime = { path = "../humanode-runtime" } +keystore-bioauth-account-id = { path = "../keystore-bioauth-account-id" } +ngrok-api = { path = "../ngrok-api" } +pallet-bioauth = { path = "../pallet-bioauth" } +pallet-token-claims = { path = "../pallet-token-claims" } +robonode-client = { path = "../robonode-client" } -anyhow = "1" -async-trait = "0.1" -clap = { version = "4.1", features = ["derive"] } -codec = { package = "parity-scale-codec", version = "3.2.2" } -fc-cli = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-consensus = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-db = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-mapping-sync = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-rpc-core = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fdlimit = "0.2" -fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -frame-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } -frame-benchmarking-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -futures = "0.3" -hex = "0.4.3" -hex-literal = "0.4" -pallet-balances = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-im-online = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -qr2term = "0.3" -reqwest = "0.11" -sc-basic-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-chain-spec = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-chain-spec-derive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-client-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-executor = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-network = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-service = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-telemetry = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-utils = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-application-crypto = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-inherents = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-keyring = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-panic-handler = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -thiserror = "1" -tiny-bip39 = "1" -tokio = { version = "1", features = ["full"] } -tracing = "0.1" -try-runtime-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } -url = "2" +anyhow = { workspace = true } +async-trait = { workspace = true } +clap = { workspace = true, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec" } +fc-cli = { workspace = true } +fc-consensus = { workspace = true } +fc-db = { workspace = true } +fc-mapping-sync = { workspace = true } +fc-rpc = { workspace = true } +fc-rpc-core = { workspace = true } +fc-storage = { workspace = true } +fdlimit = { workspace = true } +fp-evm = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-benchmarking-cli = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +futures = { workspace = true } +hex = { workspace = true } +hex-literal = { workspace = true } +pallet-balances = { workspace = true, default-features = false } +pallet-im-online = { workspace = true, default-features = false } +pallet-transaction-payment = { workspace = true, default-features = false } +qr2term = { workspace = true } +reqwest = { workspace = true } +sc-basic-authorship = { workspace = true } +sc-chain-spec = { workspace = true } +sc-chain-spec-derive = { workspace = true } +sc-cli = { workspace = true } +sc-client-api = { workspace = true } +sc-consensus = { workspace = true } +sc-consensus-babe = { workspace = true } +sc-executor = { workspace = true } +sc-finality-grandpa = { workspace = true } +sc-network = { workspace = true } +sc-rpc = { workspace = true } +sc-service = { workspace = true } +sc-telemetry = { workspace = true } +sc-tracing = { workspace = true } +sc-transaction-pool = { workspace = true } +sc-utils = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +sp-api = { workspace = true } +sp-application-crypto = { workspace = true } +sp-consensus = { workspace = true } +sp-consensus-babe = { workspace = true } +sp-core = { workspace = true } +sp-finality-grandpa = { workspace = true } +sp-inherents = { workspace = true } +sp-io = { workspace = true } +sp-keyring = { workspace = true } +sp-keystore = { workspace = true } +sp-panic-handler = { workspace = true } +sp-runtime = { workspace = true } +sp-timestamp = { workspace = true } +thiserror = { workspace = true } +tiny-bip39 = { workspace = true } +tokio = { workspace = true, features = ["full"] } +tracing = { workspace = true } +try-runtime-cli = { workspace = true, optional = true } +url = { workspace = true } [dev-dependencies] -indoc = "2.0" -sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +indoc = { workspace = true } +sp-io = { workspace = true } [build-dependencies] -vergen = { version = "8", default-features = false, features = ["cargo", "git", "gitcl"] } +vergen = { workspace = true, default-features = false, features = ["cargo", "git", "gitcl"] } [features] default = [] diff --git a/crates/humanode-rpc/Cargo.toml b/crates/humanode-rpc/Cargo.toml index d2d13aafa..76be8b68a 100644 --- a/crates/humanode-rpc/Cargo.toml +++ b/crates/humanode-rpc/Cargo.toml @@ -5,40 +5,40 @@ edition = "2021" publish = false [dependencies] -author-ext-api = { version = "0.1", path = "../author-ext-api" } -author-ext-rpc = { version = "0.1", path = "../author-ext-rpc" } -bioauth-flow-api = { version = "0.1", path = "../bioauth-flow-api" } -bioauth-flow-rpc = { version = "0.1", path = "../bioauth-flow-rpc" } -bioauth-keys = { version = "0.1", path = "../bioauth-keys" } -humanode-runtime = { version = "0.1", path = "../humanode-runtime" } -robonode-client = { version = "0.1", path = "../robonode-client" } +author-ext-api = { path = "../author-ext-api" } +author-ext-rpc = { path = "../author-ext-rpc" } +bioauth-flow-api = { path = "../bioauth-flow-api" } +bioauth-flow-rpc = { path = "../bioauth-flow-rpc" } +bioauth-keys = { path = "../bioauth-keys" } +humanode-runtime = { path = "../humanode-runtime" } +robonode-client = { path = "../robonode-client" } -fc-db = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-rpc-core = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fp-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fp-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -pallet-transaction-payment-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-chain-spec = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-client-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus-babe-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus-epochs = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-finality-grandpa-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-network = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-rpc-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-rpc-spec-v2 = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-block-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -substrate-frame-rpc-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +fc-db = { workspace = true } +fc-rpc = { workspace = true } +fc-rpc-core = { workspace = true } +fc-storage = { workspace = true } +fp-rpc = { workspace = true } +fp-storage = { workspace = true } +jsonrpsee = { workspace = true, features = ["server", "macros"] } +pallet-transaction-payment-rpc = { workspace = true } +sc-chain-spec = { workspace = true } +sc-client-api = { workspace = true } +sc-consensus-babe = { workspace = true } +sc-consensus-babe-rpc = { workspace = true } +sc-consensus-epochs = { workspace = true } +sc-finality-grandpa = { workspace = true } +sc-finality-grandpa-rpc = { workspace = true } +sc-network = { workspace = true } +sc-rpc = { workspace = true } +sc-rpc-api = { workspace = true } +sc-rpc-spec-v2 = { workspace = true } +sc-transaction-pool = { workspace = true } +sc-transaction-pool-api = { workspace = true } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-blockchain = { workspace = true } +sp-consensus = { workspace = true } +sp-consensus-babe = { workspace = true } +sp-keystore = { workspace = true } +sp-runtime = { workspace = true } +substrate-frame-rpc-system = { workspace = true } diff --git a/crates/humanode-runtime/Cargo.toml b/crates/humanode-runtime/Cargo.toml index 02b65981d..b71059548 100644 --- a/crates/humanode-runtime/Cargo.toml +++ b/crates/humanode-runtime/Cargo.toml @@ -5,105 +5,102 @@ edition = "2021" publish = false [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } +substrate-wasm-builder = { workspace = true, optional = true } [dependencies] -author-ext-api = { version = "0.1", path = "../author-ext-api", default-features = false } -bioauth-flow-api = { version = "0.1", path = "../bioauth-flow-api", default-features = false } -bridge-pot-currency-swap = { version = "0.1", path = "../bridge-pot-currency-swap", default-features = false } -eip191-crypto = { version = "0.1", path = "../eip191-crypto", default-features = false } -eip191-token-claim = { version = "0.1", path = "../eip191-token-claim", default-features = false } -eip712-account-claim = { version = "0.1", path = "../eip712-account-claim", default-features = false } -eip712-common = { version = "0.1", path = "../eip712-common", default-features = false } -eip712-token-claim = { version = "0.1", path = "../eip712-token-claim", default-features = false } -keystore-bioauth-account-id = { version = "0.1", path = "../keystore-bioauth-account-id", default-features = false } -pallet-balanced-currency-swap-bridges-initializer = { version = "0.1", path = "../pallet-balanced-currency-swap-bridges-initializer", default-features = false } -pallet-bioauth = { version = "0.1", path = "../pallet-bioauth", default-features = false } -pallet-bootnodes = { version = "0.1", path = "../pallet-bootnodes", default-features = false } -pallet-chain-properties = { version = "0.1", path = "../pallet-chain-properties", default-features = false } -pallet-chain-start-moment = { version = "0.1", path = "../pallet-chain-start-moment", default-features = false } -pallet-currency-swap = { version = "0.1", path = "../pallet-currency-swap", default-features = false } -pallet-ethereum-chain-id = { version = "0.1", path = "../pallet-ethereum-chain-id", default-features = false } -pallet-evm-accounts-mapping = { version = "0.1", path = "../pallet-evm-accounts-mapping", default-features = false } -pallet-humanode-session = { version = "0.1", path = "../pallet-humanode-session", default-features = false } -pallet-pot = { version = "0.1", path = "../pallet-pot", default-features = false } -pallet-token-claims = { version = "0.1", path = "../pallet-token-claims", default-features = false } -pallet-vesting = { version = "0.1", path = "../pallet-vesting", default-features = false } -precompile-bioauth = { version = "0.1", path = "../precompile-bioauth", default-features = false } -precompile-currency-swap = { version = "0.1", path = "../precompile-currency-swap", default-features = false } -precompile-evm-accounts-mapping = { version = "0.1", path = "../precompile-evm-accounts-mapping", default-features = false } -primitives-auth-ticket = { version = "0.1", path = "../primitives-auth-ticket", default-features = false } -primitives-currency-swap-proxy = { version = "0.1", path = "../primitives-currency-swap-proxy", default-features = false } -primitives-ethereum = { version = "0.1", path = "../primitives-ethereum", default-features = false } -robonode-crypto = { version = "0.1", path = "../robonode-crypto", default-features = false } -vesting-schedule-linear = { version = "0.1", path = "../vesting-schedule-linear", default-features = false } -vesting-scheduling-timestamp = { version = "0.1", path = "../vesting-scheduling-timestamp", default-features = false } +author-ext-api = { path = "../author-ext-api", default-features = false } +bioauth-flow-api = { path = "../bioauth-flow-api", default-features = false } +bridge-pot-currency-swap = { path = "../bridge-pot-currency-swap", default-features = false } +eip191-crypto = { path = "../eip191-crypto", default-features = false } +eip191-token-claim = { path = "../eip191-token-claim", default-features = false } +eip712-account-claim = { path = "../eip712-account-claim", default-features = false } +eip712-common = { path = "../eip712-common", default-features = false } +eip712-token-claim = { path = "../eip712-token-claim", default-features = false } +keystore-bioauth-account-id = { path = "../keystore-bioauth-account-id", default-features = false } +pallet-balanced-currency-swap-bridges-initializer = { path = "../pallet-balanced-currency-swap-bridges-initializer", default-features = false } +pallet-bioauth = { path = "../pallet-bioauth", default-features = false } +pallet-bootnodes = { path = "../pallet-bootnodes", default-features = false } +pallet-chain-properties = { path = "../pallet-chain-properties", default-features = false } +pallet-chain-start-moment = { path = "../pallet-chain-start-moment", default-features = false } +pallet-currency-swap = { path = "../pallet-currency-swap", default-features = false } +pallet-ethereum-chain-id = { path = "../pallet-ethereum-chain-id", default-features = false } +pallet-evm-accounts-mapping = { path = "../pallet-evm-accounts-mapping", default-features = false } +pallet-humanode-session = { path = "../pallet-humanode-session", default-features = false } +pallet-pot = { path = "../pallet-pot", default-features = false } +pallet-token-claims = { path = "../pallet-token-claims", default-features = false } +pallet-vesting = { path = "../pallet-vesting", default-features = false } +precompile-bioauth = { path = "../precompile-bioauth", default-features = false } +precompile-currency-swap = { path = "../precompile-currency-swap", default-features = false } +precompile-evm-accounts-mapping = { path = "../precompile-evm-accounts-mapping", default-features = false } +precompile-utils = { path = "../precompile-utils", default-features = false } +primitives-auth-ticket = { path = "../primitives-auth-ticket", default-features = false } +primitives-currency-swap-proxy = { path = "../primitives-currency-swap-proxy", default-features = false } +primitives-ethereum = { path = "../primitives-ethereum", default-features = false } +robonode-crypto = { path = "../robonode-crypto", default-features = false } +vesting-schedule-linear = { path = "../vesting-schedule-linear", default-features = false } +vesting-scheduling-timestamp = { path = "../vesting-scheduling-timestamp", default-features = false } -chrono = { version = "0.4.24", default-features = false } -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -fp-evm = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fp-rpc = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fp-self-contained = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-executive = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system-benchmarking = { default-features = false, optional = true, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-try-runtime = { default-features = false, optional = true, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -hex-literal = { version = "0.4", optional = true } -libsecp256k1 = { version = "0.7", default-features = false } -pallet-authorship = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-babe = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-balances = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-ethereum = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-balances = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-precompile-modexp = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-precompile-sha3fips = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-system = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-grandpa = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-im-online = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-multisig = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-offences = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-session = { default-features = false, features = [ - "historical", -], git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-sudo = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-timestamp = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-utility = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", features = ["derive"], optional = true } -sp-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-application-crypto = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-block-builder = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-consensus-babe = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-inherents = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-offchain = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-session = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-staking = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-tracing = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-transaction-pool = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-version = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -static_assertions = { version = "1.1.0", default-features = false } +chrono = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +fp-evm = { workspace = true } +fp-rpc = { workspace = true, default-features = false } +fp-self-contained = { workspace = true, default-features = false } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-executive = { workspace = true, default-features = false } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +frame-system-benchmarking = { workspace = true, default-features = false, optional = true } +frame-system-rpc-runtime-api = { workspace = true, default-features = false } +frame-try-runtime = { workspace = true, default-features = false, optional = true } +hex-literal = { workspace = true, optional = true } +libsecp256k1 = { workspace = true, default-features = false } +pallet-authorship = { workspace = true, default-features = false } +pallet-babe = { workspace = true, default-features = false } +pallet-balances = { workspace = true, default-features = false } +pallet-ethereum = { workspace = true, default-features = false } +pallet-evm = { workspace = true, default-features = false } +pallet-evm-balances = { workspace = true, default-features = false } +pallet-evm-precompile-modexp = { workspace = true, default-features = false } +pallet-evm-precompile-sha3fips = { workspace = true, default-features = false } +pallet-evm-precompile-simple = { workspace = true, default-features = false } +pallet-evm-system = { workspace = true, default-features = false } +pallet-grandpa = { workspace = true, default-features = false } +pallet-im-online = { workspace = true, default-features = false } +pallet-multisig = { workspace = true, default-features = false } +pallet-offences = { workspace = true, default-features = false } +pallet-session = { workspace = true, default-features = false, features = ["historical"] } +pallet-sudo = { workspace = true, default-features = false } +pallet-timestamp = { workspace = true, default-features = false } +pallet-transaction-payment = { workspace = true, default-features = false } +pallet-transaction-payment-rpc-runtime-api = { workspace = true, default-features = false } +pallet-utility = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-api = { workspace = true, default-features = false } +sp-application-crypto = { workspace = true, default-features = false } +sp-block-builder = { workspace = true, default-features = false } +sp-consensus-babe = { workspace = true, default-features = false } +sp-core = { workspace = true, default-features = false } +sp-inherents = { workspace = true, default-features = false } +sp-offchain = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-session = { workspace = true, default-features = false } +sp-staking = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } +sp-tracing = { workspace = true, default-features = false } +sp-transaction-pool = { workspace = true, default-features = false } +sp-version = { workspace = true, default-features = false } +static_assertions = { workspace = true, default-features = false } [dev-dependencies] -crypto-utils = { version = "0.1", path = "../crypto-utils" } -eip712-common-test-utils = { version = "0.1", path = "../eip712-common-test-utils" } -precompile-utils = { path = "../precompile-utils", default-features = false } +crypto-utils = { path = "../crypto-utils" } +eip712-common-test-utils = { path = "../eip712-common-test-utils" } -ethereum = "0.14" -hex = "0.4" -hex-literal = "0.4" -serde_json = "1" -sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +ethereum = { workspace = true } +hex = { workspace = true } +serde_json = { workspace = true } +sp-io = { workspace = true } +sp-keystore = { workspace = true } [features] default = ["std"] @@ -145,6 +142,7 @@ std = [ "eip712-account-claim/std", "eip712-common/std", "eip712-token-claim/std", + "ethereum/std", "fp-evm/std", "fp-rpc/std", "fp-self-contained/std", diff --git a/crates/keystore-bioauth-account-id/Cargo.toml b/crates/keystore-bioauth-account-id/Cargo.toml index 98810a29e..8f11a5e33 100644 --- a/crates/keystore-bioauth-account-id/Cargo.toml +++ b/crates/keystore-bioauth-account-id/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-application-crypto = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +sp-application-crypto = { workspace = true, default-features = false } +sp-core = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/ngrok-api/Cargo.toml b/crates/ngrok-api/Cargo.toml index 8ab0a39b4..12a5ffbfb 100644 --- a/crates/ngrok-api/Cargo.toml +++ b/crates/ngrok-api/Cargo.toml @@ -6,14 +6,14 @@ authors = ["Humanode Team "] publish = false [dependencies] -async-trait = { version = "0.1", optional = true } -http = { version = "0.2", optional = true } -http-body = { version = "0.4", optional = true } -reqwest = { version = "0.11", optional = true } -serde = "1" -serde_json = "1" -thiserror = { version = "1", optional = true } -url = { version = "2", optional = true } +async-trait = { workspace = true, optional = true } +http = { workspace = true, optional = true } +http-body = { workspace = true, optional = true } +reqwest = { workspace = true, optional = true } +serde = { workspace = true } +serde_json = { workspace = true } +thiserror = { workspace = true, optional = true } +url = { workspace = true, optional = true } [features] client = ["http", "url", "http-body", "thiserror", "async-trait", "reqwest"] diff --git a/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml b/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml index f383f4049..f85a750eb 100644 --- a/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml +++ b/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml @@ -5,18 +5,18 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-tracing = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, features = ["derive"] } +sp-std = { workspace = true, default-features = false } +sp-tracing = { workspace = true, default-features = false } [dev-dependencies] -pallet-pot = { version = "0.1", path = "../pallet-pot", default-features = false } +pallet-pot = { path = "../pallet-pot", default-features = false } -pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-balances = { workspace = true } +sp-core = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-bioauth/Cargo.toml b/crates/pallet-bioauth/Cargo.toml index 366871e94..7c46d34ce 100644 --- a/crates/pallet-bioauth/Cargo.toml +++ b/crates/pallet-bioauth/Cargo.toml @@ -5,21 +5,21 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-benchmarking = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -hex-literal = { version = "0.4", optional = true } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", features = ["derive"], optional = true } -sp-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +hex-literal = { workspace = true, optional = true } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-api = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -mockall = "0.11" -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +mockall = { workspace = true } +sp-core = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/pallet-bootnodes/Cargo.toml b/crates/pallet-bootnodes/Cargo.toml index eac248bff..cfebc4e4a 100644 --- a/crates/pallet-bootnodes/Cargo.toml +++ b/crates/pallet-bootnodes/Cargo.toml @@ -5,20 +5,20 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-benchmarking = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", features = ["derive"], optional = true } -sp-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-api = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -mockall = "0.11" -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +mockall = { workspace = true } +sp-core = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/pallet-chain-properties/Cargo.toml b/crates/pallet-chain-properties/Cargo.toml index db0069cf4..7ee64af3d 100644 --- a/crates/pallet-chain-properties/Cargo.toml +++ b/crates/pallet-chain-properties/Cargo.toml @@ -5,15 +5,15 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } [dev-dependencies] -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-core = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/pallet-chain-start-moment/Cargo.toml b/crates/pallet-chain-start-moment/Cargo.toml index f14031f9a..3bf0325e9 100644 --- a/crates/pallet-chain-start-moment/Cargo.toml +++ b/crates/pallet-chain-start-moment/Cargo.toml @@ -5,14 +5,14 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } [dev-dependencies] -pallet-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-timestamp = { workspace = true } +sp-core = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-currency-swap/Cargo.toml b/crates/pallet-currency-swap/Cargo.toml index 9f437c5ae..df1c2f310 100644 --- a/crates/pallet-currency-swap/Cargo.toml +++ b/crates/pallet-currency-swap/Cargo.toml @@ -5,22 +5,22 @@ edition = "2021" publish = false [dependencies] -primitives-currency-swap = { version = "0.1", path = "../primitives-currency-swap", default-features = false } +primitives-currency-swap = { path = "../primitives-currency-swap", default-features = false } -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-benchmarking = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -mockall = "0.11" -pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-evm-balances = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-system = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +mockall = { workspace = true } +pallet-balances = { workspace = true } +pallet-evm-balances = { workspace = true } +pallet-evm-system = { workspace = true } +sp-core = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-ethereum-chain-id/Cargo.toml b/crates/pallet-ethereum-chain-id/Cargo.toml index 849c08dc2..b3999d3d2 100644 --- a/crates/pallet-ethereum-chain-id/Cargo.toml +++ b/crates/pallet-ethereum-chain-id/Cargo.toml @@ -5,15 +5,15 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } [dev-dependencies] -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-core = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/pallet-evm-accounts-mapping/Cargo.toml b/crates/pallet-evm-accounts-mapping/Cargo.toml index 627187685..62c3f9dea 100644 --- a/crates/pallet-evm-accounts-mapping/Cargo.toml +++ b/crates/pallet-evm-accounts-mapping/Cargo.toml @@ -5,19 +5,19 @@ edition = "2021" publish = false [dependencies] -primitives-ethereum = { version = "0.1", path = "../primitives-ethereum", default-features = false } +primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-benchmarking = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -mockall = "0.11" -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +mockall = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-humanode-session/Cargo.toml b/crates/pallet-humanode-session/Cargo.toml index bf987714d..81ac9cbaf 100644 --- a/crates/pallet-humanode-session/Cargo.toml +++ b/crates/pallet-humanode-session/Cargo.toml @@ -5,18 +5,16 @@ edition = "2021" publish = false [dependencies] -pallet-bioauth = { version = "0.1", path = "../pallet-bioauth", default-features = false } -pallet-bootnodes = { version = "0.1", path = "../pallet-bootnodes", default-features = false } +pallet-bioauth = { path = "../pallet-bioauth", default-features = false } +pallet-bootnodes = { path = "../pallet-bootnodes", default-features = false } -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-session = { default-features = false, features = [ - "historical", -], git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +pallet-session = { workspace = true, default-features = false, features = ["historical"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/pallet-pot/Cargo.toml b/crates/pallet-pot/Cargo.toml index 1dbd676cf..ef73f8452 100644 --- a/crates/pallet-pot/Cargo.toml +++ b/crates/pallet-pot/Cargo.toml @@ -5,13 +5,13 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", features = ["derive"], optional = true } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/pallet-token-claims/Cargo.toml b/crates/pallet-token-claims/Cargo.toml index 6ed04f6d6..512f80e22 100644 --- a/crates/pallet-token-claims/Cargo.toml +++ b/crates/pallet-token-claims/Cargo.toml @@ -5,23 +5,23 @@ edition = "2021" publish = false [dependencies] -primitives-ethereum = { version = "0.1", path = "../primitives-ethereum", default-features = false } +primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-benchmarking = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", optional = true } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true } [dev-dependencies] -pallet-pot = { version = "0.1", path = "../pallet-pot" } +pallet-pot = { path = "../pallet-pot" } -mockall = "0.11" -pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -serde_json = "1" -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +mockall = { workspace = true } +pallet-balances = { workspace = true } +serde_json = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-vesting/Cargo.toml b/crates/pallet-vesting/Cargo.toml index dd18c300e..2961cb6ad 100644 --- a/crates/pallet-vesting/Cargo.toml +++ b/crates/pallet-vesting/Cargo.toml @@ -5,19 +5,19 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-benchmarking = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", optional = true } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", optional = true } -sp-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-benchmarking = { workspace = true, default-features = false, optional = true } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true } +sp-api = { workspace = true, default-features = false } [dev-dependencies] -mockall = "0.11" -once_cell = "1" -pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +mockall = { workspace = true } +once_cell = { workspace = true } +pallet-balances = { workspace = true } +sp-core = { workspace = true } [features] default = ["std"] diff --git a/crates/precompile-bioauth/Cargo.toml b/crates/precompile-bioauth/Cargo.toml index c2bedc995..b671304cf 100644 --- a/crates/precompile-bioauth/Cargo.toml +++ b/crates/precompile-bioauth/Cargo.toml @@ -5,25 +5,25 @@ edition = "2021" publish = false [dependencies] -pallet-bioauth = { version = "0.1", path = "../pallet-bioauth", default-features = false } +pallet-bioauth = { path = "../pallet-bioauth", default-features = false } precompile-utils = { path = "../precompile-utils", default-features = false } -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -getrandom = { version = "0.2", features = ["js"] } -num_enum = { version = "0.6.0", default-features = false } -pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", features = ["derive"], optional = true } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +fp-evm = { workspace = true, default-features = false } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +getrandom = { workspace = true, features = ["js"] } +num_enum = { workspace = true, default-features = false } +pallet-evm = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -mockall = "0.11" -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +mockall = { workspace = true } +sp-core = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/precompile-currency-swap/Cargo.toml b/crates/precompile-currency-swap/Cargo.toml index 5818a81a8..3d10566ae 100644 --- a/crates/precompile-currency-swap/Cargo.toml +++ b/crates/precompile-currency-swap/Cargo.toml @@ -8,23 +8,23 @@ publish = false precompile-utils = { path = "../precompile-utils", default-features = false } primitives-currency-swap = { path = "../primitives-currency-swap", default-features = false } -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -num_enum = { version = "0.6.0", default-features = false } -pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +fp-evm = { workspace = true, default-features = false } +frame-support = { workspace = true, default-features = false } +num_enum = { workspace = true, default-features = false } +pallet-evm = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +sp-core = { workspace = true, default-features = false } [dev-dependencies] -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -hex-literal = "0.4" -mockall = "0.11" -pallet-balances = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-evm = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-balances = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-system = { default-features = false, git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-timestamp = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-system = { workspace = true, default-features = false } +hex-literal = { workspace = true } +mockall = { workspace = true } +pallet-balances = { workspace = true, default-features = false } +pallet-evm = { workspace = true, default-features = false } +pallet-evm-balances = { workspace = true, default-features = false } +pallet-evm-system = { workspace = true, default-features = false } +pallet-timestamp = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/precompile-evm-accounts-mapping/Cargo.toml b/crates/precompile-evm-accounts-mapping/Cargo.toml index 200c3e4e2..abc2746f9 100644 --- a/crates/precompile-evm-accounts-mapping/Cargo.toml +++ b/crates/precompile-evm-accounts-mapping/Cargo.toml @@ -5,22 +5,22 @@ edition = "2021" publish = false [dependencies] -pallet-evm-accounts-mapping = { version = "0.1", path = "../pallet-evm-accounts-mapping", default-features = false } -primitives-ethereum = { version = "0.1", path = "../primitives-ethereum", default-features = false } +pallet-evm-accounts-mapping = { path = "../pallet-evm-accounts-mapping", default-features = false } +primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +fp-evm = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [dev-dependencies] -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -hex-literal = "0.4" -mockall = "0.11" -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-core = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +hex-literal = { workspace = true } +mockall = { workspace = true } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +sp-core = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/precompile-utils/Cargo.toml b/crates/precompile-utils/Cargo.toml index af541b685..8dc736932 100644 --- a/crates/precompile-utils/Cargo.toml +++ b/crates/precompile-utils/Cargo.toml @@ -7,29 +7,29 @@ version = "0.1.0" publish = false [dependencies] -impl-trait-for-tuples = "0.2.2" -log = "0.4" -num_enum = { version = "0.6.0", default-features = false } -sha3 = { version = "0.10", default-features = false } -similar-asserts = { version = "1.1.0", optional = true } +impl-trait-for-tuples = { workspace = true } +log = { workspace = true } +num_enum = { workspace = true, default-features = false } +sha3 = { workspace = true, default-features = false } +similar-asserts = { workspace = true, optional = true } precompile-utils-macro = { path = "macro" } # Substrate -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false } -frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +codec = { workspace = true, package = "parity-scale-codec", default-features = false } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +sp-core = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } # Frontier -evm = { version = "0.37", default-features = false, features = ["with-codec"] } -fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +evm = { workspace = true, default-features = false, features = ["with-codec"] } +fp-evm = { workspace = true, default-features = false } +pallet-evm = { workspace = true, default-features = false } [dev-dependencies] -hex-literal = "0.4.1" +hex-literal = { workspace = true } [features] default = ["std"] diff --git a/crates/precompile-utils/macro/Cargo.toml b/crates/precompile-utils/macro/Cargo.toml index 8261b284a..85f3e439d 100644 --- a/crates/precompile-utils/macro/Cargo.toml +++ b/crates/precompile-utils/macro/Cargo.toml @@ -14,8 +14,8 @@ name = "tests" path = "tests/tests.rs" [dependencies] -num_enum = { version = "0.5.3", default-features = false } -proc-macro2 = "1.0" -quote = "1.0" -sha3 = "0.9" -syn = { version = "1.0", features = ["extra-traits", "fold", "full", "visit"] } +num_enum = { version = "0.5.3", default-features = false } # special case, exlucded from workspace dependencies +proc-macro2 = { workspace = true } +quote = { workspace = true } +sha3 = "0.9" # special case, exlucded from workspace dependencies +syn = { workspace = true, features = ["extra-traits", "fold", "full", "visit"] } diff --git a/crates/primitives-auth-ticket/Cargo.toml b/crates/primitives-auth-ticket/Cargo.toml index 467b96c4c..aed9fe429 100644 --- a/crates/primitives-auth-ticket/Cargo.toml +++ b/crates/primitives-auth-ticket/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", features = ["derive"], optional = true } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-std = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/primitives-currency-swap-proxy/Cargo.toml b/crates/primitives-currency-swap-proxy/Cargo.toml index e3a58e31f..f65b0f69d 100644 --- a/crates/primitives-currency-swap-proxy/Cargo.toml +++ b/crates/primitives-currency-swap-proxy/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -primitives-currency-swap = { version = "0.1", path = "../primitives-currency-swap", default-features = false } +primitives-currency-swap = { path = "../primitives-currency-swap", default-features = false } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-support = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/primitives-currency-swap/Cargo.toml b/crates/primitives-currency-swap/Cargo.toml index 4468a8169..bd616736b 100644 --- a/crates/primitives-currency-swap/Cargo.toml +++ b/crates/primitives-currency-swap/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-support = { workspace = true, default-features = false } [features] default = ["std"] diff --git a/crates/primitives-ethereum/Cargo.toml b/crates/primitives-ethereum/Cargo.toml index 252ac823b..734326e9a 100644 --- a/crates/primitives-ethereum/Cargo.toml +++ b/crates/primitives-ethereum/Cargo.toml @@ -5,15 +5,15 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -rustc-hex = { version = "2.1.0", default-features = false } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", optional = true } +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +rustc-hex = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, optional = true } [dev-dependencies] -serde_json = "1" +serde_json = { workspace = true } [features] default = ["std"] diff --git a/crates/primitives-liveness-data/Cargo.toml b/crates/primitives-liveness-data/Cargo.toml index 196a83ec0..68e88cc70 100644 --- a/crates/primitives-liveness-data/Cargo.toml +++ b/crates/primitives-liveness-data/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", features = ["derive"] } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, features = ["derive"] } [features] diff --git a/crates/robonode-client/Cargo.toml b/crates/robonode-client/Cargo.toml index 3ba39ed78..0b5b504a8 100644 --- a/crates/robonode-client/Cargo.toml +++ b/crates/robonode-client/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" publish = false [dependencies] -reqwest = { version = "0.11", features = ["json"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -thiserror = "1" +reqwest = { workspace = true, features = ["json"] } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -assert_matches = "1.5" -tokio = { version = "1", features = ["full"] } -wiremock = "0.5" +assert_matches = { workspace = true } +tokio = { workspace = true, features = ["full"] } +wiremock = { workspace = true } diff --git a/crates/robonode-crypto/Cargo.toml b/crates/robonode-crypto/Cargo.toml index 41ea5923d..9ff6d9e10 100644 --- a/crates/robonode-crypto/Cargo.toml +++ b/crates/robonode-crypto/Cargo.toml @@ -5,11 +5,11 @@ edition = "2021" publish = false [dependencies] -ed25519-dalek = { version = "2", default-features = false, features = ["rand_core", "zeroize"] } +ed25519-dalek = { workspace = true, default-features = false, features = ["rand_core", "zeroize"] } [dev-dependencies] -hex-literal = "0.4.1" -rand = "0.8" +hex-literal = { workspace = true } +rand = { workspace = true } [features] default = ["std"] diff --git a/crates/robonode-keygen/Cargo.toml b/crates/robonode-keygen/Cargo.toml index c6fdf2c18..06515154d 100644 --- a/crates/robonode-keygen/Cargo.toml +++ b/crates/robonode-keygen/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -robonode-crypto = { version = "0.1", path = "../robonode-crypto" } +robonode-crypto = { path = "../robonode-crypto" } -hex = "0.4" -rand = "0.8" +hex = { workspace = true } +rand = { workspace = true } diff --git a/crates/robonode-server/Cargo.toml b/crates/robonode-server/Cargo.toml index 4bb4d5ca4..553007427 100644 --- a/crates/robonode-server/Cargo.toml +++ b/crates/robonode-server/Cargo.toml @@ -5,27 +5,27 @@ edition = "2021" publish = false [dependencies] -facetec-api-client = { version = "0.1", path = "../facetec-api-client" } -primitives-auth-ticket = { version = "0.1", path = "../primitives-auth-ticket" } -primitives-liveness-data = { version = "0.1", path = "../primitives-liveness-data" } -robonode-crypto = { version = "0.1", path = "../robonode-crypto" } +facetec-api-client = { path = "../facetec-api-client" } +primitives-auth-ticket = { path = "../primitives-auth-ticket" } +primitives-liveness-data = { path = "../primitives-liveness-data" } +robonode-crypto = { path = "../robonode-crypto" } -async-trait = "0.1" -hex = "0.4" -reqwest = "0.11" -sc-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -serde = { version = "1", features = ["derive"] } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -tokio = { version = "1", features = ["full"] } -tracing = "0.1" -uuid = { version = "1.3", features = ["v4"] } -warp = "0.3" +async-trait = { workspace = true } +hex = { workspace = true } +reqwest = { workspace = true } +sc-tracing = { workspace = true } +serde = { workspace = true, features = ["derive"] } +sp-core = { workspace = true } +tokio = { workspace = true, features = ["full"] } +tracing = { workspace = true } +uuid = { workspace = true, features = ["v4"] } +warp = { workspace = true } [dev-dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2" } -mockall = "0.11" -serde_json = "1" -tracing-test = "0.2" +codec = { workspace = true, package = "parity-scale-codec" } +mockall = { workspace = true } +serde_json = { workspace = true } +tracing-test = { workspace = true } [features] logic-integration-tests = [] diff --git a/crates/rpc-deny-unsafe/Cargo.toml b/crates/rpc-deny-unsafe/Cargo.toml index e8f0fe54c..62fea402f 100644 --- a/crates/rpc-deny-unsafe/Cargo.toml +++ b/crates/rpc-deny-unsafe/Cargo.toml @@ -5,4 +5,4 @@ edition = "2021" publish = false [dependencies] -sc-rpc-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-rpc-api = { workspace = true } diff --git a/crates/rpc-error-response/Cargo.toml b/crates/rpc-error-response/Cargo.toml index 11767d68c..45756d912 100644 --- a/crates/rpc-error-response/Cargo.toml +++ b/crates/rpc-error-response/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" publish = false [dependencies] -jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -serde = "1" +jsonrpsee = { workspace = true, features = ["server", "macros"] } +serde = { workspace = true } diff --git a/crates/rpc-validator-key-logic/Cargo.toml b/crates/rpc-validator-key-logic/Cargo.toml index 4c4f32c78..f33ad73d7 100644 --- a/crates/rpc-validator-key-logic/Cargo.toml +++ b/crates/rpc-validator-key-logic/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" publish = false [dependencies] -bioauth-keys = { version = "0.1", path = "../bioauth-keys" } +bioauth-keys = { path = "../bioauth-keys" } -jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -serde_json = "1" -thiserror = "1" -tracing = "0.1" +jsonrpsee = { workspace = true, features = ["server", "macros"] } +serde_json = { workspace = true } +thiserror = { workspace = true } +tracing = { workspace = true } diff --git a/crates/vesting-schedule-linear/Cargo.toml b/crates/vesting-schedule-linear/Cargo.toml index ceaefbd89..c76de4f93 100644 --- a/crates/vesting-schedule-linear/Cargo.toml +++ b/crates/vesting-schedule-linear/Cargo.toml @@ -5,17 +5,17 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = [ +codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = [ "derive", "max-encoded-len", ] } -num-traits = { version = "0.2", default-features = false } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -serde = { version = "1", features = ["derive"], optional = true } +num-traits = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } [dev-dependencies] -num = "0.4" -serde_json = "1" +num = { workspace = true } +serde_json = { workspace = true } [features] default = ["std"] diff --git a/crates/vesting-scheduling-timestamp/Cargo.toml b/crates/vesting-scheduling-timestamp/Cargo.toml index d98e371f4..a39fa8aac 100644 --- a/crates/vesting-scheduling-timestamp/Cargo.toml +++ b/crates/vesting-scheduling-timestamp/Cargo.toml @@ -5,16 +5,16 @@ edition = "2021" publish = false [dependencies] -pallet-vesting = { version = "0.1", path = "../pallet-vesting", default-features = false } -vesting-schedule-linear = { version = "0.1", path = "../vesting-schedule-linear", default-features = false } +pallet-vesting = { path = "../pallet-vesting", default-features = false } +vesting-schedule-linear = { path = "../vesting-schedule-linear", default-features = false } -frame-support = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -num-traits = { version = "0.2", default-features = false } -serde = { version = "1", optional = true } +frame-support = { workspace = true, default-features = false } +num-traits = { workspace = true, default-features = false } +serde = { workspace = true, optional = true } [dev-dependencies] -mockall = "0.11" -serde_json = "1" +mockall = { workspace = true } +serde_json = { workspace = true } [features] default = ["std"] From 92b84e3a88a5ac8ef2185b70bbe7d82922bab345 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 24 Apr 2023 15:52:55 +0300 Subject: [PATCH 2/8] Use the additive nature of the package dependency --- Cargo.toml | 130 ++++++++++-------- crates/author-ext-api/Cargo.toml | 8 +- crates/bioauth-flow-api/Cargo.toml | 8 +- crates/eip191-crypto/Cargo.toml | 8 +- crates/eip712-common-test-utils/Cargo.toml | 2 +- crates/eip712-common/Cargo.toml | 6 +- crates/humanode-peer/Cargo.toml | 7 +- crates/humanode-runtime/Cargo.toml | 97 +++++++------ crates/keystore-bioauth-account-id/Cargo.toml | 12 +- crates/pallet-bioauth/Cargo.toml | 20 +-- crates/pallet-bootnodes/Cargo.toml | 20 +-- crates/pallet-chain-properties/Cargo.toml | 14 +- crates/pallet-chain-start-moment/Cargo.toml | 8 +- crates/pallet-ethereum-chain-id/Cargo.toml | 14 +- crates/pallet-evm-accounts-mapping/Cargo.toml | 12 +- crates/pallet-humanode-session/Cargo.toml | 14 +- crates/pallet-pot/Cargo.toml | 12 +- crates/pallet-token-claims/Cargo.toml | 10 +- crates/pallet-vesting/Cargo.toml | 12 +- crates/precompile-bioauth/Cargo.toml | 22 +-- .../Cargo.toml | 18 +-- crates/precompile-utils/Cargo.toml | 22 +-- crates/primitives-auth-ticket/Cargo.toml | 6 +- crates/primitives-ethereum/Cargo.toml | 10 +- crates/primitives-liveness-data/Cargo.toml | 2 +- crates/robonode-crypto/Cargo.toml | 2 +- crates/vesting-schedule-linear/Cargo.toml | 9 +- .../vesting-scheduling-timestamp/Cargo.toml | 4 +- 28 files changed, 260 insertions(+), 249 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2c9864edc..169c9e740 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,43 +9,49 @@ assert_matches = "1.5" async-trait = "0.1" bip32 = "0.5.0" bytes = "1" -chrono = "0.4" +chrono = { version = "0.4", default-features = false } clap = "4" +<<<<<<< HEAD ed25519-dalek = "2" ethereum = "0.14" ethers-core = "2.0.3" evm = "0.37" +======= +ed25519-dalek = { version = "1", default-features = false } +ethers-core = { version = "2.0.3", default-features = false } +evm = { version = "0.37", default-features = false } +>>>>>>> ca58964b (Use the additive nature of the package dependency) fdlimit = "0.2" futures = "0.3" getrandom = "0.2" -hex = "0.4" +hex = { version = "0.4", default-features = false } hex-literal = "0.4" http = "0.2" http-body = "0.4" impl-trait-for-tuples = "0.2" indoc = "2.0" -jsonrpsee = "0.16.2" -libsecp256k1 = "0.7" +jsonrpsee = { version = "0.16.2", default-features = false } +libsecp256k1 = { version = "0.7", default-features = false } log = "0.4" mockall = "0.11" num = "0.4" -num_enum = "0.6" -num-traits = "0.2" -numtoa = "0.2" +num_enum = { version = "0.6", default-features = false } +num-traits = { version = "0.2", default-features = false } +numtoa = { version = "0.2", default-features = false } once_cell = "1" proc-macro2 = "1" qr2term = "0.3" quote = "1.0" rand = "0.8" reqwest = "0.11" -rustc-hex = "2" -scale-info = "2.5.0" +rustc-hex = { version = "2", default-features = false } +scale-info = { version = "2.5.0", default-features = false } secp256k1 = "0.27" -serde = "1" +serde = { version = "1", default-features = false } serde_json = "1" -sha3 = "0.10" +sha3 = { version = "0.10", default-features = false } similar-asserts = "1" -static_assertions = "1" +static_assertions = { version = "1", default-features = false } syn = "1" thiserror = "1.0.29" tiny-bip39 = "1" @@ -54,36 +60,36 @@ tracing = "0.1" tracing-test = "0.2" url = "2" uuid = "1" -vergen = "8" +vergen = { version = "8", default-features = false } warp = "0.3" wiremock = "0.5" # Special case for codec. -codec = { package = "parity-scale-codec", version = "3.2.2" } +codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false } # Substrate fork. -frame-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } frame-benchmarking-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-executive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-system-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -frame-try-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-im-online = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-multisig = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-offences = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-sudo = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-transaction-payment = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-executive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +frame-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +frame-system-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +frame-try-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-im-online = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-multisig = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-offences = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-sudo = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-transaction-payment = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-transaction-payment-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -pallet-utility = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-utility = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sc-basic-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } sc-chain-spec = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } sc-chain-spec-derive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } @@ -106,29 +112,29 @@ sc-tracing = { git = "https://github.com/humanode-network/substrate", branch = " sc-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } sc-utils = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-application-crypto = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-block-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-application-crypto = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-block-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } sp-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-core-hashing-proc-macro = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-inherents = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-keyring = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-offchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-panic-handler = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-staking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-std = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-core-hashing-proc-macro = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-inherents = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-keyring = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-offchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-panic-handler = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-staking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-version = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-version = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } substrate-frame-rpc-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } substrate-wasm-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } try-runtime-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } @@ -141,10 +147,11 @@ fc-mapping-sync = { git = "https://github.com/humanode-network/frontier", branch fc-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } fc-rpc-core = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } fc-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fp-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fp-self-contained = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fp-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fp-self-contained = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } fp-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +<<<<<<< HEAD pallet-ethereum = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } pallet-evm-balances = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } @@ -152,6 +159,15 @@ pallet-evm-precompile-modexp = { git = "https://github.com/humanode-network/fron pallet-evm-precompile-sha3fips = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } pallet-evm-precompile-simple = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } pallet-evm-system = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +======= +pallet-base-fee = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-dynamic-fee = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-ethereum = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +>>>>>>> ca58964b (Use the additive nature of the package dependency) [profile.release-lto] inherits = "release" diff --git a/crates/author-ext-api/Cargo.toml b/crates/author-ext-api/Cargo.toml index 8be0d51ea..ea1f8deb7 100644 --- a/crates/author-ext-api/Cargo.toml +++ b/crates/author-ext-api/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } -sp-api = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec" } +scale-info = { workspace = true, features = ["derive"] } +sp-api = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/bioauth-flow-api/Cargo.toml b/crates/bioauth-flow-api/Cargo.toml index 9d9a2c486..56681344f 100644 --- a/crates/bioauth-flow-api/Cargo.toml +++ b/crates/bioauth-flow-api/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } -sp-api = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec" } +scale-info = { workspace = true, features = ["derive"] } +sp-api = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/eip191-crypto/Cargo.toml b/crates/eip191-crypto/Cargo.toml index 6a4b96a52..7850aac50 100644 --- a/crates/eip191-crypto/Cargo.toml +++ b/crates/eip191-crypto/Cargo.toml @@ -7,10 +7,10 @@ publish = false [dependencies] primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -numtoa = { workspace = true, default-features = false } -sp-core-hashing-proc-macro = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +numtoa = { workspace = true } +sp-core-hashing-proc-macro = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] hex = { workspace = true } diff --git a/crates/eip712-common-test-utils/Cargo.toml b/crates/eip712-common-test-utils/Cargo.toml index bbccb3152..a5edb1ee8 100644 --- a/crates/eip712-common-test-utils/Cargo.toml +++ b/crates/eip712-common-test-utils/Cargo.toml @@ -8,7 +8,7 @@ publish = false eip712-common = { path = "../eip712-common" } primitives-ethereum = { path = "../primitives-ethereum" } -ethers-core = { workspace = true, default-features = false, features = ["eip712"] } +ethers-core = { workspace = true, features = ["eip712"] } hex-literal = { workspace = true } secp256k1 = { workspace = true } serde_json = { workspace = true } diff --git a/crates/eip712-common/Cargo.toml b/crates/eip712-common/Cargo.toml index 4be021384..88bb3cd2c 100644 --- a/crates/eip712-common/Cargo.toml +++ b/crates/eip712-common/Cargo.toml @@ -7,9 +7,9 @@ publish = false [dependencies] primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -sp-core-hashing-proc-macro = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +sp-core-hashing-proc-macro = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] hex-literal = { workspace = true } diff --git a/crates/humanode-peer/Cargo.toml b/crates/humanode-peer/Cargo.toml index 27f6a1f5b..c669525bd 100644 --- a/crates/humanode-peer/Cargo.toml +++ b/crates/humanode-peer/Cargo.toml @@ -42,9 +42,8 @@ frame-system-rpc-runtime-api = { workspace = true } futures = { workspace = true } hex = { workspace = true } hex-literal = { workspace = true } -pallet-balances = { workspace = true, default-features = false } -pallet-im-online = { workspace = true, default-features = false } -pallet-transaction-payment = { workspace = true, default-features = false } +pallet-im-online = { workspace = true } +pallet-transaction-payment = { workspace = true } qr2term = { workspace = true } reqwest = { workspace = true } sc-basic-authorship = { workspace = true } @@ -90,7 +89,7 @@ indoc = { workspace = true } sp-io = { workspace = true } [build-dependencies] -vergen = { workspace = true, default-features = false, features = ["cargo", "git", "gitcl"] } +vergen = { workspace = true, features = ["cargo", "git", "gitcl"] } [features] default = [] diff --git a/crates/humanode-runtime/Cargo.toml b/crates/humanode-runtime/Cargo.toml index b71059548..cc442ff34 100644 --- a/crates/humanode-runtime/Cargo.toml +++ b/crates/humanode-runtime/Cargo.toml @@ -40,57 +40,56 @@ robonode-crypto = { path = "../robonode-crypto", default-features = false } vesting-schedule-linear = { path = "../vesting-schedule-linear", default-features = false } vesting-scheduling-timestamp = { path = "../vesting-scheduling-timestamp", default-features = false } -chrono = { workspace = true, default-features = false } -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -fp-evm = { workspace = true } -fp-rpc = { workspace = true, default-features = false } -fp-self-contained = { workspace = true, default-features = false } -frame-benchmarking = { workspace = true, default-features = false, optional = true } -frame-executive = { workspace = true, default-features = false } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -frame-system-benchmarking = { workspace = true, default-features = false, optional = true } -frame-system-rpc-runtime-api = { workspace = true, default-features = false } -frame-try-runtime = { workspace = true, default-features = false, optional = true } +chrono = { workspace = true } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +fp-rpc = { workspace = true } +fp-self-contained = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-benchmarking = { workspace = true, optional = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { workspace = true, optional = true } hex-literal = { workspace = true, optional = true } -libsecp256k1 = { workspace = true, default-features = false } -pallet-authorship = { workspace = true, default-features = false } -pallet-babe = { workspace = true, default-features = false } -pallet-balances = { workspace = true, default-features = false } -pallet-ethereum = { workspace = true, default-features = false } -pallet-evm = { workspace = true, default-features = false } -pallet-evm-balances = { workspace = true, default-features = false } -pallet-evm-precompile-modexp = { workspace = true, default-features = false } -pallet-evm-precompile-sha3fips = { workspace = true, default-features = false } -pallet-evm-precompile-simple = { workspace = true, default-features = false } -pallet-evm-system = { workspace = true, default-features = false } -pallet-grandpa = { workspace = true, default-features = false } -pallet-im-online = { workspace = true, default-features = false } -pallet-multisig = { workspace = true, default-features = false } -pallet-offences = { workspace = true, default-features = false } -pallet-session = { workspace = true, default-features = false, features = ["historical"] } -pallet-sudo = { workspace = true, default-features = false } -pallet-timestamp = { workspace = true, default-features = false } -pallet-transaction-payment = { workspace = true, default-features = false } -pallet-transaction-payment-rpc-runtime-api = { workspace = true, default-features = false } -pallet-utility = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +libsecp256k1 = { workspace = true } +pallet-authorship = { workspace = true } +pallet-babe = { workspace = true } +pallet-balances = { workspace = true } +pallet-base-fee = { workspace = true } +pallet-dynamic-fee = { workspace = true } +pallet-ethereum = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-precompile-modexp = { workspace = true } +pallet-evm-precompile-sha3fips = { workspace = true } +pallet-evm-precompile-simple = { workspace = true } +pallet-grandpa = { workspace = true } +pallet-im-online = { workspace = true } +pallet-multisig = { workspace = true } +pallet-offences = { workspace = true } +pallet-session = { workspace = true, features = ["historical"] } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } -sp-api = { workspace = true, default-features = false } -sp-application-crypto = { workspace = true, default-features = false } -sp-block-builder = { workspace = true, default-features = false } -sp-consensus-babe = { workspace = true, default-features = false } -sp-core = { workspace = true, default-features = false } -sp-inherents = { workspace = true, default-features = false } -sp-offchain = { workspace = true, default-features = false } -sp-runtime = { workspace = true, default-features = false } -sp-session = { workspace = true, default-features = false } -sp-staking = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } -sp-tracing = { workspace = true, default-features = false } -sp-transaction-pool = { workspace = true, default-features = false } -sp-version = { workspace = true, default-features = false } -static_assertions = { workspace = true, default-features = false } +sp-api = { workspace = true } +sp-application-crypto = { workspace = true } +sp-block-builder = { workspace = true } +sp-consensus-babe = { workspace = true } +sp-core = { workspace = true } +sp-inherents = { workspace = true } +sp-offchain = { workspace = true } +sp-runtime = { workspace = true } +sp-session = { workspace = true } +sp-staking = { workspace = true } +sp-std = { workspace = true } +sp-tracing = { workspace = true } +sp-transaction-pool = { workspace = true } +sp-version = { workspace = true } +static_assertions = { workspace = true } [dev-dependencies] crypto-utils = { path = "../crypto-utils" } diff --git a/crates/keystore-bioauth-account-id/Cargo.toml b/crates/keystore-bioauth-account-id/Cargo.toml index 8f11a5e33..094f966f6 100644 --- a/crates/keystore-bioauth-account-id/Cargo.toml +++ b/crates/keystore-bioauth-account-id/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } -sp-application-crypto = { workspace = true, default-features = false } -sp-core = { workspace = true, default-features = false } -sp-runtime = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } +sp-application-crypto = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-bioauth/Cargo.toml b/crates/pallet-bioauth/Cargo.toml index 7c46d34ce..bdd93d1a1 100644 --- a/crates/pallet-bioauth/Cargo.toml +++ b/crates/pallet-bioauth/Cargo.toml @@ -5,21 +5,21 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-benchmarking = { workspace = true, default-features = false, optional = true } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } hex-literal = { workspace = true, optional = true } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } -sp-api = { workspace = true, default-features = false } -sp-runtime = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +sp-api = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] mockall = { workspace = true } -sp-core = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } +sp-core = { workspace = true } +sp-io = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-bootnodes/Cargo.toml b/crates/pallet-bootnodes/Cargo.toml index cfebc4e4a..c479180b9 100644 --- a/crates/pallet-bootnodes/Cargo.toml +++ b/crates/pallet-bootnodes/Cargo.toml @@ -5,20 +5,20 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-benchmarking = { workspace = true, default-features = false, optional = true } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } -sp-api = { workspace = true, default-features = false } -sp-runtime = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +sp-api = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] mockall = { workspace = true } -sp-core = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } +sp-core = { workspace = true } +sp-io = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-chain-properties/Cargo.toml b/crates/pallet-chain-properties/Cargo.toml index 7ee64af3d..a44a3ac8a 100644 --- a/crates/pallet-chain-properties/Cargo.toml +++ b/crates/pallet-chain-properties/Cargo.toml @@ -5,15 +5,15 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } [dev-dependencies] -sp-core = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } -sp-runtime = { workspace = true, default-features = false } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-chain-start-moment/Cargo.toml b/crates/pallet-chain-start-moment/Cargo.toml index 3bf0325e9..e4a32ae45 100644 --- a/crates/pallet-chain-start-moment/Cargo.toml +++ b/crates/pallet-chain-start-moment/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } [dev-dependencies] pallet-timestamp = { workspace = true } diff --git a/crates/pallet-ethereum-chain-id/Cargo.toml b/crates/pallet-ethereum-chain-id/Cargo.toml index b3999d3d2..cce77a490 100644 --- a/crates/pallet-ethereum-chain-id/Cargo.toml +++ b/crates/pallet-ethereum-chain-id/Cargo.toml @@ -5,15 +5,15 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } [dev-dependencies] -sp-core = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } -sp-runtime = { workspace = true, default-features = false } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-evm-accounts-mapping/Cargo.toml b/crates/pallet-evm-accounts-mapping/Cargo.toml index 62c3f9dea..506abfd60 100644 --- a/crates/pallet-evm-accounts-mapping/Cargo.toml +++ b/crates/pallet-evm-accounts-mapping/Cargo.toml @@ -7,12 +7,12 @@ publish = false [dependencies] primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-benchmarking = { workspace = true, default-features = false, optional = true } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } -sp-std = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } +sp-std = { workspace = true } [dev-dependencies] mockall = { workspace = true } diff --git a/crates/pallet-humanode-session/Cargo.toml b/crates/pallet-humanode-session/Cargo.toml index 81ac9cbaf..ba034ec97 100644 --- a/crates/pallet-humanode-session/Cargo.toml +++ b/crates/pallet-humanode-session/Cargo.toml @@ -8,13 +8,13 @@ publish = false pallet-bioauth = { path = "../pallet-bioauth", default-features = false } pallet-bootnodes = { path = "../pallet-bootnodes", default-features = false } -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -pallet-session = { workspace = true, default-features = false, features = ["historical"] } -scale-info = { workspace = true, default-features = false, features = ["derive"] } -sp-runtime = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-session = { workspace = true, features = ["historical"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-pot/Cargo.toml b/crates/pallet-pot/Cargo.toml index ef73f8452..e9b084044 100644 --- a/crates/pallet-pot/Cargo.toml +++ b/crates/pallet-pot/Cargo.toml @@ -5,13 +5,13 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } -sp-runtime = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/pallet-token-claims/Cargo.toml b/crates/pallet-token-claims/Cargo.toml index 512f80e22..90e3f60d4 100644 --- a/crates/pallet-token-claims/Cargo.toml +++ b/crates/pallet-token-claims/Cargo.toml @@ -7,11 +7,11 @@ publish = false [dependencies] primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-benchmarking = { workspace = true, default-features = false, optional = true } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, optional = true } [dev-dependencies] diff --git a/crates/pallet-vesting/Cargo.toml b/crates/pallet-vesting/Cargo.toml index 2961cb6ad..681efe2e2 100644 --- a/crates/pallet-vesting/Cargo.toml +++ b/crates/pallet-vesting/Cargo.toml @@ -5,13 +5,13 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-benchmarking = { workspace = true, default-features = false, optional = true } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, optional = true } -sp-api = { workspace = true, default-features = false } +sp-api = { workspace = true } [dev-dependencies] mockall = { workspace = true } diff --git a/crates/precompile-bioauth/Cargo.toml b/crates/precompile-bioauth/Cargo.toml index b671304cf..0f38c097a 100644 --- a/crates/precompile-bioauth/Cargo.toml +++ b/crates/precompile-bioauth/Cargo.toml @@ -8,22 +8,22 @@ publish = false pallet-bioauth = { path = "../pallet-bioauth", default-features = false } precompile-utils = { path = "../precompile-utils", default-features = false } -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -fp-evm = { workspace = true, default-features = false } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +fp-evm = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } getrandom = { workspace = true, features = ["js"] } -num_enum = { workspace = true, default-features = false } -pallet-evm = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +num_enum = { workspace = true } +pallet-evm = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } -sp-runtime = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] mockall = { workspace = true } -sp-core = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } +sp-core = { workspace = true } +sp-io = { workspace = true } [features] default = ["std"] diff --git a/crates/precompile-evm-accounts-mapping/Cargo.toml b/crates/precompile-evm-accounts-mapping/Cargo.toml index abc2746f9..41fa79c53 100644 --- a/crates/precompile-evm-accounts-mapping/Cargo.toml +++ b/crates/precompile-evm-accounts-mapping/Cargo.toml @@ -8,19 +8,19 @@ publish = false pallet-evm-accounts-mapping = { path = "../pallet-evm-accounts-mapping", default-features = false } primitives-ethereum = { path = "../primitives-ethereum", default-features = false } -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -fp-evm = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +fp-evm = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } +frame-support = { workspace = true } +frame-system = { workspace = true } hex-literal = { workspace = true } mockall = { workspace = true } -scale-info = { workspace = true, default-features = false, features = ["derive"] } -sp-core = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } -sp-runtime = { workspace = true, default-features = false } +scale-info = { workspace = true, features = ["derive"] } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } [features] default = ["std"] diff --git a/crates/precompile-utils/Cargo.toml b/crates/precompile-utils/Cargo.toml index 8dc736932..00c305925 100644 --- a/crates/precompile-utils/Cargo.toml +++ b/crates/precompile-utils/Cargo.toml @@ -9,24 +9,24 @@ publish = false [dependencies] impl-trait-for-tuples = { workspace = true } log = { workspace = true } -num_enum = { workspace = true, default-features = false } -sha3 = { workspace = true, default-features = false } +num_enum = { workspace = true } +sha3 = { workspace = true } similar-asserts = { workspace = true, optional = true } precompile-utils-macro = { path = "macro" } # Substrate -codec = { workspace = true, package = "parity-scale-codec", default-features = false } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -sp-core = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec" } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } # Frontier -evm = { workspace = true, default-features = false, features = ["with-codec"] } -fp-evm = { workspace = true, default-features = false } -pallet-evm = { workspace = true, default-features = false } +evm = { workspace = true, features = ["with-codec"] } +fp-evm = { workspace = true } +pallet-evm = { workspace = true } [dev-dependencies] hex-literal = { workspace = true } diff --git a/crates/primitives-auth-ticket/Cargo.toml b/crates/primitives-auth-ticket/Cargo.toml index aed9fe429..1e55de56d 100644 --- a/crates/primitives-auth-ticket/Cargo.toml +++ b/crates/primitives-auth-ticket/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } -sp-std = { workspace = true, default-features = false } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/primitives-ethereum/Cargo.toml b/crates/primitives-ethereum/Cargo.toml index 734326e9a..b0023bf22 100644 --- a/crates/primitives-ethereum/Cargo.toml +++ b/crates/primitives-ethereum/Cargo.toml @@ -5,11 +5,11 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -rustc-hex = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +rustc-hex = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, optional = true } [dev-dependencies] diff --git a/crates/primitives-liveness-data/Cargo.toml b/crates/primitives-liveness-data/Cargo.toml index 68e88cc70..6f59d9572 100644 --- a/crates/primitives-liveness-data/Cargo.toml +++ b/crates/primitives-liveness-data/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] } [features] diff --git a/crates/robonode-crypto/Cargo.toml b/crates/robonode-crypto/Cargo.toml index 9ff6d9e10..2866d9883 100644 --- a/crates/robonode-crypto/Cargo.toml +++ b/crates/robonode-crypto/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -ed25519-dalek = { workspace = true, default-features = false, features = ["rand_core", "zeroize"] } +ed25519-dalek = { workspace = true, features = ["rand_core", "zeroize"] } [dev-dependencies] hex-literal = { workspace = true } diff --git a/crates/vesting-schedule-linear/Cargo.toml b/crates/vesting-schedule-linear/Cargo.toml index c76de4f93..8d22483b2 100644 --- a/crates/vesting-schedule-linear/Cargo.toml +++ b/crates/vesting-schedule-linear/Cargo.toml @@ -5,12 +5,9 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = [ - "derive", - "max-encoded-len", -] } -num-traits = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive", "max-encoded-len"] } +num-traits = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } [dev-dependencies] diff --git a/crates/vesting-scheduling-timestamp/Cargo.toml b/crates/vesting-scheduling-timestamp/Cargo.toml index a39fa8aac..6e5d6a609 100644 --- a/crates/vesting-scheduling-timestamp/Cargo.toml +++ b/crates/vesting-scheduling-timestamp/Cargo.toml @@ -8,8 +8,8 @@ publish = false pallet-vesting = { path = "../pallet-vesting", default-features = false } vesting-schedule-linear = { path = "../vesting-schedule-linear", default-features = false } -frame-support = { workspace = true, default-features = false } -num-traits = { workspace = true, default-features = false } +frame-support = { workspace = true } +num-traits = { workspace = true } serde = { workspace = true, optional = true } [dev-dependencies] From 3102e86cedcdc1a2dbc616a764934a24b55c283c Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 24 Apr 2023 17:44:26 +0300 Subject: [PATCH 3/8] Fix serde usage at workspace --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 169c9e740..d53fc8c2b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ reqwest = "0.11" rustc-hex = { version = "2", default-features = false } scale-info = { version = "2.5.0", default-features = false } secp256k1 = "0.27" -serde = { version = "1", default-features = false } +serde = { version = "1" } serde_json = "1" sha3 = { version = "0.10", default-features = false } similar-asserts = "1" From f968a5cbc556747729fe386c7d8fe26448d21379 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 8 May 2023 18:58:50 +0300 Subject: [PATCH 4/8] Default features to false for crates.io deps --- Cargo.toml | 173 ++++++++---------- crates/author-ext-rpc/Cargo.toml | 2 +- crates/bioauth-flow-rpc/Cargo.toml | 2 +- crates/humanode-peer/Cargo.toml | 3 +- crates/humanode-runtime/Cargo.toml | 5 +- crates/ngrok-api/Cargo.toml | 4 +- crates/pallet-token-claims/Cargo.toml | 2 +- crates/pallet-vesting/Cargo.toml | 2 +- crates/precompile-utils/Cargo.toml | 2 +- crates/primitives-ethereum/Cargo.toml | 2 +- crates/robonode-server/Cargo.toml | 4 +- crates/rpc-error-response/Cargo.toml | 2 +- .../vesting-scheduling-timestamp/Cargo.toml | 2 +- 13 files changed, 96 insertions(+), 109 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d53fc8c2b..cff39cdde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,65 +4,60 @@ members = ["crates/*"] [workspace.dependencies] # Crates.io deps. -anyhow = "1" -assert_matches = "1.5" -async-trait = "0.1" -bip32 = "0.5.0" -bytes = "1" + +anyhow = { version = "1", default-features = false } +assert_matches = { version = "1.5", default-features = false } +async-trait = { version = "0.1", default-features = false } +bip32 = { version = "0.5.0", default-features = false } +bytes = { version = "1", default-features = false } chrono = { version = "0.4", default-features = false } -clap = "4" -<<<<<<< HEAD -ed25519-dalek = "2" -ethereum = "0.14" -ethers-core = "2.0.3" -evm = "0.37" -======= -ed25519-dalek = { version = "1", default-features = false } +clap = { version = "4", default-features = false } +ed25519-dalek = { version = "2", default-features = false } +ethereum = { version = "0.14", default-features = false } ethers-core = { version = "2.0.3", default-features = false } evm = { version = "0.37", default-features = false } ->>>>>>> ca58964b (Use the additive nature of the package dependency) -fdlimit = "0.2" -futures = "0.3" -getrandom = "0.2" +fdlimit = { version = "0.2", default-features = false } +futures = { version = "0.3", default-features = false } +getrandom = { version = "0.2", default-features = false } hex = { version = "0.4", default-features = false } -hex-literal = "0.4" -http = "0.2" -http-body = "0.4" -impl-trait-for-tuples = "0.2" -indoc = "2.0" +hex-literal = { version = "0.4", default-features = false } +http = { version = "0.2", default-features = false } +http-body = { version = "0.4", default-features = false } +impl-trait-for-tuples = { version = "0.2", default-features = false } +indoc = { version = "2.0", default-features = false } jsonrpsee = { version = "0.16.2", default-features = false } libsecp256k1 = { version = "0.7", default-features = false } -log = "0.4" -mockall = "0.11" -num = "0.4" +log = { version = "0.4", default-features = false } +mockall = { version = "0.11", default-features = false } +num = { version = "0.4", default-features = false } num_enum = { version = "0.6", default-features = false } num-traits = { version = "0.2", default-features = false } numtoa = { version = "0.2", default-features = false } -once_cell = "1" -proc-macro2 = "1" -qr2term = "0.3" -quote = "1.0" -rand = "0.8" -reqwest = "0.11" +once_cell = { version = "1", default-features = false } +proc-macro2 = { version = "1", default-features = false } +qr2term = { version = "0.3", default-features = false } +quote = { version = "1.0", default-features = false } +rand = { version = "0.8", default-features = false } +reqwest = { version = "0.11", default-features = false } rustc-hex = { version = "2", default-features = false } scale-info = { version = "2.5.0", default-features = false } -secp256k1 = "0.27" -serde = { version = "1" } -serde_json = "1" +secp256k1 = { version = "0.27", default-features = false } +serde = { version = "1", default-features = false } +serde_json = { version = "1", default-features = false } sha3 = { version = "0.10", default-features = false } -similar-asserts = "1" +similar-asserts = { version = "1", default-features = false } static_assertions = { version = "1", default-features = false } -syn = "1" -thiserror = "1.0.29" -tiny-bip39 = "1" -tokio = "1" -tracing = "0.1" -tracing-test = "0.2" -url = "2" -uuid = "1" +syn = { version = "1", default-features = false } +thiserror = { version = "1.0.29", default-features = false } +tiny-bip39 = { version = "1", default-features = false } +tokio = { version = "1", default-features = false } +tracing = { version = "0.1", default-features = false } +tracing-test = { version = "0.2", default-features = false } +url = { version = "2", default-features = false } +uuid = { version = "1", default-features = false } vergen = { version = "8", default-features = false } -warp = "0.3" -wiremock = "0.5" +warp = { version = "0.3", default-features = false } +wiremock = { version = "0.5", default-features = false } # Special case for codec. codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false } @@ -87,36 +82,36 @@ pallet-session = { git = "https://github.com/humanode-network/substrate", branch pallet-sudo = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-transaction-payment = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +pallet-transaction-payment-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-utility = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-basic-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-chain-spec = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-chain-spec-derive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-client-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus-babe-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-consensus-epochs = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-executor = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-finality-grandpa-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-network = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-rpc-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-rpc-spec-v2 = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-service = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-telemetry = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sc-utils = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sc-basic-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-chain-spec = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-chain-spec-derive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-client-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-consensus-babe-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-consensus-epochs = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-executor = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-finality-grandpa-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-network = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-rpc-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-rpc-spec-v2 = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-service = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-telemetry = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sc-utils = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-application-crypto = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-block-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -sp-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +sp-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-core-hashing-proc-macro = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } @@ -131,43 +126,33 @@ sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = " sp-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-staking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-std = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +sp-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } sp-version = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -substrate-wasm-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } -try-runtime-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +substrate-frame-rpc-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +substrate-wasm-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +try-runtime-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } # Frontier fork. -fc-cli = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-consensus = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-db = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-mapping-sync = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-rpc-core = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -fc-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } +fc-cli = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fc-consensus = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fc-db = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fc-mapping-sync = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fc-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fc-rpc-core = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fc-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } fp-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } fp-self-contained = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fp-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -<<<<<<< HEAD -pallet-ethereum = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-balances = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-precompile-modexp = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-precompile-sha3fips = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-precompile-simple = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -pallet-evm-system = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38" } -======= -pallet-base-fee = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-dynamic-fee = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fp-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-ethereum = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +pallet-evm-balances = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-evm-precompile-modexp = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-evm-precompile-sha3fips = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } pallet-evm-precompile-simple = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } ->>>>>>> ca58964b (Use the additive nature of the package dependency) +pallet-evm-system = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } [profile.release-lto] inherits = "release" diff --git a/crates/author-ext-rpc/Cargo.toml b/crates/author-ext-rpc/Cargo.toml index 38b06b905..4e77199c7 100644 --- a/crates/author-ext-rpc/Cargo.toml +++ b/crates/author-ext-rpc/Cargo.toml @@ -13,7 +13,7 @@ rpc-validator-key-logic = { path = "../rpc-validator-key-logic" } jsonrpsee = { workspace = true, features = ["server", "macros"] } sc-transaction-pool-api = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features = ["default"] } sp-api = { workspace = true } sp-blockchain = { workspace = true } sp-core = { workspace = true } diff --git a/crates/bioauth-flow-rpc/Cargo.toml b/crates/bioauth-flow-rpc/Cargo.toml index d175da652..9ce5e0672 100644 --- a/crates/bioauth-flow-rpc/Cargo.toml +++ b/crates/bioauth-flow-rpc/Cargo.toml @@ -18,7 +18,7 @@ anyhow = { workspace = true } async-trait = { workspace = true } jsonrpsee = { workspace = true, features = ["server", "macros"] } sc-transaction-pool-api = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features = ["default"] } serde_json = { workspace = true } sp-api = { workspace = true } sp-blockchain = { workspace = true } diff --git a/crates/humanode-peer/Cargo.toml b/crates/humanode-peer/Cargo.toml index c669525bd..dadd33a70 100644 --- a/crates/humanode-peer/Cargo.toml +++ b/crates/humanode-peer/Cargo.toml @@ -42,10 +42,11 @@ frame-system-rpc-runtime-api = { workspace = true } futures = { workspace = true } hex = { workspace = true } hex-literal = { workspace = true } +pallet-balances = { workspace = true } pallet-im-online = { workspace = true } pallet-transaction-payment = { workspace = true } qr2term = { workspace = true } -reqwest = { workspace = true } +reqwest = { workspace = true, features = ["default"] } sc-basic-authorship = { workspace = true } sc-chain-spec = { workspace = true } sc-chain-spec-derive = { workspace = true } diff --git a/crates/humanode-runtime/Cargo.toml b/crates/humanode-runtime/Cargo.toml index cc442ff34..cbfd48040 100644 --- a/crates/humanode-runtime/Cargo.toml +++ b/crates/humanode-runtime/Cargo.toml @@ -42,6 +42,7 @@ vesting-scheduling-timestamp = { path = "../vesting-scheduling-timestamp", defau chrono = { workspace = true } codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +fp-evm = { workspace = true } fp-rpc = { workspace = true } fp-self-contained = { workspace = true } frame-benchmarking = { workspace = true, optional = true } @@ -56,13 +57,13 @@ libsecp256k1 = { workspace = true } pallet-authorship = { workspace = true } pallet-babe = { workspace = true } pallet-balances = { workspace = true } -pallet-base-fee = { workspace = true } -pallet-dynamic-fee = { workspace = true } pallet-ethereum = { workspace = true } pallet-evm = { workspace = true } +pallet-evm-balances = { workspace = true } pallet-evm-precompile-modexp = { workspace = true } pallet-evm-precompile-sha3fips = { workspace = true } pallet-evm-precompile-simple = { workspace = true } +pallet-evm-system = { workspace = true } pallet-grandpa = { workspace = true } pallet-im-online = { workspace = true } pallet-multisig = { workspace = true } diff --git a/crates/ngrok-api/Cargo.toml b/crates/ngrok-api/Cargo.toml index 12a5ffbfb..6ac69def9 100644 --- a/crates/ngrok-api/Cargo.toml +++ b/crates/ngrok-api/Cargo.toml @@ -9,8 +9,8 @@ publish = false async-trait = { workspace = true, optional = true } http = { workspace = true, optional = true } http-body = { workspace = true, optional = true } -reqwest = { workspace = true, optional = true } -serde = { workspace = true } +reqwest = { workspace = true, optional = true, features = ["default"] } +serde = { workspace = true, features = ["default"] } serde_json = { workspace = true } thiserror = { workspace = true, optional = true } url = { workspace = true, optional = true } diff --git a/crates/pallet-token-claims/Cargo.toml b/crates/pallet-token-claims/Cargo.toml index 90e3f60d4..66dbed1b0 100644 --- a/crates/pallet-token-claims/Cargo.toml +++ b/crates/pallet-token-claims/Cargo.toml @@ -12,7 +12,7 @@ frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } scale-info = { workspace = true, features = ["derive"] } -serde = { workspace = true, optional = true } +serde = { workspace = true, optional = true, features = ["default"] } [dev-dependencies] pallet-pot = { path = "../pallet-pot" } diff --git a/crates/pallet-vesting/Cargo.toml b/crates/pallet-vesting/Cargo.toml index 681efe2e2..d9e5cf9c1 100644 --- a/crates/pallet-vesting/Cargo.toml +++ b/crates/pallet-vesting/Cargo.toml @@ -10,7 +10,7 @@ frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } scale-info = { workspace = true, features = ["derive"] } -serde = { workspace = true, optional = true } +serde = { workspace = true, optional = true, features = ["default"] } sp-api = { workspace = true } [dev-dependencies] diff --git a/crates/precompile-utils/Cargo.toml b/crates/precompile-utils/Cargo.toml index 00c305925..b2bf8065f 100644 --- a/crates/precompile-utils/Cargo.toml +++ b/crates/precompile-utils/Cargo.toml @@ -11,7 +11,7 @@ impl-trait-for-tuples = { workspace = true } log = { workspace = true } num_enum = { workspace = true } sha3 = { workspace = true } -similar-asserts = { workspace = true, optional = true } +similar-asserts = { workspace = true, optional = true, features = ["default"] } precompile-utils-macro = { path = "macro" } diff --git a/crates/primitives-ethereum/Cargo.toml b/crates/primitives-ethereum/Cargo.toml index b0023bf22..ac680fc42 100644 --- a/crates/primitives-ethereum/Cargo.toml +++ b/crates/primitives-ethereum/Cargo.toml @@ -10,7 +10,7 @@ frame-support = { workspace = true } frame-system = { workspace = true } rustc-hex = { workspace = true } scale-info = { workspace = true, features = ["derive"] } -serde = { workspace = true, optional = true } +serde = { workspace = true, optional = true, features = ["default"] } [dev-dependencies] serde_json = { workspace = true } diff --git a/crates/robonode-server/Cargo.toml b/crates/robonode-server/Cargo.toml index 553007427..09c79e7b3 100644 --- a/crates/robonode-server/Cargo.toml +++ b/crates/robonode-server/Cargo.toml @@ -12,14 +12,14 @@ robonode-crypto = { path = "../robonode-crypto" } async-trait = { workspace = true } hex = { workspace = true } -reqwest = { workspace = true } +reqwest = { workspace = true, features = ["default"] } sc-tracing = { workspace = true } serde = { workspace = true, features = ["derive"] } sp-core = { workspace = true } tokio = { workspace = true, features = ["full"] } tracing = { workspace = true } uuid = { workspace = true, features = ["v4"] } -warp = { workspace = true } +warp = { workspace = true, features = ["default"] } [dev-dependencies] codec = { workspace = true, package = "parity-scale-codec" } diff --git a/crates/rpc-error-response/Cargo.toml b/crates/rpc-error-response/Cargo.toml index 45756d912..f47e3fdb5 100644 --- a/crates/rpc-error-response/Cargo.toml +++ b/crates/rpc-error-response/Cargo.toml @@ -6,4 +6,4 @@ publish = false [dependencies] jsonrpsee = { workspace = true, features = ["server", "macros"] } -serde = { workspace = true } +serde = { workspace = true, features = ["default"] } diff --git a/crates/vesting-scheduling-timestamp/Cargo.toml b/crates/vesting-scheduling-timestamp/Cargo.toml index 6e5d6a609..df957067e 100644 --- a/crates/vesting-scheduling-timestamp/Cargo.toml +++ b/crates/vesting-scheduling-timestamp/Cargo.toml @@ -10,7 +10,7 @@ vesting-schedule-linear = { path = "../vesting-schedule-linear", default-feature frame-support = { workspace = true } num-traits = { workspace = true } -serde = { workspace = true, optional = true } +serde = { workspace = true, optional = true, features = ["default"] } [dev-dependencies] mockall = { workspace = true } From 314ae73d9fea071ccc4844ba8c7e0cde71a532e4 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 8 May 2023 19:03:46 +0300 Subject: [PATCH 5/8] Default features to false for substrate fork deps --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index cff39cdde..789329782 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features = # Substrate fork. frame-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-benchmarking-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } frame-executive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } frame-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } From 242afbba24f713d410f4ace33116fefc05cea117 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 8 May 2023 19:07:33 +0300 Subject: [PATCH 6/8] Fix features --- Cargo.lock | 13 ------------- crates/eip191-crypto/Cargo.toml | 2 +- crates/eip712-common/Cargo.toml | 2 +- crates/humanode-runtime/Cargo.toml | 7 ++++++- .../Cargo.toml | 1 + crates/pallet-bioauth/Cargo.toml | 2 +- crates/pallet-bootnodes/Cargo.toml | 2 +- crates/pallet-chain-start-moment/Cargo.toml | 2 +- crates/pallet-currency-swap/Cargo.toml | 4 ++++ crates/pallet-evm-accounts-mapping/Cargo.toml | 2 ++ crates/pallet-pot/Cargo.toml | 10 +++++++++- crates/pallet-token-claims/Cargo.toml | 6 +++++- crates/pallet-vesting/Cargo.toml | 5 ++++- crates/precompile-bioauth/Cargo.toml | 2 +- crates/primitives-auth-ticket/Cargo.toml | 2 +- crates/primitives-ethereum/Cargo.toml | 10 +++++++++- crates/robonode-crypto/Cargo.toml | 2 +- crates/vesting-schedule-linear/Cargo.toml | 2 +- crates/vesting-scheduling-timestamp/Cargo.toml | 9 ++++++++- 19 files changed, 57 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 162ff301a..fba9675d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -648,9 +648,6 @@ checksum = "7e40748d60a3296653e45e87e64c6989aebfad607bccce59cc4156c5d81b2f70" dependencies = [ "bs58", "hmac 0.12.1", - "k256 0.13.0", - "once_cell", - "pbkdf2 0.12.1", "rand_core 0.6.4", "ripemd", "sha2 0.10.6", @@ -6463,16 +6460,6 @@ dependencies = [ "digest 0.10.6", ] -[[package]] -name = "pbkdf2" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0ca0b5a68607598bf3bad68f32227a8164f6254833f84eafaac409cd6746c31" -dependencies = [ - "digest 0.10.6", - "hmac 0.12.1", -] - [[package]] name = "peeking_take_while" version = "0.1.2" diff --git a/crates/eip191-crypto/Cargo.toml b/crates/eip191-crypto/Cargo.toml index 7850aac50..c1d51da62 100644 --- a/crates/eip191-crypto/Cargo.toml +++ b/crates/eip191-crypto/Cargo.toml @@ -17,4 +17,4 @@ hex = { workspace = true } [features] default = ["std"] -std = ["primitives-ethereum/std", "sp-io/std", "sp-std/std"] +std = ["hex/std", "primitives-ethereum/std", "sp-io/std", "sp-std/std"] diff --git a/crates/eip712-common/Cargo.toml b/crates/eip712-common/Cargo.toml index 88bb3cd2c..c25cec94a 100644 --- a/crates/eip712-common/Cargo.toml +++ b/crates/eip712-common/Cargo.toml @@ -17,4 +17,4 @@ sp-core = { workspace = true } [features] default = ["std"] -std = ["primitives-ethereum/std", "sp-io/std", "sp-std/std"] +std = ["primitives-ethereum/std", "sp-core/std", "sp-io/std", "sp-std/std"] diff --git a/crates/humanode-runtime/Cargo.toml b/crates/humanode-runtime/Cargo.toml index cbfd48040..0d203ae4e 100644 --- a/crates/humanode-runtime/Cargo.toml +++ b/crates/humanode-runtime/Cargo.toml @@ -151,6 +151,8 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime/std", + "hex/std", + "hex-literal", "keystore-bioauth-account-id/std", "libsecp256k1/std", "pallet-authorship/std", @@ -194,13 +196,16 @@ std = [ "primitives-ethereum/std", "robonode-crypto/std", "scale-info/std", - "serde", + "serde/std", + "serde_json/std", "sp-api/std", "sp-application-crypto/std", "sp-block-builder/std", "sp-consensus-babe/std", "sp-core/std", "sp-inherents/std", + "sp-io/std", + "sp-keystore/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", diff --git a/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml b/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml index f85a750eb..0647c796d 100644 --- a/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml +++ b/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml @@ -27,6 +27,7 @@ std = [ "pallet-balances/std", "pallet-pot/std", "scale-info/std", + "sp-core/std", "sp-std/std", "sp-tracing/std", ] diff --git a/crates/pallet-bioauth/Cargo.toml b/crates/pallet-bioauth/Cargo.toml index bdd93d1a1..eb364aa68 100644 --- a/crates/pallet-bioauth/Cargo.toml +++ b/crates/pallet-bioauth/Cargo.toml @@ -37,7 +37,7 @@ std = [ "frame-support/std", "frame-system/std", "scale-info/std", - "serde", + "serde/std", "sp-api/std", "sp-core/std", "sp-io/std", diff --git a/crates/pallet-bootnodes/Cargo.toml b/crates/pallet-bootnodes/Cargo.toml index c479180b9..9a4574495 100644 --- a/crates/pallet-bootnodes/Cargo.toml +++ b/crates/pallet-bootnodes/Cargo.toml @@ -34,7 +34,7 @@ std = [ "frame-support/std", "frame-system/std", "scale-info/std", - "serde", + "serde/std", "sp-api/std", "sp-core/std", "sp-io/std", diff --git a/crates/pallet-chain-start-moment/Cargo.toml b/crates/pallet-chain-start-moment/Cargo.toml index e4a32ae45..79fac57aa 100644 --- a/crates/pallet-chain-start-moment/Cargo.toml +++ b/crates/pallet-chain-start-moment/Cargo.toml @@ -16,5 +16,5 @@ sp-core = { workspace = true } [features] default = ["std"] -std = ["codec/std", "scale-info/std", "frame-support/std", "frame-system/std"] +std = ["codec/std", "frame-system/std", "frame-support/std", "pallet-timestamp/std", "scale-info/std", "sp-core/std"] try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "pallet-timestamp/try-runtime"] diff --git a/crates/pallet-currency-swap/Cargo.toml b/crates/pallet-currency-swap/Cargo.toml index df1c2f310..fcc786019 100644 --- a/crates/pallet-currency-swap/Cargo.toml +++ b/crates/pallet-currency-swap/Cargo.toml @@ -35,8 +35,12 @@ std = [ "codec/std", "frame-support/std", "frame-system/std", + "pallet-balances/std", + "pallet-evm-balances/std", + "pallet-evm-system/std", "primitives-currency-swap/std", "scale-info/std", + "sp-core/std", "sp-runtime/std", "sp-std/std", ] diff --git a/crates/pallet-evm-accounts-mapping/Cargo.toml b/crates/pallet-evm-accounts-mapping/Cargo.toml index 506abfd60..1caac83a4 100644 --- a/crates/pallet-evm-accounts-mapping/Cargo.toml +++ b/crates/pallet-evm-accounts-mapping/Cargo.toml @@ -34,6 +34,8 @@ std = [ "frame-system/std", "primitives-ethereum/std", "scale-info/std", + "sp-core/std", + "sp-runtime/std", "sp-std/std", ] try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime"] diff --git a/crates/pallet-pot/Cargo.toml b/crates/pallet-pot/Cargo.toml index e9b084044..5b6fb3fd3 100644 --- a/crates/pallet-pot/Cargo.toml +++ b/crates/pallet-pot/Cargo.toml @@ -15,5 +15,13 @@ sp-std = { workspace = true } [features] default = ["std"] -std = ["codec/std", "frame-support/std", "frame-system/std", "scale-info/std", "serde", "sp-runtime/std", "sp-std/std"] +std = [ + "codec/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "serde/std", + "sp-runtime/std", + "sp-std/std", +] try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime"] diff --git a/crates/pallet-token-claims/Cargo.toml b/crates/pallet-token-claims/Cargo.toml index 66dbed1b0..82077c449 100644 --- a/crates/pallet-token-claims/Cargo.toml +++ b/crates/pallet-token-claims/Cargo.toml @@ -37,9 +37,13 @@ std = [ "frame-benchmarking/std", "frame-support/std", "frame-system/std", + "pallet-balances/std", "primitives-ethereum/std", "scale-info/std", - "serde", + "serde/std", + "serde_json/std", + "sp-core/std", + "sp-runtime/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/crates/pallet-vesting/Cargo.toml b/crates/pallet-vesting/Cargo.toml index d9e5cf9c1..85b403128 100644 --- a/crates/pallet-vesting/Cargo.toml +++ b/crates/pallet-vesting/Cargo.toml @@ -32,8 +32,11 @@ std = [ "frame-benchmarking/std", "frame-support/std", "frame-system/std", + "once_cell/std", + "pallet-balances/std", "scale-info/std", - "serde", + "serde/std", "sp-api/std", + "sp-core/std", ] try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "pallet-balances/try-runtime"] diff --git a/crates/precompile-bioauth/Cargo.toml b/crates/precompile-bioauth/Cargo.toml index 0f38c097a..0fb9b1b4e 100644 --- a/crates/precompile-bioauth/Cargo.toml +++ b/crates/precompile-bioauth/Cargo.toml @@ -38,7 +38,7 @@ std = [ "pallet-evm/std", "precompile-utils/std", "scale-info/std", - "serde", + "serde/std", "sp-core/std", "sp-io/std", "sp-runtime/std", diff --git a/crates/primitives-auth-ticket/Cargo.toml b/crates/primitives-auth-ticket/Cargo.toml index 1e55de56d..3ef6e527b 100644 --- a/crates/primitives-auth-ticket/Cargo.toml +++ b/crates/primitives-auth-ticket/Cargo.toml @@ -12,4 +12,4 @@ sp-std = { workspace = true } [features] default = ["std"] -std = ["serde", "codec/std", "sp-std/std", "scale-info/std"] +std = ["serde/std", "codec/std", "sp-std/std", "scale-info/std"] diff --git a/crates/primitives-ethereum/Cargo.toml b/crates/primitives-ethereum/Cargo.toml index ac680fc42..3e0cb5821 100644 --- a/crates/primitives-ethereum/Cargo.toml +++ b/crates/primitives-ethereum/Cargo.toml @@ -17,4 +17,12 @@ serde_json = { workspace = true } [features] default = ["std"] -std = ["codec/std", "frame-support/std", "frame-system/std", "rustc-hex/std", "scale-info/std", "serde"] +std = [ + "codec/std", + "frame-support/std", + "frame-system/std", + "rustc-hex/std", + "scale-info/std", + "serde/std", + "serde_json/std", +] diff --git a/crates/robonode-crypto/Cargo.toml b/crates/robonode-crypto/Cargo.toml index 2866d9883..5265aa24f 100644 --- a/crates/robonode-crypto/Cargo.toml +++ b/crates/robonode-crypto/Cargo.toml @@ -13,4 +13,4 @@ rand = { workspace = true } [features] default = ["std"] -std = ["ed25519-dalek/std"] +std = ["ed25519-dalek/std", "rand/std"] diff --git a/crates/vesting-schedule-linear/Cargo.toml b/crates/vesting-schedule-linear/Cargo.toml index 8d22483b2..008f71266 100644 --- a/crates/vesting-schedule-linear/Cargo.toml +++ b/crates/vesting-schedule-linear/Cargo.toml @@ -16,4 +16,4 @@ serde_json = { workspace = true } [features] default = ["std"] -std = ["codec/std", "num-traits/std", "scale-info/std", "serde"] +std = ["codec/std", "num/std", "num-traits/std", "scale-info/std", "serde/std", "serde_json/std"] diff --git a/crates/vesting-scheduling-timestamp/Cargo.toml b/crates/vesting-scheduling-timestamp/Cargo.toml index df957067e..ff818b589 100644 --- a/crates/vesting-scheduling-timestamp/Cargo.toml +++ b/crates/vesting-scheduling-timestamp/Cargo.toml @@ -18,4 +18,11 @@ serde_json = { workspace = true } [features] default = ["std"] -std = ["frame-support/std", "num-traits/std", "pallet-vesting/std", "serde", "vesting-schedule-linear/std"] +std = [ + "frame-support/std", + "num-traits/std", + "pallet-vesting/std", + "serde/std", + "serde_json/std", + "vesting-schedule-linear/std", +] From a87a4d6433f6b62c783860bc650ceb0049775022 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 21 Aug 2023 16:58:44 +0300 Subject: [PATCH 7/8] Return default features to avoid having different features snapshot --- crates/crypto-utils-evm/Cargo.toml | 4 ++-- crates/eip712-common-test-utils/Cargo.toml | 2 +- crates/humanode-peer/Cargo.toml | 6 +++--- crates/humanode-runtime/Cargo.toml | 4 ++-- crates/pallet-currency-swap/Cargo.toml | 6 +++--- crates/precompile-currency-swap/Cargo.toml | 12 ++++++------ crates/vesting-schedule-linear/Cargo.toml | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/crates/crypto-utils-evm/Cargo.toml b/crates/crypto-utils-evm/Cargo.toml index e2d203ad0..739df6287 100644 --- a/crates/crypto-utils-evm/Cargo.toml +++ b/crates/crypto-utils-evm/Cargo.toml @@ -6,9 +6,9 @@ publish = false [dependencies] anyhow = { workspace = true } -bip32 = { workspace = true } +bip32 = { workspace = true, features = ["default"] } libsecp256k1 = { workspace = true } -sha3 = { workspace = true } +sha3 = { workspace = true, features = ["default"] } sp-core = { workspace = true } thiserror = { workspace = true } tiny-bip39 = { workspace = true } diff --git a/crates/eip712-common-test-utils/Cargo.toml b/crates/eip712-common-test-utils/Cargo.toml index a5edb1ee8..8c15b8a60 100644 --- a/crates/eip712-common-test-utils/Cargo.toml +++ b/crates/eip712-common-test-utils/Cargo.toml @@ -10,6 +10,6 @@ primitives-ethereum = { path = "../primitives-ethereum" } ethers-core = { workspace = true, features = ["eip712"] } hex-literal = { workspace = true } -secp256k1 = { workspace = true } +secp256k1 = { workspace = true, features = ["default"] } serde_json = { workspace = true } sp-core = { workspace = true } diff --git a/crates/humanode-peer/Cargo.toml b/crates/humanode-peer/Cargo.toml index dadd33a70..929cfb658 100644 --- a/crates/humanode-peer/Cargo.toml +++ b/crates/humanode-peer/Cargo.toml @@ -33,9 +33,9 @@ fc-rpc = { workspace = true } fc-rpc-core = { workspace = true } fc-storage = { workspace = true } fdlimit = { workspace = true } -fp-evm = { workspace = true } +fp-evm = { workspace = true, features = ["default"] } frame-benchmarking = { workspace = true, optional = true } -frame-benchmarking-cli = { workspace = true } +frame-benchmarking-cli = { workspace = true, features = ["default", "rocksdb"] } frame-support = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } @@ -43,7 +43,7 @@ futures = { workspace = true } hex = { workspace = true } hex-literal = { workspace = true } pallet-balances = { workspace = true } -pallet-im-online = { workspace = true } +pallet-im-online = { workspace = true, features = ["default"] } pallet-transaction-payment = { workspace = true } qr2term = { workspace = true } reqwest = { workspace = true, features = ["default"] } diff --git a/crates/humanode-runtime/Cargo.toml b/crates/humanode-runtime/Cargo.toml index 0d203ae4e..d7d336b49 100644 --- a/crates/humanode-runtime/Cargo.toml +++ b/crates/humanode-runtime/Cargo.toml @@ -96,8 +96,9 @@ static_assertions = { workspace = true } crypto-utils = { path = "../crypto-utils" } eip712-common-test-utils = { path = "../eip712-common-test-utils" } -ethereum = { workspace = true } +ethereum = { workspace = true, features = ["default"] } hex = { workspace = true } +hex-literal = { workspace = true } serde_json = { workspace = true } sp-io = { workspace = true } sp-keystore = { workspace = true } @@ -152,7 +153,6 @@ std = [ "frame-system/std", "frame-try-runtime/std", "hex/std", - "hex-literal", "keystore-bioauth-account-id/std", "libsecp256k1/std", "pallet-authorship/std", diff --git a/crates/pallet-currency-swap/Cargo.toml b/crates/pallet-currency-swap/Cargo.toml index fcc786019..bd69a8abe 100644 --- a/crates/pallet-currency-swap/Cargo.toml +++ b/crates/pallet-currency-swap/Cargo.toml @@ -17,9 +17,9 @@ sp-std = { workspace = true, default-features = false } [dev-dependencies] mockall = { workspace = true } -pallet-balances = { workspace = true } -pallet-evm-balances = { workspace = true } -pallet-evm-system = { workspace = true } +pallet-balances = { workspace = true, features = ["default"] } +pallet-evm-balances = { workspace = true, features = ["default"] } +pallet-evm-system = { workspace = true, features = ["default"] } sp-core = { workspace = true } [features] diff --git a/crates/precompile-currency-swap/Cargo.toml b/crates/precompile-currency-swap/Cargo.toml index 3d10566ae..07e145c37 100644 --- a/crates/precompile-currency-swap/Cargo.toml +++ b/crates/precompile-currency-swap/Cargo.toml @@ -17,14 +17,14 @@ scale-info = { workspace = true, default-features = false, features = ["derive"] sp-core = { workspace = true, default-features = false } [dev-dependencies] -frame-system = { workspace = true, default-features = false } +frame-system = { workspace = true } hex-literal = { workspace = true } mockall = { workspace = true } -pallet-balances = { workspace = true, default-features = false } -pallet-evm = { workspace = true, default-features = false } -pallet-evm-balances = { workspace = true, default-features = false } -pallet-evm-system = { workspace = true, default-features = false } -pallet-timestamp = { workspace = true, default-features = false } +pallet-balances = { workspace = true, features = ["default"] } +pallet-evm = { workspace = true } +pallet-evm-balances = { workspace = true, features = ["default"] } +pallet-evm-system = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } [features] default = ["std"] diff --git a/crates/vesting-schedule-linear/Cargo.toml b/crates/vesting-schedule-linear/Cargo.toml index 008f71266..a4d7410e5 100644 --- a/crates/vesting-schedule-linear/Cargo.toml +++ b/crates/vesting-schedule-linear/Cargo.toml @@ -11,7 +11,7 @@ scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } [dev-dependencies] -num = { workspace = true } +num = { workspace = true, features = ["default"] } serde_json = { workspace = true } [features] From 6c2380ff1559b78f90fab083456ad9c2ca5ac91b Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 21 Aug 2023 17:56:52 +0300 Subject: [PATCH 8/8] Remove redundant default-features false usage --- Cargo.lock | 13 +++++++++++++ crates/bridge-pot-currency-swap/Cargo.toml | 2 +- crates/eip191-token-claim/Cargo.toml | 4 ++-- .../Cargo.toml | 10 +++++----- crates/pallet-currency-swap/Cargo.toml | 12 ++++++------ crates/precompile-currency-swap/Cargo.toml | 14 +++++++------- crates/primitives-currency-swap-proxy/Cargo.toml | 4 ++-- crates/primitives-currency-swap/Cargo.toml | 2 +- 8 files changed, 37 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fba9675d4..162ff301a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -648,6 +648,9 @@ checksum = "7e40748d60a3296653e45e87e64c6989aebfad607bccce59cc4156c5d81b2f70" dependencies = [ "bs58", "hmac 0.12.1", + "k256 0.13.0", + "once_cell", + "pbkdf2 0.12.1", "rand_core 0.6.4", "ripemd", "sha2 0.10.6", @@ -6460,6 +6463,16 @@ dependencies = [ "digest 0.10.6", ] +[[package]] +name = "pbkdf2" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0ca0b5a68607598bf3bad68f32227a8164f6254833f84eafaac409cd6746c31" +dependencies = [ + "digest 0.10.6", + "hmac 0.12.1", +] + [[package]] name = "peeking_take_while" version = "0.1.2" diff --git a/crates/bridge-pot-currency-swap/Cargo.toml b/crates/bridge-pot-currency-swap/Cargo.toml index 65375eb21..84d14f4f0 100644 --- a/crates/bridge-pot-currency-swap/Cargo.toml +++ b/crates/bridge-pot-currency-swap/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] primitives-currency-swap = { path = "../primitives-currency-swap", default-features = false } -frame-support = { workspace = true, default-features = false } +frame-support = { workspace = true } [features] default = ["std"] diff --git a/crates/eip191-token-claim/Cargo.toml b/crates/eip191-token-claim/Cargo.toml index cf94bfa2b..218ef47bd 100644 --- a/crates/eip191-token-claim/Cargo.toml +++ b/crates/eip191-token-claim/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" publish = false [dependencies] -hex = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +hex = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] eip191-crypto = { path = "../eip191-crypto" } diff --git a/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml b/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml index 0647c796d..755c2d8d1 100644 --- a/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml +++ b/crates/pallet-balanced-currency-swap-bridges-initializer/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" publish = false [dependencies] -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } scale-info = { workspace = true, features = ["derive"] } -sp-std = { workspace = true, default-features = false } -sp-tracing = { workspace = true, default-features = false } +sp-std = { workspace = true } +sp-tracing = { workspace = true } [dev-dependencies] pallet-pot = { path = "../pallet-pot", default-features = false } diff --git a/crates/pallet-currency-swap/Cargo.toml b/crates/pallet-currency-swap/Cargo.toml index bd69a8abe..120cf8bd1 100644 --- a/crates/pallet-currency-swap/Cargo.toml +++ b/crates/pallet-currency-swap/Cargo.toml @@ -7,13 +7,13 @@ publish = false [dependencies] primitives-currency-swap = { path = "../primitives-currency-swap", default-features = false } -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -frame-benchmarking = { workspace = true, default-features = false, optional = true } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } scale-info = { workspace = true, features = ["derive"] } -sp-runtime = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] mockall = { workspace = true } diff --git a/crates/precompile-currency-swap/Cargo.toml b/crates/precompile-currency-swap/Cargo.toml index 07e145c37..0d3af0b1b 100644 --- a/crates/precompile-currency-swap/Cargo.toml +++ b/crates/precompile-currency-swap/Cargo.toml @@ -8,13 +8,13 @@ publish = false precompile-utils = { path = "../precompile-utils", default-features = false } primitives-currency-swap = { path = "../primitives-currency-swap", default-features = false } -codec = { workspace = true, package = "parity-scale-codec", default-features = false, features = ["derive"] } -fp-evm = { workspace = true, default-features = false } -frame-support = { workspace = true, default-features = false } -num_enum = { workspace = true, default-features = false } -pallet-evm = { workspace = true, default-features = false } -scale-info = { workspace = true, default-features = false, features = ["derive"] } -sp-core = { workspace = true, default-features = false } +codec = { workspace = true, package = "parity-scale-codec", features = ["derive"] } +fp-evm = { workspace = true } +frame-support = { workspace = true } +num_enum = { workspace = true } +pallet-evm = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } +sp-core = { workspace = true } [dev-dependencies] frame-system = { workspace = true } diff --git a/crates/primitives-currency-swap-proxy/Cargo.toml b/crates/primitives-currency-swap-proxy/Cargo.toml index f65b0f69d..0ee118615 100644 --- a/crates/primitives-currency-swap-proxy/Cargo.toml +++ b/crates/primitives-currency-swap-proxy/Cargo.toml @@ -7,8 +7,8 @@ publish = false [dependencies] primitives-currency-swap = { path = "../primitives-currency-swap", default-features = false } -frame-support = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +frame-support = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/primitives-currency-swap/Cargo.toml b/crates/primitives-currency-swap/Cargo.toml index bd616736b..75e20c03c 100644 --- a/crates/primitives-currency-swap/Cargo.toml +++ b/crates/primitives-currency-swap/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -frame-support = { workspace = true, default-features = false } +frame-support = { workspace = true } [features] default = ["std"]