File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,8 @@ def get_geth_process_instance(self):
98
98
99
99
def get_web3_config (self ):
100
100
web3_config = copy .deepcopy (super (BaseGethChain , self ).get_web3_config ())
101
- web3_config ['provider.settings.ipc_path' ] = self .geth .ipc_path
101
+ if not web3_config .get ('provider.settings' ):
102
+ web3_config ['provider.settings.ipc_path' ] = self .geth .ipc_path
102
103
return web3_config
103
104
104
105
def __enter__ (self , * args , ** kwargs ):
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ def __enter__(self):
12
12
13
13
self ._running = True
14
14
15
- self .provider = self .web3 .currentProvider
16
- self .rpc_methods = self .provider .rpc_methods
15
+ self .rpc_methods = self .web3 .currentProvider .rpc_methods
17
16
18
17
self .rpc_methods .full_reset ()
19
18
self .rpc_methods .rpc_configure ('eth_mining' , False )
You can’t perform that action at this time.
0 commit comments