diff --git a/Cargo.lock b/Cargo.lock index 0aee9724..53211b2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10580,7 +10580,7 @@ dependencies = [ [[package]] name = "space-acres" -version = "0.0.8" +version = "0.0.9" dependencies = [ "anyhow", "arc-swap", @@ -10607,6 +10607,7 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-consensus-slots", + "sc-informant", "sc-network", "sc-service", "sc-storage-monitor", diff --git a/Cargo.toml b/Cargo.toml index 5844574b..207da512 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "space-acres" description = "Space Acres is an opinionated unofficial GUI application for farming on Subspace Network" license = "0BSD" -version = "0.0.8" +version = "0.0.9" authors = ["Nazar Mokrynskyi "] repository = "https://github.com/nazar-pc/space-acres" edition = "2021" @@ -55,6 +55,7 @@ relm4-components = { version = "0.7.0-beta.2", git = "https://github.com/Relm4/R sc-client-api = { git = "https://github.com/subspace/polkadot-sdk", rev = "c63a8b28a9fd26d42116b0dcef1f2a5cefb9cd1c", default-features = false } sc-client-db = { git = "https://github.com/subspace/polkadot-sdk", rev = "c63a8b28a9fd26d42116b0dcef1f2a5cefb9cd1c", default-features = false } sc-consensus-slots = { git = "https://github.com/subspace/polkadot-sdk", rev = "c63a8b28a9fd26d42116b0dcef1f2a5cefb9cd1c", default-features = false } +sc-informant = { git = "https://github.com/subspace/polkadot-sdk", rev = "c63a8b28a9fd26d42116b0dcef1f2a5cefb9cd1c", default-features = false } sc-network = { git = "https://github.com/subspace/polkadot-sdk", rev = "c63a8b28a9fd26d42116b0dcef1f2a5cefb9cd1c", default-features = false } sc-service = { git = "https://github.com/subspace/polkadot-sdk", rev = "c63a8b28a9fd26d42116b0dcef1f2a5cefb9cd1c", default-features = false } sc-storage-monitor = { git = "https://github.com/subspace/polkadot-sdk", rev = "c63a8b28a9fd26d42116b0dcef1f2a5cefb9cd1c", default-features = false } diff --git a/src/backend/node.rs b/src/backend/node.rs index 4ac0b7f9..b75b3fb1 100644 --- a/src/backend/node.rs +++ b/src/backend/node.rs @@ -8,6 +8,7 @@ use sc_client_api::client::BlockchainEvents; use sc_client_api::HeaderBackend; use sc_client_db::{DatabaseSource, PruningMode}; use sc_consensus_slots::SlotProportion; +use sc_informant::OutputFormat; use sc_network::config::{Ed25519Secret, NetworkConfiguration, NodeKeyConfig, SyncMode}; use sc_service::config::{KeystoreConfig, OffchainWorkerConfig}; use sc_service::{BasePath, BlocksPruning, Configuration, Role, RpcMethods}; @@ -332,7 +333,9 @@ fn create_consensus_chain_config( announce_block: true, data_path: Default::default(), base_path: BasePath::new(base_path), - informant_output_format: Default::default(), + informant_output_format: OutputFormat { + enable_color: false, + }, // Substrate's default runtime_cache_size: 2, }