mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
Rename basic-authority to basic-authorship (#4640)
* Rename basic-authority to basic-authorship * Revert weird tab. * Fix rename.
This commit is contained in:
committed by
Gavin Wood
parent
60feeb7ad6
commit
437772be9e
@@ -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"
|
||||
|
||||
@@ -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(),
|
||||
};
|
||||
|
||||
@@ -57,7 +57,7 @@ grandpa = { version = "0.8", package = "sc-finality-grandpa", path = "../../../c
|
||||
sc-client-db = { version = "0.8", default-features = false, path = "../../../client/db" }
|
||||
sc-offchain = { version = "2.0.0", path = "../../../client/offchain" }
|
||||
sc-rpc = { version = "2.0.0", path = "../../../client/rpc" }
|
||||
sc-basic-authority = { version = "0.8", path = "../../../client/basic-authorship" }
|
||||
sc-basic-authorship = { version = "0.8", path = "../../../client/basic-authorship" }
|
||||
sc-service = { version = "0.8", default-features = false, path = "../../../client/service" }
|
||||
sc-telemetry = { version = "2.0.0", path = "../../../client/telemetry" }
|
||||
sc-authority-discovery = { version = "0.8", path = "../../../client/authority-discovery" }
|
||||
|
||||
@@ -151,7 +151,7 @@ macro_rules! new_full {
|
||||
($with_startup_data)(&block_import, &babe_link);
|
||||
|
||||
if participates_in_consensus {
|
||||
let proposer = sc_basic_authority::ProposerFactory {
|
||||
let proposer = sc_basic_authorship::ProposerFactory {
|
||||
client: service.client(),
|
||||
transaction_pool: service.transaction_pool(),
|
||||
};
|
||||
@@ -509,7 +509,7 @@ mod tests {
|
||||
|
||||
let parent_id = BlockId::number(service.client().chain_info().best_number);
|
||||
let parent_header = service.client().header(&parent_id).unwrap().unwrap();
|
||||
let mut proposer_factory = sc_basic_authority::ProposerFactory {
|
||||
let mut proposer_factory = sc_basic_authorship::ProposerFactory {
|
||||
client: service.client(),
|
||||
transaction_pool: service.transaction_pool(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user