mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Update to latest Substrate master (#863)
* Begin to update to latest Substrate master * Fix compilation * Remove `Balances` from `OnKilledAccount` * Update cli/src/command.rs Co-Authored-By: Cecile Tonglet <cecile@parity.io> * Change gossip name * Change again Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
This commit is contained in:
@@ -81,6 +81,7 @@ mod attestation;
|
||||
|
||||
/// The engine ID of the polkadot attestation system.
|
||||
pub const POLKADOT_ENGINE_ID: sp_runtime::ConsensusEngineId = *b"dot1";
|
||||
pub const POLKADOT_PROTOCOL_NAME: &[u8] = b"/polkadot/legacy/1";
|
||||
|
||||
// arbitrary; in practice this should not be more than 2.
|
||||
pub(crate) const MAX_CHAIN_HEADS: usize = 5;
|
||||
@@ -284,6 +285,7 @@ pub fn register_validator<C: ChainContext + 'static, S: NetworkSpecialization<Bl
|
||||
let gossip_engine = sc_network_gossip::GossipEngine::new(
|
||||
service.clone(),
|
||||
POLKADOT_ENGINE_ID,
|
||||
POLKADOT_PROTOCOL_NAME,
|
||||
gossip_side,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user