Rename basic-authority to basic-authorship (#4640)

* Rename basic-authority to basic-authorship

* Revert weird tab.

* Fix rename.
This commit is contained in:
Tomasz Drwięga
2020-01-16 13:57:41 +01:00
committed by Gavin Wood
parent 60feeb7ad6
commit 437772be9e
8 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ grandpa-primitives = { version = "2.0.0", package = "sp-finality-grandpa", path
sc-client = { version = "0.8", path = "../../client/" }
node-template-runtime = { version = "2.0.0", path = "runtime" }
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
sc-basic-authority = { path = "../../client/basic-authorship" }
sc-basic-authorship = { path = "../../client/basic-authorship" }
[build-dependencies]
vergen = "3.0.4"
+1 -2
View File
@@ -11,7 +11,6 @@ use sc_executor::native_executor_instance;
pub use sc_executor::NativeExecutor;
use sp_consensus_aura::sr25519::{AuthorityPair as AuraPair};
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
use sc_basic_authority;
use futures::{FutureExt, compat::Future01CompatExt};
// Our native executor instance.
@@ -107,7 +106,7 @@ pub fn new_full<C: Send + Default + 'static>(config: Configuration<C, GenesisCon
.build()?;
if participates_in_consensus {
let proposer = sc_basic_authority::ProposerFactory {
let proposer = sc_basic_authorship::ProposerFactory {
client: service.client(),
transaction_pool: service.transaction_pool(),
};