mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
runtime: remove finality-tracker (#1762)
* runtime: remove finality-tracker * runtime: bump spec_version * update substrate
This commit is contained in:
@@ -85,8 +85,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: create_runtime_str!("westend"),
|
||||
impl_name: create_runtime_str!("parity-westend"),
|
||||
authoring_version: 2,
|
||||
spec_version: 45,
|
||||
impl_version: 1,
|
||||
spec_version: 46,
|
||||
impl_version: 0,
|
||||
#[cfg(not(feature = "disable-runtime-api"))]
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
#[cfg(feature = "disable-runtime-api")]
|
||||
@@ -403,17 +403,6 @@ impl pallet_grandpa::Trait for Runtime {
|
||||
type WeightInfo = ();
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub WindowSize: BlockNumber = pallet_finality_tracker::DEFAULT_WINDOW_SIZE.into();
|
||||
pub ReportLatency: BlockNumber = pallet_finality_tracker::DEFAULT_REPORT_LATENCY.into();
|
||||
}
|
||||
|
||||
impl pallet_finality_tracker::Trait for Runtime {
|
||||
type OnFinalizationStalled = ();
|
||||
type WindowSize = WindowSize;
|
||||
type ReportLatency = ReportLatency;
|
||||
}
|
||||
|
||||
/// Submits a transaction with the node's public and signature type. Adheres to the signed extension
|
||||
/// format of the chain.
|
||||
impl<LocalCall> frame_system::offchain::CreateSignedTransaction<LocalCall> for Runtime where
|
||||
@@ -590,7 +579,6 @@ impl InstanceFilter<Call> for ProxyType {
|
||||
Call::Staking(..) |
|
||||
Call::Offences(..) |
|
||||
Call::Session(..) |
|
||||
Call::FinalityTracker(..) |
|
||||
Call::Grandpa(..) |
|
||||
Call::ImOnline(..) |
|
||||
Call::AuthorityDiscovery(..) |
|
||||
@@ -675,7 +663,6 @@ construct_runtime! {
|
||||
Offences: pallet_offences::{Module, Call, Storage, Event} = 7,
|
||||
Historical: session_historical::{Module} = 27,
|
||||
Session: pallet_session::{Module, Call, Storage, Event, Config<T>} = 8,
|
||||
FinalityTracker: pallet_finality_tracker::{Module, Call, Storage, Inherent} = 9,
|
||||
Grandpa: pallet_grandpa::{Module, Call, Storage, Config, Event, ValidateUnsigned} = 10,
|
||||
ImOnline: pallet_im_online::{Module, Call, Storage, Event<T>, ValidateUnsigned, Config<T>} = 11,
|
||||
AuthorityDiscovery: pallet_authority_discovery::{Module, Call, Config} = 12,
|
||||
|
||||
Reference in New Issue
Block a user