You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Still need to replace the following dependencies with polkadot-sdk umbrella dependencies:
parachain-template-node - sc-tracing
Getting an error for the #[polkadot_sdk::sc_tracing::logging::prefix_logs_with("Parachain")]:
error: Could not find `sc-tracing` in `dependencies` or `dev-dependencies` in `/media/serban/data/workplace/sources/polkadot-sdk/templates/parachain/node/Cargo.toml`!
--> templates/parachain/node/src/service.rs:235:1
|
235 | #[polkadot_sdk::sc_tracing::logging::prefix_logs_with("Parachain")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `polkadot_sdk::sc_tracing::logging::prefix_logs_with` (in Nightly builds, run with -Z macro-backtrace for more info)
Use the umbrella crate for the parachain template
This covers almost all the dependencies. There are just a few exceptions
for which I created a separate issue:
#5993
Also related to: #4782
So I tried simply removing sc-tracing from polkadot-sdk/templates/parachain/node/Cargo.toml and ran cargo build --all-features
and it works, looks like we do not need that anymore atleast
Follow up for: #5991
Also related to #4782
Still need to replace the following dependencies with
polkadot-sdk
umbrella dependencies:parachain-template-node
-sc-tracing
Getting an error for the
#[polkadot_sdk::sc_tracing::logging::prefix_logs_with("Parachain")]
:parachain-template-runtime
-cumulus-pallet-parachain-system
Similar error with the one above when using a macro from
cumulus-pallet-parachain-system
parachain-template-runtime
-substrate-wasm-builder
-> themetadata-hash
feature can't be enabled through the umbrella crateparachain-template-node
-prometheus-endpoint
-> not part of the umbrella crateThe text was updated successfully, but these errors were encountered: