File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 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):
9898
9999 def get_web3_config (self ):
100100 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
102103 return web3_config
103104
104105 def __enter__ (self , * args , ** kwargs ):
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ def __enter__(self):
1212
1313 self ._running = True
1414
15- self .provider = self .web3 .currentProvider
16- self .rpc_methods = self .provider .rpc_methods
15+ self .rpc_methods = self .web3 .currentProvider .rpc_methods
1716
1817 self .rpc_methods .full_reset ()
1918 self .rpc_methods .rpc_configure ('eth_mining' , False )
You can’t perform that action at this time.
0 commit comments