Skip to content

Commit

Permalink
Merge pull request #57 from nazar-pc/disable-informant-colors
Browse files Browse the repository at this point in the history
Disable informant colors
  • Loading branch information
nazar-pc authored Dec 20, 2023
2 parents 9cb59f9 + 731dba7 commit 8e8dbca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <nazar@mokrynskyi.com>"]
repository = "https://github.com/nazar-pc/space-acres"
edition = "2021"
Expand Down Expand Up @@ -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 }
Expand Down
5 changes: 4 additions & 1 deletion src/backend/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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,
}
Expand Down

0 comments on commit 8e8dbca

Please sign in to comment.