From bb752b6c13df0cadd7f772750820701ce995d83f Mon Sep 17 00:00:00 2001 From: canonbrother Date: Fri, 21 Oct 2022 14:06:10 +0800 Subject: [PATCH 1/2] add meta-ethereum-chain-id/std --- meta/meta-runtime/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/meta-runtime/Cargo.toml b/meta/meta-runtime/Cargo.toml index b8bc3d1d..7caed76e 100644 --- a/meta/meta-runtime/Cargo.toml +++ b/meta/meta-runtime/Cargo.toml @@ -84,4 +84,6 @@ std = [ "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment/std", + # Local + "meta-ethereum-chain-id/std", ] From 74b1d191597cd95326019fbe3f22ab646ef76e42 Mon Sep 17 00:00:00 2001 From: canonbrother Date: Fri, 21 Oct 2022 13:46:51 +0800 Subject: [PATCH 2/2] rm default-feat on node cargo --- meta/meta-node/Cargo.toml | 80 +++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/meta/meta-node/Cargo.toml b/meta/meta-node/Cargo.toml index 931eb827..404b4d54 100644 --- a/meta/meta-node/Cargo.toml +++ b/meta/meta-node/Cargo.toml @@ -11,50 +11,50 @@ futures = "0.3.21" log = "0.4.17" serde_json = "1.0" # Parity -codec = { default-features = false, version = "3.1.5", features = ["derive"], package = "parity-scale-codec" } -jsonrpsee = { default-features = false, version = "0.14.0", features = ["server"] } +codec = { version = "3.1.5", features = ["derive"], package = "parity-scale-codec" } +jsonrpsee = { version = "0.14.0", features = ["server"] } # Substrate -sc-basic-authorship = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-cli = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-client-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-consensus = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-consensus-manual-seal = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-executor = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-keystore = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-network = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-rpc = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-rpc-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-service = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-transaction-pool-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sc-telemetry = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-consensus = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -sp-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-cli = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-client-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-consensus = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-executor = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-network = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-rpc = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-service = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sc-telemetry = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-block-builder = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-blockchain = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-consensus = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-inherents = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +sp-timestamp = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } # These dependencies are used for RPC -pallet-transaction-payment-rpc = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } -substrate-frame-rpc-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } # Frontier -fc-cli = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fc-consensus = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fc-db = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fc-mapping-sync = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fc-rpc = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fc-rpc-core = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fp-consensus = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fp-dynamic-fee = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fp-evm = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fp-rpc = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -fp-storage = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } -# local packages -meta-runtime = { package = "meta-runtime", path = "../meta-runtime" } +fc-cli = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fc-consensus = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fc-db = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fc-mapping-sync = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fc-rpc = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fc-rpc-core = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fp-consensus = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fp-dynamic-fee = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fp-evm = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fp-rpc = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +fp-storage = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" } +# Local +meta-runtime = { package = "meta-runtime", path = "../meta-runtime" } [build-dependencies] substrate-build-script-utils = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }