Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add emojis to the console output #944

Merged
merged 1 commit into from
Mar 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cli/src/browser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ async fn start_inner(chain_spec: String, log_level: String) -> Result<Client, Bo
info!("Polkadot browser node");
info!(" version {}", config.full_version());
info!(" by Parity Technologies, 2017-2020");
info!("Chain specification: {}", config.expect_chain_spec().name());
info!("Node name: {}", config.name);
info!("Roles: {:?}", config.roles);
info!("📋 Chain specification: {}", config.expect_chain_spec().name());
info!("🏷 Node name: {}", config.name);
info!("👤 Roles: {}", config.roles);

// Create the service. This is the most heavy initialization step.
let service = service::kusama_new_light(config)
Expand Down
10 changes: 5 additions & 5 deletions cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ pub fn run(version: VersionInfo) -> sc_cli::Result<()> {
info!("{}", version.name);
info!(" version {}", config.full_version());
info!(" by {}, 2017-2020", version.author);
info!("Chain specification: {}", config.expect_chain_spec().name());
info!("Node name: {}", config.name);
info!("Roles: {}", config.display_role());
info!("📋 Chain specification: {}", config.expect_chain_spec().name());
info!("🏷 Node name: {}", config.name);
info!("👤 Roles: {}", config.display_role());

if is_kusama {
info!("Native runtime: {}", service::KusamaExecutor::native_version().runtime_version);
info!("Native runtime: {}", service::KusamaExecutor::native_version().runtime_version);
info!("----------------------------");
info!("This chain is not in any way");
info!(" endorsed by the ");
Expand All @@ -71,7 +71,7 @@ pub fn run(version: VersionInfo) -> sc_cli::Result<()> {
service::kusama_runtime::UncheckedExtrinsic,
>(config, opt.authority_discovery_enabled, grandpa_pause)
} else {
info!("Native runtime: {}", service::PolkadotExecutor::native_version().runtime_version);
info!("Native runtime: {}", service::PolkadotExecutor::native_version().runtime_version);

run_service_until_exit::<
service::polkadot_runtime::RuntimeApi,
Expand Down
2 changes: 1 addition & 1 deletion validation/src/block_production.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ impl<Client, TxPool, Backend> CreateProposalData<Client, TxPool, Backend> where

let (new_block, storage_changes, proof) = block_builder.build()?.into_inner();

info!("Prepared block for proposing at {} [hash: {:?}; parent_hash: {}; extrinsics: [{}]]",
info!("🎁 Prepared block for proposing at {} [hash: {:?}; parent_hash: {}; extrinsics: [{}]]",
new_block.header.number,
Hash::from(new_block.header.hash()),
new_block.header.parent_hash,
Expand Down