1818// RuntimeApi generated functions
1919#![ allow( clippy:: too_many_arguments) ]
2020
21- use scale_info:: TypeInfo ;
22-
2321pub use bp_polkadot_core:: * ;
2422use bp_runtime:: decl_bridge_finality_runtime_apis;
2523
2624/// Westend Chain
2725pub type Westend = PolkadotLike ;
2826
29- /// Westend Runtime `Call` enum.
30- ///
31- /// We are not currently submitting any Westend transactions => it is empty.
32- #[ derive( codec:: Encode , codec:: Decode , Debug , PartialEq , Eq , Clone , TypeInfo ) ]
33- pub enum Call { }
34-
35- impl sp_runtime:: traits:: Dispatchable for Call {
36- type RuntimeOrigin = ( ) ;
37- type Config = ( ) ;
38- type Info = ( ) ;
39- type PostInfo = ( ) ;
40-
41- fn dispatch (
42- self ,
43- _origin : Self :: RuntimeOrigin ,
44- ) -> sp_runtime:: DispatchResultWithInfo < Self :: PostInfo > {
45- unimplemented ! ( "The Call is not expected to be dispatched." )
46- }
47- }
48-
4927/// Name of the parachains pallet at the Westend runtime.
5028pub const PARAS_PALLET_NAME : & str = "Paras" ;
5129
@@ -54,13 +32,6 @@ pub const WITH_WESTEND_GRANDPA_PALLET_NAME: &str = "BridgeWestendGrandpa";
5432/// Name of the With-Westend parachains bridge pallet instance that is deployed at bridged chains.
5533pub const WITH_WESTEND_BRIDGE_PARAS_PALLET_NAME : & str = "BridgeWestendParachains" ;
5634
57- /// The target length of a session (how often authorities change) on Westend measured in of number
58- /// of blocks.
59- ///
60- /// Note that since this is a target sessions may change before/after this time depending on network
61- /// conditions.
62- pub const SESSION_LENGTH : BlockNumber = 10 * time_units:: MINUTES ;
63-
6435/// Maximal number of GRANDPA authorities at Westend.
6536///
6637/// Corresponds to the `MaxAuthorities` constant value from the Westend runtime configuration.
0 commit comments