File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -274,14 +274,13 @@ def loglevel(self):
274274 def arwen_binary (self ):
275275 return self .features .get ("arwen_binary" )
276276
277-
278277 @classmethod
279278 def default (cls ):
280279 config = dict ()
281280 config ['features' ] = {
282281 'loglevel' : '*:DEBUG' ,
283282 'proxy' : True ,
284- 'arwen_binary' : True
283+ 'arwen_binary' : False
285284 }
286285 config ['folders' ] = {
287286 'elrond_go' :
Original file line number Diff line number Diff line change @@ -224,10 +224,6 @@ def patch_source_code(testnet_config: TestnetConfiguration):
224224
225225 folder = testnet_config .node_source ()
226226
227- file = path .join (folder , "core/constants.go" )
228- content = utils .read_file (file )
229- utils .write_file (file , content )
230-
231227 file = path .join (folder , "cmd/node/main.go" )
232228 content = utils .read_file (file )
233229 content = content .replace ("secondsToWaitForP2PBootstrap = 20" , "secondsToWaitForP2PBootstrap = 1" )
@@ -270,7 +266,11 @@ def build_binaries(testnet_config: TestnetConfiguration):
270266
271267 for destination in testnet_config .all_nodes_folders ():
272268 shutil .copy (node_folder / "node" , destination )
273- shutil .copy (node_folder / "arwen" , destination )
269+ if arwen_binary :
270+ try :
271+ shutil .copy (node_folder / "arwen" , destination )
272+ except :
273+ logger .warn ("Could not copy the arwen binary!" )
274274
275275 if workstation .get_platform () == "osx" :
276276 shutil .copy (libwasmer_path , destination )
You can’t perform that action at this time.
0 commit comments