@@ -4,7 +4,7 @@ use std::sync::Arc;
44use std:: time:: Duration ;
55use substrate_client:: LongestChain ;
66use futures:: prelude:: * ;
7- use node_template_runtime :: { self , GenesisConfig , opaque:: Block , RuntimeApi } ;
7+ use runtime :: { self , GenesisConfig , opaque:: Block , RuntimeApi } ;
88use substrate_service:: { error:: { Error as ServiceError } , AbstractService , Configuration , ServiceBuilder } ;
99use transaction_pool:: { self , txpool:: { Pool as TransactionPool } } ;
1010use inherents:: InherentDataProviders ;
@@ -17,8 +17,8 @@ use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
1717// Our native executor instance.
1818native_executor_instance ! (
1919 pub Executor ,
20- node_template_runtime :: api:: dispatch,
21- node_template_runtime :: native_version,
20+ runtime :: api:: dispatch,
21+ runtime :: native_version,
2222) ;
2323
2424construct_simple_protocol ! {
@@ -36,7 +36,7 @@ macro_rules! new_full_start {
3636 let inherent_data_providers = inherents:: InherentDataProviders :: new( ) ;
3737
3838 let builder = substrate_service:: ServiceBuilder :: new_full:: <
39- node_template_runtime :: opaque:: Block , node_template_runtime :: RuntimeApi , crate :: service:: Executor
39+ runtime :: opaque:: Block , runtime :: RuntimeApi , crate :: service:: Executor
4040 >( $config) ?
4141 . with_select_chain( |_config, backend| {
4242 Ok ( substrate_client:: LongestChain :: new( backend. clone( ) ) )
@@ -49,7 +49,7 @@ macro_rules! new_full_start {
4949 . ok_or_else( || substrate_service:: Error :: SelectChainRequired ) ?;
5050
5151 let ( grandpa_block_import, grandpa_link) =
52- grandpa:: block_import:: <_, _, _, node_template_runtime :: RuntimeApi , _, _>(
52+ grandpa:: block_import:: <_, _, _, runtime :: RuntimeApi , _, _>(
5353 client. clone( ) , & * client, select_chain
5454 ) ?;
5555
0 commit comments