diff --git a/operator/Cargo.toml b/operator/Cargo.toml index 4f8c8453..bbf8f432 100644 --- a/operator/Cargo.toml +++ b/operator/Cargo.toml @@ -15,7 +15,6 @@ members = [ resolver = "2" [workspace.dependencies] - # Local datahaven-runtime = { path = "./runtime", default-features = false } datahaven-runtime-common = { path = "./runtime/common", default-features = false } @@ -23,25 +22,52 @@ pallet-validator-set = { path = "./pallets/validator-set", default-features = fa # Crates.io (wasm) async-trait = { version = "0.1.42" } +blake2-rfc = { version = "0.2.18", default-features = false } +clap = { version = "4.5.10" } +codec = { version = "3.6.12", default-features = false, package = "parity-scale-codec" } +futures = { version = "0.3.30" } +hex = { version = "0.4.3", default-features = false } +hex-literal = { version = "0.3.4" } +impl-serde = { version = "0.5.0", default-features = false } +jsonrpsee = { version = "0.24.3" } +libsecp256k1 = { version = "0.7", default-features = false } +log = { version = "0.4.25" } parity-scale-codec = { version = "3.0.0", default-features = false, features = ["derive"] } scale-info = { version = "2.11.6", default-features = false} serde = { version = "1.0.197", default-features = false, features = [ "derive" ]} serde_json = { version = "1.0.127", default-features = false } -log = { version = "0.4.25" } -clap = { version = "4.5.10" } -futures = { version = "0.3.30" } -jsonrpsee = { version = "0.24.3" } -hex-literal = { version = "0.3.4" } -codec = { version = "3.6.12", default-features = false, package = "parity-scale-codec" } -blake2-rfc = { version = "0.2.18", default-features = false } -impl-serde = { version = "0.5.0", default-features = false } -libsecp256k1 = { version = "0.7", default-features = false } sha3 = { version = "0.10", default-features = false } -hex = { version = "0.4.3", default-features = false } # Polkadot +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-support-test = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } @@ -63,59 +89,32 @@ sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = " sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-support-test = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } # BEEFY -sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -sc-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } -sc-consensus-beefy-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } pallet-mmr = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +sc-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +sc-consensus-beefy-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } +sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } # Snowbridge snowbridge-beacon-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } diff --git a/operator/node/Cargo.toml b/operator/node/Cargo.toml index ff20a92e..5d036306 100644 --- a/operator/node/Cargo.toml +++ b/operator/node/Cargo.toml @@ -16,90 +16,90 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] clap = { features = ["derive"], workspace = true } -futures = { features = ["thread-pool"], workspace = true } -serde_json = { workspace = true, default-features = true } -jsonrpsee = { features = ["server"], workspace = true } -hex-literal.workspace = true -fp-account = { workspace = true } -sc-cli.workspace = true -sc-cli.default-features = true -sp-core.workspace = true -sp-core.default-features = true -sc-executor.workspace = true -sc-executor.default-features = true -sc-network.workspace = true -sc-network.default-features = true -sc-service.workspace = true -sc-service.default-features = true -sc-telemetry.workspace = true -sc-telemetry.default-features = true -sc-transaction-pool.workspace = true -sc-transaction-pool.default-features = true -sc-transaction-pool-api.workspace = true -sc-transaction-pool-api.default-features = true -sc-offchain.workspace = true -sc-offchain.default-features = true -sc-consensus-babe.workspace = true -sc-consensus-babe.default-features = true -sp-consensus-babe.workspace = true -sp-consensus-babe.default-features = true -sp-consensus-beefy.workspace = true -sp-consensus-beefy.default-features = true -sc-consensus.workspace = true -sc-consensus.default-features = true -sc-consensus-grandpa.workspace = true -sc-consensus-grandpa.default-features = true -sp-consensus-grandpa.workspace = true -sp-consensus-grandpa.default-features = true -sc-client-api.workspace = true -sc-client-api.default-features = true -sc-basic-authorship.workspace = true -sc-basic-authorship.default-features = true -sp-runtime.workspace = true -sp-runtime.default-features = true -sp-io.workspace = true -sp-io.default-features = true -sp-timestamp.workspace = true -sp-timestamp.default-features = true -sp-inherents.workspace = true -sp-inherents.default-features = true -sp-keyring.workspace = true -sp-keyring.default-features = true -sp-api.workspace = true -sp-api.default-features = true -sp-blockchain.workspace = true -sp-blockchain.default-features = true -sp-block-builder.workspace = true -sp-block-builder.default-features = true -frame-system.workspace = true -frame-system.default-features = true -frame-metadata-hash-extension.workspace = true -frame-metadata-hash-extension.default-features = true -pallet-im-online.workspace = true -pallet-transaction-payment.workspace = true -pallet-transaction-payment.default-features = true -pallet-transaction-payment-rpc.workspace = true -pallet-transaction-payment-rpc.default-features = true -substrate-frame-rpc-system.workspace = true -substrate-frame-rpc-system.default-features = true -frame-benchmarking-cli.workspace = true -frame-benchmarking-cli.default-features = true datahaven-runtime.workspace = true +fp-account = { workspace = true } +frame-benchmarking-cli.default-features = true +frame-benchmarking-cli.workspace = true +frame-metadata-hash-extension.default-features = true +frame-metadata-hash-extension.workspace = true +frame-system.default-features = true +frame-system.workspace = true +futures = { features = ["thread-pool"], workspace = true } +hex-literal.workspace = true +jsonrpsee = { features = ["server"], workspace = true } +pallet-im-online.workspace = true +pallet-transaction-payment-rpc.default-features = true +pallet-transaction-payment-rpc.workspace = true +pallet-transaction-payment.default-features = true +pallet-transaction-payment.workspace = true +sc-basic-authorship.default-features = true +sc-basic-authorship.workspace = true +sc-cli.default-features = true +sc-cli.workspace = true +sc-client-api.default-features = true +sc-client-api.workspace = true +sc-consensus-babe.default-features = true +sc-consensus-babe.workspace = true +sc-consensus-grandpa.default-features = true +sc-consensus-grandpa.workspace = true +sc-consensus.default-features = true +sc-consensus.workspace = true +sc-executor.default-features = true +sc-executor.workspace = true +sc-network.default-features = true +sc-network.workspace = true +sc-offchain.default-features = true +sc-offchain.workspace = true +sc-service.default-features = true +sc-service.workspace = true +sc-telemetry.default-features = true +sc-telemetry.workspace = true +sc-transaction-pool-api.default-features = true +sc-transaction-pool-api.workspace = true +sc-transaction-pool.default-features = true +sc-transaction-pool.workspace = true +serde_json = { workspace = true, default-features = true } +sp-api.default-features = true +sp-api.workspace = true +sp-block-builder.default-features = true +sp-block-builder.workspace = true +sp-blockchain.default-features = true +sp-blockchain.workspace = true +sp-consensus-babe.default-features = true +sp-consensus-babe.workspace = true +sp-consensus-beefy.default-features = true +sp-consensus-beefy.workspace = true +sp-consensus-grandpa.default-features = true +sp-consensus-grandpa.workspace = true +sp-core.default-features = true +sp-core.workspace = true +sp-inherents.default-features = true +sp-inherents.workspace = true +sp-io.default-features = true +sp-io.workspace = true +sp-keyring.default-features = true +sp-keyring.workspace = true +sp-runtime.default-features = true +sp-runtime.workspace = true +sp-timestamp.default-features = true +sp-timestamp.workspace = true +substrate-frame-rpc-system.default-features = true +substrate-frame-rpc-system.workspace = true # RPC sc-rpc = { workspace = true, default-features = true } # Beefy -sc-consensus-beefy.workspace = true -sc-consensus-beefy.default-features = true sc-consensus-beefy-rpc = { workspace = true, default-features = true } +sc-consensus-beefy.default-features = true +sc-consensus-beefy.workspace = true # MMR mmr-rpc = { workspace = true, default-features = true } [build-dependencies] -substrate-build-script-utils.workspace = true substrate-build-script-utils.default-features = true +substrate-build-script-utils.workspace = true [features] default = ["std"] diff --git a/operator/pallets/validator-set/Cargo.toml b/operator/pallets/validator-set/Cargo.toml index b58b187a..e7bf5618 100644 --- a/operator/pallets/validator-set/Cargo.toml +++ b/operator/pallets/validator-set/Cargo.toml @@ -6,24 +6,17 @@ edition = '2021' license = 'Apache-2.0' [dependencies] -codec = { features = [ - "derive", -], workspace = true } -scale-info = { features = [ - "derive", - "serde", -], workspace = true } - +codec = { features = [ "derive" ], workspace = true } +frame-benchmarking.optional = true +frame-benchmarking.workspace = true +frame-support.workspace = true +frame-system.workspace = true +log.workspace = true +scale-info = { features = [ "derive", "serde" ], workspace = true } sp-core.workspace = true sp-io.workspace = true sp-runtime.workspace = true sp-staking.workspace = true -log.workspace = true - -frame-support.workspace = true -frame-benchmarking.workspace = true -frame-benchmarking.optional = true -frame-system.workspace = true pallet-session = { workspace = true, features = ['historical'] } diff --git a/operator/runtime/Cargo.toml b/operator/runtime/Cargo.toml index 1b31db07..2c8243e5 100644 --- a/operator/runtime/Cargo.toml +++ b/operator/runtime/Cargo.toml @@ -14,21 +14,30 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { features = ["derive"], workspace = true } -hex = { workspace = true } -scale-info = { features = ["derive", "serde"], workspace = true } datahaven-runtime-common.workspace = true -frame-support = { features = ["experimental"], workspace = true } -frame-system.workspace = true -frame-try-runtime = { optional = true, workspace = true } +fp-account = { workspace = true, features = [ "serde" ]} +frame-benchmarking = { optional = true, workspace = true } frame-executive.workspace = true frame-metadata-hash-extension.workspace = true +frame-support = { features = ["experimental"], workspace = true } +frame-system-benchmarking = { optional = true, workspace = true } +frame-system-rpc-runtime-api.workspace = true +frame-system.workspace = true +frame-try-runtime = { optional = true, workspace = true } +hex = { workspace = true } hex-literal.workspace = true pallet-authorship.workspace = true pallet-babe.workspace = true pallet-balances.workspace = true +pallet-beefy-mmr.workspace = true +pallet-beefy.workspace = true +pallet-ethereum.workspace = true +pallet-evm-chain-id.workspace = true +pallet-evm.workspace = true pallet-grandpa.workspace = true pallet-identity.workspace = true pallet-im-online.workspace = true +pallet-mmr.workspace = true pallet-multisig.workspace = true pallet-offences.workspace = true pallet-preimage.workspace = true @@ -36,38 +45,29 @@ pallet-scheduler.workspace = true pallet-session.workspace = true pallet-sudo.workspace = true pallet-timestamp.workspace = true +pallet-transaction-payment-rpc-runtime-api.workspace = true pallet-transaction-payment.workspace = true pallet-utility.workspace = true pallet-validator-set.workspace = true -pallet-beefy.workspace = true -pallet-beefy-mmr.workspace = true -pallet-mmr.workspace = true +polkadot-primitives.workspace = true +polkadot-runtime-common.workspace = true +scale-info = { features = ["derive", "serde"], workspace = true } sp-api.workspace = true sp-block-builder.workspace = true sp-consensus-babe = { features = ["serde"], workspace = true } sp-consensus-beefy = { features = ["serde"], workspace = true } sp-consensus-grandpa = { features = ["serde"], workspace = true } sp-core = { features = ["serde"], workspace = true } +sp-genesis-builder.workspace = true sp-inherents.workspace = true sp-offchain.workspace = true sp-runtime = { features = ["serde"], workspace = true } sp-session.workspace = true -sp-std.workspace = true sp-staking.workspace = true +sp-std.workspace = true sp-storage.workspace = true sp-transaction-pool.workspace = true sp-version = { features = ["serde"], workspace = true } -sp-genesis-builder.workspace = true -frame-system-rpc-runtime-api.workspace = true -pallet-transaction-payment-rpc-runtime-api.workspace = true -polkadot-runtime-common.workspace = true -frame-benchmarking = { optional = true, workspace = true } -frame-system-benchmarking = { optional = true, workspace = true } -polkadot-primitives.workspace = true -fp-account = { workspace = true, features = [ "serde" ]} -pallet-evm.workspace = true -pallet-evm-chain-id.workspace = true -pallet-ethereum.workspace = true # Snowbridge snowbridge-beacon-primitives.workspace = true