File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ static NODE_COUNT: AtomicU32 = AtomicU32::new(0);
2626#[ derive( Debug ) ]
2727pub struct KitchensinkNode {
2828 id : u32 ,
29- base_directory : PathBuf ,
3029 substrate_binary : PathBuf ,
3130 eth_proxy_binary : PathBuf ,
3231 rpc_url : String ,
@@ -36,7 +35,6 @@ pub struct KitchensinkNode {
3635}
3736
3837impl KitchensinkNode {
39- const BASE_DIRECTORY : & str = "kitchensink" ;
4038 const SUBSTRATE_READY_MARKER : & str = "Running JSON-RPC server" ;
4139 const ETH_PROXY_READY_MARKER : & str = "Running JSON-RPC server" ;
4240 const BASE_SUBSTRATE_RPC_PORT : u16 = 9944 ;
@@ -178,14 +176,9 @@ impl EthereumNode for KitchensinkNode {
178176impl Node for KitchensinkNode {
179177 fn new ( config : & Arguments ) -> Self {
180178 let id = NODE_COUNT . fetch_add ( 1 , Ordering :: SeqCst ) ;
181- let base_directory = config
182- . directory ( )
183- . join ( Self :: BASE_DIRECTORY )
184- . join ( id. to_string ( ) ) ;
185179
186180 Self {
187181 id,
188- base_directory,
189182 substrate_binary : config. kitchensink . clone ( ) ,
190183 eth_proxy_binary : config. eth_proxy . clone ( ) ,
191184 rpc_url : String :: new ( ) ,
You can’t perform that action at this time.
0 commit comments