diff --git a/Cargo.toml b/Cargo.toml index 8d647d33a..789329782 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,158 @@ resolver = "2" members = ["crates/*"] +[workspace.dependencies] +# Crates.io deps. + +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 = { 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 } +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 = { 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 = { 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 = { 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 = { 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 = { version = "1", default-features = false } +static_assertions = { version = "1", default-features = false } +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 = { 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 } + +# 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", 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 } +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", 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", 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", 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 } +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", 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", 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", 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", 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 } +pallet-evm-system = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } + [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..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 = { 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" } +scale-info = { workspace = true, features = ["derive"] } +sp-api = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/author-ext-rpc/Cargo.toml b/crates/author-ext-rpc/Cargo.toml index a7491b2d6..4e77199c7 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, features = ["default"] } +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..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 = { 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" } +scale-info = { workspace = true, features = ["derive"] } +sp-api = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/bioauth-flow-rpc/Cargo.toml b/crates/bioauth-flow-rpc/Cargo.toml index 9b80665ac..9ce5e0672 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, features = ["default"] } +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..84d14f4f0 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 } [features] default = ["std"] diff --git a/crates/crypto-utils-evm/Cargo.toml b/crates/crypto-utils-evm/Cargo.toml index f977f864d..739df6287 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, features = ["default"] } +libsecp256k1 = { workspace = true } +sha3 = { workspace = true, features = ["default"] } +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..c1d51da62 100644 --- a/crates/eip191-crypto/Cargo.toml +++ b/crates/eip191-crypto/Cargo.toml @@ -5,16 +5,16 @@ 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 } +sp-core-hashing-proc-macro = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -hex = "0.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/eip191-token-claim/Cargo.toml b/crates/eip191-token-claim/Cargo.toml index c5f4cd116..218ef47bd 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 } +sp-std = { workspace = true } [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..8c15b8a60 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, features = ["eip712"] } +hex-literal = { workspace = true } +secp256k1 = { workspace = true, features = ["default"] } +serde_json = { workspace = true } +sp-core = { workspace = true } diff --git a/crates/eip712-common/Cargo.toml b/crates/eip712-common/Cargo.toml index c5b2743da..c25cec94a 100644 --- a/crates/eip712-common/Cargo.toml +++ b/crates/eip712-common/Cargo.toml @@ -5,16 +5,16 @@ 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 } +sp-io = { workspace = true } +sp-std = { workspace = true } [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"] -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/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..929cfb658 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, features = ["default"] } +frame-benchmarking = { workspace = true, optional = true } +frame-benchmarking-cli = { workspace = true, features = ["default", "rocksdb"] } +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 } +pallet-im-online = { workspace = true, features = ["default"] } +pallet-transaction-payment = { workspace = true } +qr2term = { workspace = true } +reqwest = { workspace = true, features = ["default"] } +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, 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..d7d336b49 100644 --- a/crates/humanode-runtime/Cargo.toml +++ b/crates/humanode-runtime/Cargo.toml @@ -5,105 +5,103 @@ 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 } +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 } +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 } +pallet-authorship = { workspace = true } +pallet-babe = { workspace = true } +pallet-balances = { 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 } +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 } +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 = { 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, features = ["default"] } +hex = { workspace = true } +hex-literal = { workspace = true } +serde_json = { workspace = true } +sp-io = { workspace = true } +sp-keystore = { workspace = true } [features] default = ["std"] @@ -145,6 +143,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", @@ -153,6 +152,7 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime/std", + "hex/std", "keystore-bioauth-account-id/std", "libsecp256k1/std", "pallet-authorship/std", @@ -196,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/keystore-bioauth-account-id/Cargo.toml b/crates/keystore-bioauth-account-id/Cargo.toml index 98810a29e..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 = { 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", 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/ngrok-api/Cargo.toml b/crates/ngrok-api/Cargo.toml index 8ab0a39b4..6ac69def9 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, features = ["default"] } +serde = { workspace = true, features = ["default"] } +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..755c2d8d1 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", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } +sp-std = { workspace = true } +sp-tracing = { workspace = true } [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"] @@ -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 366871e94..eb364aa68 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", 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, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-api = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [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 } +sp-io = { workspace = true } [features] default = ["std"] @@ -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 eac248bff..9a4574495 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", 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 } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [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 } +sp-io = { workspace = true } [features] default = ["std"] @@ -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-properties/Cargo.toml b/crates/pallet-chain-properties/Cargo.toml index db0069cf4..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 = { 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", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, 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 } +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 f14031f9a..79fac57aa 100644 --- a/crates/pallet-chain-start-moment/Cargo.toml +++ b/crates/pallet-chain-start-moment/Cargo.toml @@ -5,16 +5,16 @@ 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", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, 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"] -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 9f437c5ae..120cf8bd1 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", 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 } +sp-std = { workspace = true } [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, features = ["default"] } +pallet-evm-balances = { workspace = true, features = ["default"] } +pallet-evm-system = { workspace = true, features = ["default"] } +sp-core = { workspace = true } [features] default = ["std"] @@ -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-ethereum-chain-id/Cargo.toml b/crates/pallet-ethereum-chain-id/Cargo.toml index 849c08dc2..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 = { 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", features = ["derive"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, 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 } +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 627187685..1caac83a4 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", 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 = "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"] @@ -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-humanode-session/Cargo.toml b/crates/pallet-humanode-session/Cargo.toml index bf987714d..ba034ec97 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", 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 1dbd676cf..5b6fb3fd3 100644 --- a/crates/pallet-pot/Cargo.toml +++ b/crates/pallet-pot/Cargo.toml @@ -5,15 +5,23 @@ 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", 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 } +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 6ed04f6d6..82077c449 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", 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, features = ["default"] } [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"] @@ -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 dd18c300e..85b403128 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", 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, features = ["default"] } +sp-api = { workspace = true } [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"] @@ -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 c2bedc995..0fb9b1b4e 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", features = ["derive"] } +fp-evm = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +getrandom = { workspace = true, features = ["js"] } +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 } +sp-std = { workspace = true } [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 } +sp-io = { workspace = true } [features] default = ["std"] @@ -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/precompile-currency-swap/Cargo.toml b/crates/precompile-currency-swap/Cargo.toml index 5818a81a8..0d3af0b1b 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", 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 = { 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 } +hex-literal = { workspace = true } +mockall = { workspace = true } +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/precompile-evm-accounts-mapping/Cargo.toml b/crates/precompile-evm-accounts-mapping/Cargo.toml index 200c3e4e2..41fa79c53 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", features = ["derive"] } +fp-evm = { workspace = true } +sp-std = { workspace = true } [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 } +frame-system = { workspace = true } +hex-literal = { workspace = true } +mockall = { workspace = true } +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 af541b685..b2bf8065f 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 } +sha3 = { workspace = true } +similar-asserts = { workspace = true, optional = true, features = ["default"] } 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" } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } # 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, features = ["with-codec"] } +fp-evm = { workspace = true } +pallet-evm = { workspace = true } [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..3ef6e527b 100644 --- a/crates/primitives-auth-ticket/Cargo.toml +++ b/crates/primitives-auth-ticket/Cargo.toml @@ -5,11 +5,11 @@ 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", features = ["derive"] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +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-currency-swap-proxy/Cargo.toml b/crates/primitives-currency-swap-proxy/Cargo.toml index e3a58e31f..0ee118615 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 } +sp-std = { workspace = true } [features] default = ["std"] diff --git a/crates/primitives-currency-swap/Cargo.toml b/crates/primitives-currency-swap/Cargo.toml index 4468a8169..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 = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38" } +frame-support = { workspace = true } [features] default = ["std"] diff --git a/crates/primitives-ethereum/Cargo.toml b/crates/primitives-ethereum/Cargo.toml index 252ac823b..3e0cb5821 100644 --- a/crates/primitives-ethereum/Cargo.toml +++ b/crates/primitives-ethereum/Cargo.toml @@ -5,16 +5,24 @@ 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", 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, features = ["default"] } [dev-dependencies] -serde_json = "1" +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/primitives-liveness-data/Cargo.toml b/crates/primitives-liveness-data/Cargo.toml index 196a83ec0..6f59d9572 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, 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..5265aa24f 100644 --- a/crates/robonode-crypto/Cargo.toml +++ b/crates/robonode-crypto/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" publish = false [dependencies] -ed25519-dalek = { version = "2", default-features = false, features = ["rand_core", "zeroize"] } +ed25519-dalek = { workspace = true, features = ["rand_core", "zeroize"] } [dev-dependencies] -hex-literal = "0.4.1" -rand = "0.8" +hex-literal = { workspace = true } +rand = { workspace = true } [features] default = ["std"] -std = ["ed25519-dalek/std"] +std = ["ed25519-dalek/std", "rand/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..09c79e7b3 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, 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, features = ["default"] } [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..f47e3fdb5 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, features = ["default"] } 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..a4d7410e5 100644 --- a/crates/vesting-schedule-linear/Cargo.toml +++ b/crates/vesting-schedule-linear/Cargo.toml @@ -5,18 +5,15 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", 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 } +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] -num = "0.4" -serde_json = "1" +num = { workspace = true, features = ["default"] } +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 d98e371f4..ff818b589 100644 --- a/crates/vesting-scheduling-timestamp/Cargo.toml +++ b/crates/vesting-scheduling-timestamp/Cargo.toml @@ -5,17 +5,24 @@ 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 } +num-traits = { workspace = true } +serde = { workspace = true, optional = true, features = ["default"] } [dev-dependencies] -mockall = "0.11" -serde_json = "1" +mockall = { workspace = true } +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", +]